Creating a response file

There are two methods of generating a response file for InstallShield:

  1. Record mode: In this mode, InstallShield performs an installation of the product and records all 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.exe -options-record responseFileName
    

    where responseFileName is the absolute path of the file name you choose for the response file, for example:

    C:\SDK\OptionsTemplate.txt
    

    NoteThe directory C:\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:

    setupConsole.exe -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 the same 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

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

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