Adding a user interface

Although you'll eventually want to add your own dialogs to gather information from the user that's important for your own application, you may want to use one of WiX's built-in dialog sequences in the meantime. All of them are stored in an assembly called WixUIExtension.dll. You can add a reference to this file with Visual Studio's Add a Reference screen. The file exists in WiX's Program Files folder. You may have to navigate to C:\Program Files (x86)\WiX Toolset v3.6\bin.

Once you've added the new reference, add the following line to your WiX source file. It doesn't matter exactly where, as long as it's a child to the Product element:

<UIRef Id="WixUI_Minimal" />

This will insert the Minimal dialog set into your installation ...

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.