Creating A New Property - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Creating a New Property

Windows Installer Editor Reference
In conditions
You can use properties inside conditions. You do not need to enclose the property name
in brackets. Conditions determine whether something happens or not.
As formatted text on dialog boxes
To display the value of a property or write the value of a property to a file, you must
enclose the property name in square brackets. Example: [Property].
Example: In Setup Editor > Dialogs tab, right-click a dialog box name, and select
Details. The Dialog Details dialog box appears with [ProductName] [_WiseDialogSuffix]
in the Dialog Title.
To display a bracket, you must enclose it in square brackets. Example: [[].
To change the way the installation is run
You can set properties that change the way Windows Installer runs.
Example: To force or suppress a restart at the end of installation, you could create a Set
Property custom action that sets the Windows Installer property named REBOOT.
Note
Before you create a new property, search the Windows Installer SDK Help to make sure
the property name is not already used by Windows Installer. See Property Reference in
the Windows Installer SDK Help.
To create a new property
1.
In Setup Editor > Product tab, right-click the Properties icon and select New >
Property.
The Property Details dialog box appears.
2.
Complete the dialog box:
Name
Enter a name for the property. Properties can contain only letters, numbers,
underscores, and periods and must begin with a letter or underscore.
A public property name consists of all uppercase letters. The value of public
properties can be passed from the UI Sequence to the Execute Sequence. In
most cases, barring security issues, you should designate properties as public
properties. (See Public Properties in the Windows Installer SDK Help.) A private
property name includes lowercase letters. (See Private Properties in the
Windows Installer SDK Help.)
Value
Enter an initial value for the property.
According to Windows Installer guidelines, you should always enter an initial
value. However, in some cases you might not want to. Example: If the property
is associated with a check box, and you want the check box to appear
unchecked initially.
Using Conditions and Properties
390

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents