Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

< Previous PageNext Page > Hide TOC

InstallationCheck Messages

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.

Table A-2  Installer default messages for InstallationCheck failures

Message ID

Message string

1

This software cannot be installed on this computer.

2

The software <package_name> cannot be installed on this computer.

3

<package_name> cannot be installed on this computer.

4

An error was encountered while running the InstallationCheck tool for package <package_name>.



< Previous PageNext Page > Hide TOC


Last updated: 2006-07-24




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice