Creating a response file

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 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

NoteThe 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:

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 -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.