Chapter 5. Understanding the Installation Sequence

In order to coordinate the use of the WiX elements that we've seen and the jobs that they do, there are two tables in the MSI database, InstallUISequence and InstallExecuteSequence, that contain the order in which installation events should occur. For example, AppSearch always happens before launch conditions.

In this chapter, we'll talk about how these tables work. Specifically, we'll cover:

  • The events that happen during the UI sequence and how to access them
  • The events that happened during the Execute sequence and how to access them
  • How to author and schedule your own custom actions
  • Some tips on writing C# custom actions via the Deployment Tools Foundation (DTF) library

InstallUISequence

The InstallUISequence ...

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.