Windows Installer Editor Reference
395
Using Conditions and Properties
To check if and how a feature or component will be installed by this
installation
1. Open the Condition Builder.
See
Creating Conditions With Condition Builder
on page 391.
2. In the Fields list, click the Feature or Component folder.
3. In the Values list, click the name of the feature or component.
4. In the State list, double-click Action.
5. Click the = button.
6. In the Install/Action state list, double-click one of the following to check the
action state of the feature or condition:
Absent
Will not be installed by this installation.
Advertised
Will be installed in an advertised state.
Local
Will be installed locally by this installation.
Source
Will be installed to run from installation source by this installation.
When you finish, a condition appears in the condition list box. Based on the choices
you make, the appropriate Windows Installer codes are inserted. Example:
&Complete = 3
7. Click OK.
Properties
Properties are variables that are used by Windows Installer during installation. You often
use properties inside conditions. You can hard-code the value of a property, but you can
also make properties more flexible by manipulating them at run time based on user
input, system configuration, or other situations.
Properties are set by the following methods and in the following order:
Included in the
installation database
Some properties are included in all installations you create
in Windows Installer Editor. These include required Windows
Installer properties, properties that are used on the
installation dialog boxes, predefined Wise properties, and
the directories listed in the Directory table on the Tables tab
in Setup Editor. You can see these properties by clicking the
Properties icon in Setup Editor > Product tab.
See
Build Properties
on page 512.