2.2 Creating a Silent Mimer SQL Installation with InstallShield
Start by obtaining a distribution of Mimer SQL. Contact Mimer Information Technology AB to obtain a Mimer SQL distribution on CD for the Windows platform (NT/2000/XP or 98/ME) that suits your needs.
Note: The distribution can be either a full distribution, containing both client and server functionality, or just a client distribution.
The Mimer SQL version 9.1 installation uses the InstallShield 6.1 installation program. You can find more information about InstallShield at their web site
2.2.1 The Mimer Installation Files
An installation package is based on the Mimer SQL distribution files.
The program setup.exe performs the Mimer SQL installation.
The installation package should contain copies of the following files from the CD distribution:data1.cab data1.hdr data2.cab ikernel.ex_ layout.bin setup.exe setup.ini setup.inx
Note: You may not copy the defkey9x.mcfg or defkeynt.mcfg files.
2.2.2 Creating a Response File
A Mimer response file contains information about installation options. To create a response file, you must run the Mimer SQL setup.exe using the -r option.
To create the response file:
- Locate setup.exe on the Mimer SQL distribution.
- Run setup.exe with option -r, for example:setup -r -f1"C:\My App\mimresp.iss"
The option -r causes some changes in the setup dialog box. The modified dialog box allows the same response file to be used both to install and to reinstall Mimer SQL. That is, running a silent setup will implicitly remove an older version of Mimer SQL when necessary. For information on the -f1 option, see Switches.
The choices you make while installing are recorded in the response file In the example above, the response file is placed in the directory
2.2.3 Including Mimer SQL in Your Installation Script
In your installation script, you must specify the Mimer SQL setup and response file you want to use.
To add the information:
- Run the following command:setup -c"C:\My App\mimresp.log" -s -f1"C:\My App\mimresp.iss" -f2"C:\My App\mimresp.log"
Note that in the example above:-c"C:\My App\mimresp.log"
is the Mimer SQL specific switch which specifies the location and name of a reboot indicator log file and inserts a RebootNeeded line in the file.-f2"C:\My App\mimresp.log"
specifies the location and name of the log file created by InstallShield Silent.
We recommend that the reboot indicator log file and the log file are the same file.
For more information on switches, see Switches.
220.127.116.11 Example Output
The following text is an example of the output in mimresp.log after the command above:[InstallShield Silent] Version=v6.00.000 File=Log File [ResponseResult] ResultCode=0 RebootNeeded=0 [Application] Name=Mimer SQL Version=9.1 Company=Mimer Lang=0009
ResultCode=0 indicates that the installation was successful. The setup runtime error codes are further described in setup.exe.
RebootNeeded=0 indicates that it was not necessary to reboot after this installation.
If RebootNeeded=1 had been returned, it would indicate that a reboot of Windows had been necessary in order to complete the Mimer installation.
See InstallShield Information for more information on the options for creating the silent install file and invoking the silent setup.
In error situations there may be an entry "ErrorText=..." in the log file that provides additional information about the cause of the failure.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40