Condition Builder Dialog Box

InstallShield 2020 Express Edition

The Condition Builder dialog box enables you to create operating system and software conditions for features and custom actions in your project. In addition, this dialog box enables you to create feature conditions for custom actions.

To launch the Condition Builder dialog box, do one of the following:

Click the ellipsis button (...) in the Condition setting for either a feature or a custom action.

Note:You cannot create conditions for the Always Install feature.

Dialog Box Settings

Operating System Tab

On the Operating System tab, you can require that the target system run one of the specified operating systems in order to install a feature or run a custom action. If the target system is not running one of the specified operating systems, the feature is not installed or the custom action is not launched.

Software Tab

On the Software tab, you can create software requirement conditions. If the software specified in this tab is not found on the target system, the associated feature is not installed or the custom action is not launched.

Setting Software Requirements

You can set a software requirement condition based on whether the software exists on the target system. To run a custom action or install a feature when the software is found on the target system, set the check box to the green checked state . To set the check box to this state, click it until the green check mark appears in the box.

To run a custom action or install a feature only if the software is not installed on the target system, set the check box in front of the software to the red “X” (). To set the check box to this state, click it until the red “X” appears in the box.

An empty check box () indicates that the condition is not based upon the software in any way. To void a software condition, click the check box until it is empty.

Feature Tab

Note:The Feature tab is displayed only if you are creating conditions for a custom action.

On the Features tab, you can select the feature requirements for the custom action’s condition. The custom action will only run if the selected features are set to be installed.