Deployment Tools Foundation

Writing custom actions with .NET code means making use of the Deployment Tools Foundation (DTF). Here, we'll touch on some of the more common parts of the DTF library. However, you should also take a look at the DTF documentation that comes with WiX if you'd like to explore some of its other features. For example, although we won't cover it here, DTF has support for LINQ and CAB file compression. The examples in this section draw from DTF's Microsoft.Deployment.WindowsInstaller namespace.

Session object

When the InstallUISequence and InstallExecuteSequence tables run through their lists of actions, they're doing so in their own memory space—called a session. You've seen how this requires you to mark WiX properties as ...

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.