|
Software Installation Support |
| Table of Contents Introduction
This section identifies the files that you may redistribute with your application developed for SilverEngine. All of the redistributable files are located in the REDIST sub-directory of your SilverScreen root directory. These files are installed if you choose to install the Redistribution Data component when installing the Developers Edition of SilverScreen. target directory The location where your application will be installed. Normally this is specified by your user when installing your application. support directory This is a location where you may create temporary files during the installation process. Typically this is the users \temp directory. Sentinel directory The location where you place the Sentinel drivers for Windows 95/NT. They need to be placed in an uncompressed format. Windows system directory The location where system DLLs are located. Using Win32, this location can be retrieved with the GetSystemDirectory function. Categories of Redistributable Files
Files that should not be overwritten on the users hard disk are placed in the REDIST\NOTEXIST directory. Typically the files that are placed here are library files that the user may modify, and thus should not be overwritten. You should install all files in the REDIST\NOTEXIST directory (along with any sub-directories that it contains) to the target directory. Files that should always be overwritten on the users hard disk are placed in the REDIST\SILVER directory. Files placed here are program files, standard drawings, menu files, standard fonts, and any other files that should be overwritten upon installation. You should install all files in the REDIST\SILVER directory (along with any sub-directories that it contains) to the target directory. Files that are specific to either the SilverEngine development platform are placed in the REDIST\SilverEngine directory. Files placed here are program files and should overwrite existing copies during an installation. You should install all files in the REDIST\SilverEngine directory (along with any sub-directories that it contains) to the target directory if your application is a SilverEngine application. A SilverEngine application is an .EXE file that links with engine.dll. Drivers that are provided by Sentinel Corporation to communicate with the hardware lock used by SilverEngine are located in the REDIST\SENTINEL directory. If these drivers are not installed, then SilverEngine will operate as demonstration software. Window 95 and Windows NT Installations
Windows 95 Installations
For Windows NT Installations
Shared DLLs are components that are used by SilverEngine to perform such tasks as: OpenGL rendering, image processing, and displaying user-interface objects. Special care must be taken when installing a DLL because other applications may redistribute earlier or later versions of the same files as your application. It is important that you install newer versions of the files over older versions on your users system, but not older versions over newer versions. Version checking is an important responsibility of your setup program. If you do not have a setup program which handles version checking, then you must check them manually when installing files on your users system. To do so, use the version checking APIs available as a standard part of the Win32 API (see GetFileVersionInfo). Windows 95 and Windows NT Installations
Windows 95 Installations
Windows NT Installations
Files in the REDIST\BIN directory are tools that may assist you during the installation process. They should be used during the installation if needed, but should not be installed on your users system.
This program allows you to modify the contents of a SilverEngine environment file. Normally you will want to place the target directory into an environment file so that SilverEngine knows where to find drawings, script files, programs, and libraries. Typically, you would also specify a location that SilverEngine can use to create temporary files. The command-line syntax for setenv is:
Example:
|