Setting An Event On A Control - Symantec WINDOWS INSTALLER EDITOR 7.0 SP2 - REFERENCE FOR WISE INSTALLATION EXPRESS V1.0 Installation Manual

Table of Contents

Advertisement

Windows Installer Editor Reference
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
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.
To add a new published event, click Add.
To edit a selected event, click Details.
To remove a selected event from this control, click Delete.
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:
Event
Select the event to be published. See the following in the Windows Installer SDK
Help:
ControlEvent Overview for general information on control events.
Control Events for details on each control event.
Argument
Enter the argument for the event. If no value is passed for that argument, the event
is ignored. See Control Events in the Windows Installer SDK Help; click an event
name to see valid arguments.
Condition
If you enter a condition for the event, the event occurs only if the condition is true.
If there is no condition, the event always occurs.
See
Conditions
on page 380.
Subscribe to events
The bottom section of the Events tab lists the events accepted by the control.
To add a new subscribed event, click Add.
To edit a selected event, click Details.
To remove a selected event from this control, click Delete.
When you click Add or Details, the Subscribe Event Details dialog box appears, where
you set the following options:
on page 403.
Working With Dialogs
407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Windows installer editor 7.0 sp2

Table of Contents