Summary

In this chapter, we looked at the Publish and Subscribe elements that are used to trigger and listen for control events. Knowing the exact arguments to use for each event can be tricky, so be sure to consult the Windows Installer SDK to get specifics. Probably one of the most powerful events is DoAction, which lets you publish your own custom action. Pairing this with the ability to stack several events inside one control and to set the order in which they're called gives you quite a bit of power.

In the next chapter, we will explore the WiX command line. This will give you the knowledge to compile and link your project even without Visual Studio.

Get WiX 3.6: 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.