ICE20 revisited

ICE20 is the validation check that makes sure you have the necessary dialogs defined to handle things such as showing a friendly message when the user cancels the install. We initially suppressed this check in the project's properties. Now, let's remove that suppression and add these dialogs. Note that all are defined in the WiX source files and you may find it easier to simply copy them to your project.

We need to define five dialogs: FilesInUse, Error, FatalError, UserExit, and Exit.

FilesInUse

The FilesInUse dialog allows the user to shut down applications that are accessing files the installer needs to update or delete. The MSI finds this dialog by looking in the MSI Dialog table for a dialog with an Id attribute of FilesInUse ...

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.