O'Reilly logo

WiX: A Developer's Guide to Windows Installer XML by Nick Ramirez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

ICE20 revisited

ICE20 is the validation check that makes sure you have the necessary dialogs defined to handle things like 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 of FilesInUse. So, in our ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required