Developers using non-Windows Installer based installation programs need to manually add the binaries of SuperPro redistributables. The \Legacy folder consists of the Sentinel System Driver, Monitoring Tool, and SuperPro server binaries for Windows and Novell platforms.
The readme file included in the \Legacy\Sentinel System Driver directory will help you in installing the Sentinel System Driver. The sections below explains how to install the SuperPro server and Monitoring Tool. Registry entries for controlling specific actions are also discussed.
Your installer should first copy the SuperPro server executable (spnsrv9x.exe) on the target system. You can then allow: to run the SuperPro server automatically at startup, to log the SuperPro Server transactions, display its icon in taskbar, and hide/display the alarm messages. However, ensure that you instruct the user to restart the system for the settings to take effect.
To run the SuperPro server every time the system boots up, the following changes should be made in the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Run subkey:
Entry: SentinelSuperProServer
Data Type : String
Value: The path of spnsrv9x.exe. For example, C:\Program Files\RainbowTechnologies\SuperPro\6.3\Server\Win9x\spnsrv9x.exe
But, if you are starting the SuperPro server as a part of your stand-alone application, then you can skip the settings described earlier.
To enable transaction logging, the following changes should be made in the HKEY_LOCAL_MACHINE\Software\Rainbow Technologies\SentinelSuperPro subkey:
Entry: NSPOPTS
Data Type : String
Value: -l <Directory Path>usage.log -f <Directory Path>error.log
The SuperPro server icon that appears in the System Tray can be can be controlled through the HKEY_LOCAL_MACHINE\Software\Rainbow Technologies\SentinelSuperPro subkey:
Entry: Show9xServerIcon
Data Type : DWORD
Value: 0 or 1
To show the icon, change the value of Show9xServerIcon to 1. To hide the icon, change the value of Show9xServerIcon to 0 (default).
The following changes should be made in the HKEY_LOCAL_MACHINE\Software\Rainbow Technologies\SentinelSuperPro subkey:
Entry: ShowServerMessages
Data Type : DWORD
Value: 0 or 1
To show the messages, change the value of ShowServerMessages to 1. To hide the messages, change the value of ShowServerMessages to 0 (default).
On an NT/2000/XP computer, your installer should copy spnsrvnt.exe and register this service by using the spnsrvnt -i command. The other command-line options are as follows:
-i To install the service
-u To uninstall the service
-l To set the log file name
-f To set the error file name
You can manually integrate them in your own installer program. For example, the spnsrvnt.exe -i -l <path of Log file><Log File name> -f <path of error file><Error file name> command will install the server and also create log and error file at the specified path using the name given.
The SuperPro server must be stopped before it can be uninstalled. You must also remove the registry entries, if any such as the SentinelSuperProServer, while uninstallation.
A utility spnsrvstop.exe, available in the Legacy\SuperPro Servers subdirectory, is provided to stop the SuperPro server running on a Windows system. Your installer should initially copy the executable during the installation and run it prior to uninstalling the SuperPro serverso that the server is properly removed.
Your installer should first copy the Monitoring Tool executable (monitor.exe) and its Help (SSP Monitoring Tool.chm) on the target system.
Note: If you are shipping the Monitoring Tool also ship the following files to provide support for their HTML Help: hhupd.exe and hhactivx.dll. These files usually reside in the %systemroot%.