There are two methods of generating a response file for InstallShield:
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 the file name you choose for the response file. When specifying the response file name, include the full directory path of its location. For example:
/home/sybase/SDK/OptionsTemplate.txt
The directory /home/sybase/SDK must
already exist.
You can also use the console mode to generate a response file without using the graphical interface. To do so, enter:
./setup -is:javaconsole -console -options-record responseFileName
The following are the results:
An installation of Open Server or SDK on your computer
A response file containing all of your responses from the installation
If this response file is used 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 of the remaining information. The response file is a text file that you can edit to change any responses prior to using it in any subsequent installations.
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 -is:javaconsole -options-template responseFileName
where responseFileName is the file name you choose for the response file. When specifying the response file name, include the full directory path of its location.
If run in console mode, as shown 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 you use this response file for a silent installation, the default values for all responses are used. Edit the template with the values you want to use during installation.