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

< Previous PageNext Page > Hide TOC

Arguments and Environment Variables for Install Operations

The following list describes the arguments and environment variables available to install operation executables. Note that not all environment variables are available to all executables (see Table 7-2).

The four arguments described earlier are available to all install operations. Table 7-2 shows the availability of the environment variables.

Table 7-2  Environment variables in operation executables

Operation executable

Available environment variables

preflight

None.

preinstall, preupgrade

$SCRIPT_NAME, $PACKAGE_PATH, $INSTALLER_TEMP.

postinstall, postupgrade, postflight

$SCRIPT_NAME, $INSTALLER_TEMP, $PACKAGE_PATH, $RECEIPT_PATH.



< 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