Condition Builder Dialog Box

InstallShield 2019

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript MSI
Merge Module
MSI Database
MSM Database
Transform

The Condition Builder dialog box simplifies the process of creating a condition for a component, a dialog, a custom action, a SQL script, a system search, or other installation element by providing a selection of valid Windows Installer properties and conditional expression operators.

The Condition Builder dialog box contains the following settings.

Condition Builder Dialog Box Settings

Setting

Description

Conditions

This box is where you define the condition for your component, dialog, custom action, or other installation element. You can type a condition directly in this box, or you can use the Properties list, the Operators list, and the Add buttons to build a condition statement.

Important • When you click the OK button on this dialog box, InstallShield performs basic condition validation; however, you should still double-check that your condition statements evaluate to the expected outcome. For more information and example conditions, see Building Conditional Statements.

Properties

This list contains common Windows Installer properties, as well as any properties that have been added in the Property Manager view. Select the property that you want to evaluate, and then click the Add button next to this list.

If the list does not contain the property that you want to evaluate, you can type the appropriate property name in the Conditions box.

Operators

This list contains all of the valid operators that are recognized by the Windows Installer.

If your conditional statement should contain an operator, select the operator that you want to use and then click the Add button. InstallShield adds the operator to the conditional statement. If you add an operator, type the appropriate value after the operator.

See Also