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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access