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


The InstallUISequence ...

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