Windows Installer Editor Reference
487
Custom Action Reference
Tips
z
This custom action has restrictions on its placement, indicated by shaded areas in
the Installation Sequence.
z
If you set a feature to run from source and the files are compressed, Windows
Installer sets the feature to run from the local drive.
z
For information on how Windows Installer sets feature states when features share
components, see MsiSetFeatureState in the Windows Installer SDK Help.
See also:
Configuring a Feature Using Its Drop-Down List
on page 95
Configuring a Feature Using the Feature Details Dialog
on page 96
Guidelines for Custom Action Location
on page 454
Set Property
This custom action sets a Windows Installer property. This custom action is useful for
setting a property based on end user input or on system configuration.
Tips
z
For best results, place this action in the User Interface or Execute Immediate
sequence.
z
On the Properties tab, the In-Script Options and Processing drop-down lists are
unavailable for this custom action.
Usage
Double-click the custom action and complete the Details tab:
z
Custom Action Name
Enter a unique name that begins with a letter or underscore. It can contain numbers
and periods. It must not match the name of any Windows Installer standard action.
See Standard Actions Reference in the Windows Installer SDK Help.
z
Property
Select a property from the list, or enter a new property name. Do not enclose this
property name with brackets.
z
Property Value
Enter the value to set the property to. Because this value is of the data type
Formatted, you can use property and directory names by enclosing them in
brackets. For information on formatted text strings, see Formatted in the Windows
Installer SDK Help.
See also:
Guidelines for Custom Action Location
on page 454
Using the Custom Action Properties Tab
on page 490
Using the Custom Action Location Tab
on page 488
Custom Action Type 51 in the Windows Installer SDK Help