Defining Exit Conditions for an Advanced UI or Suite/Advanced UI Installation

InstallShield 2015

Project: This information applies to the following project types:

Advanced UI
Suite/Advanced UI

Edition: The Advanced UI project type is available in the Professional edition of InstallShield. The Suite/Advanced UI project type is available in the Premier edition of InstallShield. For information about the differences between these two project types, see Advanced UI Projects vs. Suite/Advanced UI Projects.

InstallShield lets you specify one or more exit error messages that you want the Advanced UI or Suite/Advanced UI installation to display under various conditions before ending the installation. For example, if your Advanced UI or Suite/Advanced UI installation requires Windows Vista or later, you could set up an exit message to inform end users about the requirement. You would also define a condition for that exit message to evaluate whether target systems have earlier versions of Windows. If the condition that you define is true when an end user launches the Advanced UI or Suite/Advanced UI installation, the Advanced UI or Suite/Advanced UI installation displays the error message. When end users dismiss the error message, the Advanced UI or Suite/Advanced UI installation ends.

To define an exit condition and message for your Advanced UI or Suite/Advanced UI installation:

1. In the View List under Installation Information, click General Information.
2. In the Exit Conditions setting, click the New Condition button. InstallShield adds exit message subsettings under the Exit Conditions setting.
3. In the Exit Message setting, enter the error message that you want the Advanced UI or Suite/Advanced UI installation to display at run time if the condition that you are configuring is true.
4. Expand the Exit Message setting, and use its subsetting to define the conditional statement that you want the Advanced UI or Suite/Advanced UI installation to evaluate at run time.
In the first subsetting, use the list to select the option that you want to use for the condition or group of conditions that you are configuring. Available options are:
Any—An Any condition group operates like a logical OR operation. If any of the conditions that are in the Any group evaluate to true, the entire condition group evaluates to true. If none of the conditions that are in the Any group evaluate to true, the entire condition group evaluates to false.
All—An All condition group operates like a logical AND operation. All of the conditions that are in the All group must evaluate to true in order for the condition group to evaluate to true.
None—A None condition group operates like a logical NOR operation. If none of the conditions that are in the None group evaluate to true, the entire condition group evaluates to true. If any of the conditions that are in the None condition group evaluate to true, the entire condition group evaluates to false. Note that if the None condition group consists of only one conditional statement, it operates like a logical NOT operation.
To add a subcondition group, click the New Condition button in this setting and then select Any, All, or None, as needed. InstallShield adds a new row that you can use to define the condition.
To add a condition, click the New Condition button in this setting and then select one of the available condition types. InstallShield adds a new row that you can use to define the condition.

For more details on configuring conditions, see Building Conditional Statements in Advanced UI and Suite/Advanced UI Projects.

For descriptions of each of the condition settings, see Types of Condition Checks in Advanced UI and Suite/Advanced UI Projects.

See Also