There are two methods of generating a response file for InstallShield:
Record mode: In this mode, InstallShield performs an installation of the product and records all of your responses and selections in the specified response file. You must complete the installation to generate a response file. To create a response file, enter:
./setup -options-record <responseFileName>
where responseFileName is a name you choose for the response file.
The following are the results:
An installation of Open Server or SDK on your computer
A response file that contains all of your responses from the installation
If you then use this response file for a silent installation, the resulting installation is identical to the one from which the response file was created—the same installation location, same feature selection, and all the same remaining information. The response file is a text file that you can edit to change any responses before using it in any subsequent installations.
Template mode: In this mode, InstallShield creates a response file containing commented-out values for all required responses and selections. However, you do not need to install the product, and you can cancel the installation after the response file has been created. To create this template file, enter:
./setup -console -options-template <responseFileName>
where responseFileName is the absolute file name you chose for the response file, for example:
/home/sybase/SDK/OptionsTemplate.txt
The directory /home/sybase/SDK must
already exist.
If run in console mode, as in the previous example, InstallShield provides a message indicating that the template creation was successful. If run in GUI mode, no message is provided. However, you can click Cancel immediately, and a response file is created.If this response file is then used for a silent install, the default values for all responses are used. Edit the template with the values you want to use during installation.
Interactive installation using a response file An interactiveinstallation using a response file allows you to accept the default valuesobtained from the response file that you have set up, or to change any of thosevalues for the specific installation. This is useful when you want multiple similar installations but with some minor differences that you want to change at installation time.
At the command line, execute the following:
./setup -options <responseFileName>
Installing in silent mode A silent mode installation, sometimes referred toas an unattended installation, allows you to install the product with all responses being taken from the response file that you have set up. There is no user interaction. This is useful when you want multiple identical installations or you want to automate the installation process.
At the command line, execute the following command for all platforms except AIX 4.3.3:
./setup -silent -options <responseFileName> -W SybaseLicense.agreeToLicense=true
For AIX 4.3.3:
./setup -silent -options <responseFileName> -W SybaseLicense.agree=true
where responseFileName is the name of the file containing the installation options you chose. The -W option specifies that you agree with the Sybase License Agreement text.
Except for the absence of the GUI screens, all actions of InstallShield are the same, and the result of an installation in silent mode is exactly the same as one done in GUI mode with the same responses.