Feature Condition Builder Dialog Box

InstallShield 2022

The Feature Condition Builder dialog box simplifies the process of creating feature conditions by providing a selection of valid Windows Installer properties and conditional expression operators.

You can create as many conditions as required for a feature. For information on creating the conditions, see Setting Feature Conditions.

The Feature Condition Builder dialog box contains the following settings.

Feature Condition Builder Dialog Box Settings

Setting

Description

Conditions

This box displays a grid with the following columns:

Level—This column is where you assign the install level that should be used for the feature if the condition evaluates as true.
Condition—This column is where you define the condition. You can type a condition directly in this column, or you can use the Properties list, the Operators list, and the Add buttons to build a condition statement.

To add a new condition to this box, click the New Condition button, and then enter the appropriate information in the Level and Condition columns.

To delete a condition in this box, select the condition, and then click the Delete Conditions button.

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 Condition column.

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.

See Also