Windows Installer Editor Reference
466
Working With Dialogs
z
Password
Makes an edit control display asterisks instead of the characters that the end user
types. This is typical of controls that require entry of a password.
z
Bitmap
Replaces the control’s text with a bitmap. The control’s text is used as a key to the
Binary table to point to the bitmap data.
z
Icon Size
Determines how icons are displayed in the control. Select a size, or select First
Icon to set scaling according to the first icon.
z
Sorted
By default, the items in the control are sorted alphabetically before they are
displayed. Mark this to sort the items in the order they appear on the Items tab of
the Properties dialog box.
z
Droplist
Makes the control display a drop-down list rather than a multi-line selection list.
z
Removable Volumes, CD-ROM Volumes, Fixed Volume, RAM Disk Volumes,
Remote Volumes, Floppy Volume
Mark the check boxes to determine which types of volumes are listed in the control.
z
Windows 95 Style
Displays the control using a Windows 95 appearance.
z
Elevation Shield
Adds the Windows Vista shield icon (User Account Control elevation icon) to a
pushbutton control.
Setting an Event on a Control
The Events tab, which appears on the Properties dialog box for dialog box controls,
determines the events that the control can send and receive.
See
Editing Dialog Controls
on page 463.
Use events to control the display of other dialog boxes, and to control the way Windows
Installer displays dialog boxes. When an event is generated (either by a dialog box
control or by Windows Installer) it is published. The published event is sent to Windows
Installer and to all dialog box controls that have subscribed to it.
Publish events
The top section of the Events tab lists the events published by the control.
z
To add a new published event, click Add.
z
To edit a selected event, click Details.
z
To remove a selected event from this control, click Delete.
z
To rearrange the order in which the events are sent, click Move Up or Move Down.
When you click Add or Details, the Publish Event Details dialog box appears, where you
set the following options:
z
Event
Select the event to be published. See the following in the Windows Installer SDK
Help:
ControlEvent Overview for general information on control events.