Publish events

In the following sections, we'll take a look at several events that you can publish. This should give you a good idea about how the Publish element works.

AddLocal

The SelectionTree control can be used to show the available features in your install package and gives the user the ability to select which ones they want. Windows Installer keeps track of which features to install through the ADDLOCAL property, which is a comma-delimited list of features to install locally. When it comes to the SelectionTree, all of the logic of setting the ADDLOCAL property is handled for you behind the scenes. However, if you wanted to, you could do away with the SelectionTree and create your own device for including features. For that, you'd publish ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.