Response File Dialog Sequence

InstallShield 2014

Project: This information applies to the following project types:

InstallScript
InstallScript MSI

The third block of information in the response file, after the silent header and the application header, is the response file dialog sequence. The dialog sequence section lists all dialogs that you would need to use in a normal installation (including custom dialogs), in the order in which they would appear. The dialogs are listed under the section heading [<PRODUCT_GUID>-DlgOrder].

The dialog numbering sequence begins at 0. There is no limit to the number of dialogs that you can list.

The order and the number of dialogs is significant. When InstallShield Silent runs, if either the number or the order of the dialogs does not match the order or the number of the dialogs in the non-silent installation, the silent installation fails and the log file records the failure. Make one entry for each occurrence of a dialog. A given dialog may be listed more than once if it appears more than once in the installation.

The format for a dialog sequence entry is as follows:

Dlg<#>=<PRODUCT_GUID>-<DialogIdentifier>

 

The Dlg<#> part consists of the letters Dlg and a sequence number. The first dialog in the installation is Dlg0. Each dialog after that increments the value of <#> by one.

<DialogIdentifier> is in the form functionname-<#>, where functionname is the name of the function that created the dialog, and <#> represents the sequential order of that particular dialog in the installation.

For custom dialogs, you can use any unique alphanumeric name for the functionname portion of <DialogIdentifier>. For example, you could refer to a custom dialog as MyDialog. If the tenth dialog in the installation were the second occurrence of the custom dialog MyDialog, there would be an entry in the dialog sequence section such as the following:

Dlg9=<PRODUCT_GUID>-MyDialog-1

 

The <DialogIdentifier> expression is used to identify the dialog data section for the dialog.

Always end the dialog sequence section with a statement that has the following form:

Count=<number of dialogs>

 

The statement specifies the exact number of dialogs listed in the dialog sequence section. Count every entry. Since dialog numbering begins with 0, the value of Count will always be 1 greater than the highest <#> value for a dialog sequence.

The example below lists two dialogs, the Welcome dialog and the AskOptions dialog. Enter your dialog sequence list into Setup.iss as shown in the example below.

[{23EAFFCA-361D-11D3-8B0F-00105A9846E9}-DlgOrder]

Dlg0={23EAFFCA-361D-11D3-8B0F-00105A9846E9}-Welcome-0

Dlg1={23EAFFCA-361D-11D3-8B0F-00105A9846E9}-AskOptions-0

Count=2