The InstallationCheck executable returns an integer that the Installer application uses to determine whether to proceed with the installation process or which informational message to display as the reason for canceling the install. To allow the install, return 0. To cancel the process, return an integer that specifies the message ID of the localized message to display. This integer, however, must also have bits 5 and 6 set to 1.
For example, to instruct Installer to display message 16, return 112. You can use the Calculator application to determine the correct return value for a specific message ID, or compute it in your executable.
Table A-2 lists the message IDs of the default messages for InstallationCheck failures. If you use these messages, you don’t need to create an InstallationCheck.strings file.
Last updated: 2006-07-24