Chapter 16
Using Conditions and Properties
Conditions
Where Can You Use Conditions?
Windows Installer Editor Reference
This chapter includes the following topics:
Conditions
on page 437
Properties
on page 445
Conditions are like expressions: they evaluate to a true or false value. You associate
conditions with different elements of an installation such as features, components,
actions, dialog boxes, and dialog box controls to determine whether something happens
or not. Based on whether the condition is true or not, you can determine whether to:
Allow the installation to continue
Install certain features and components
Display certain dialog boxes or dialog box controls
Execute custom actions you add in MSI Script
When you create a new installation, conditions are already created throughout the
installation where appropriate.
You often use properties inside conditions. Properties are named values that are any of
the following:
Predefined in Windows Installer Editor.
Defined by Windows Installer, by you in the installation file, or by the end user
during installation.
Based on the system configuration of the destination computer.
See
Properties
on page 445.
See also:
Where Can You Use Conditions?
Condition Guidelines
on page 439
Examples of Conditions
on page 440
WiseFixConditions
on page 440
Creating Conditions With Condition Builder
Conditions on the Features page
You can add conditions on the Features page. These conditions appear in the Current
Feature drop-down list that appears at the top of pages in the Feature Details page
group. Using the Current Feature drop-down list, you can add system changes to a
on page 437
on page 441
437
Need help?
Do you have a question about the WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION STUDIO V1.0 and is the answer not in the manual?
Questions and answers