Subscribe events

In the following sections, we'll look at the Subscribe element.


You can subscribe a Text control to the ScriptInProgress event so that its text is only shown during the "immediate" phase of the InstallExecuteSequence. This is when that sequence prepares itself for its "deferred" stage by creating a rollback script containing all of the actions it will need to perform.

You'd use this technique on a progress bar dialog. As you can see in the next example, all it does is show some text telling the user that things are gearing up.


Here, we have a dialog called ProgressDlg that is shown during the InstallExecuteSequence ...

Get WiX: A Developer's Guide to Windows Installer XML now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.