Msi ControlEvent

From wikinotes

Events determine what action is performed when a control is activated (clicked, checked, item selected, etc). Multiple actions can be taken as a result of a control being activated - their order is determined by Ordering.

Only 3x types of controls are supported, and unlike Qt, there is only one type of event.

  • PushButton
  • CheckBox
  • SelectionTree

Documentation

ControlEvent Table ref https://docs.microsoft.com/en-us/windows/win32/msi/controlevent-table
ControlEvent Types https://docs.microsoft.com/en-us/windows/win32/msi/controlevent-overview

Overview

Dialog_
Control_
Event
Argument
Condition
Ordering 2 When multiple event-actions are attached to a control,
determines the order in which they are executed. (lowest->highest).

Common ControlEvents

event('EndDialog', 'Return') closes modal dialog, returning control to parent
(used to progress to next dialog in installUISequence)
event('SpawnDialog', x) show existing dialog named x