This documentation is archived and is not being maintained.

Condition Property

Specifies a condition that must be satisfied (evaluate to true) at installation time on a target computer. The Condition property can be used to add conditional logic to an installer, for example, installing a file only for a specific operating system version. It can also be used in conjunction with a file, registry, or component search to terminate installation if a specified item is not found.

Settings

The Condition property takes a string containing a valid conditional statement that can be evaluated as true or false. This statement can be a Windows Installer condition or property, the value contained in the Property property, the Name property of a file, registry, or component search, or a combination of the preceding statements using logical operators.

See Also

Deployment Conditions | Properties for the Launch Conditions Editor | Property Property | Property Property (Folders) | Using Windows Installer Properties | Windows Installer Conditional Statement Syntax

Show: