Re: Struggles with PackageMaker and Iceberg scripts - Sorry for Spam!
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com <installer-dev-bounces+xochitl_lunde=tripplite.com@lists.apple.com> wrote on 04/15/2010 02:05:19 PM:
Another disappointing thing I've just discovered is that the
INSTALL_PKG_SESSION_ID doesn't seem to get set in my Leopard
environment. This causes my individual packages to fail because
they are using that variable to determine which product was
installed. Can anyone recommend if any of the variables which DO
get set are fair game for use in determining which package is being
installed? I could parse out the name of the path or receipt, but
what if someone renames the name of the package?
------------------------ LEOPARD ENV FROM POSTINSTALL -----------------------
3/29/10 3:12:41 PM runner[377] postinstall[391]:
INSTALLER_TEMP=/private/tmp/PowerAlertSA-12.04.0050.pkg.355yyRScZ
3/29/10 3:12:41 PM runner[377] postinstall[391]:
TMPDIR=/private/tmp/PowerAlertSA-12.04.0050.pkg.355yyRScZ
3/29/10 3:12:41 PM runner[377] postinstall[391]: DYLD_NO_FIX_PREBINDING=YES
3/29/10 3:12:41 PM runner[377] postinstall[391]: USER=xlunde
3/29/10 3:12:41 PM runner[377] postinstall[391]: COMMAND_MODE=legacy
3/29/10 3:12:41 PM runner[377] postinstall[391]: SCRIPT_NAME=postinstall
3/29/10 3:12:41 PM runner[377] postinstall[391]: PATH=/bin:/sbin:
/usr/bin:/usr/sbin:/usr/libexec
3/29/10 3:12:41 PM runner[377] postinstall[391]:
RECEIPT_PATH=/tmp/PowerAlertSA-12.04.0050.pkg.
355yyRScZ/Receipts/PowerAlertSA-12.04.0050.pkg/Contents/Resources
3/29/10 3:12:41 PM runner[377] postinstall[391]: PWD=/
3/29/10 3:12:41 PM runner[377] postinstall[391]:
PACKAGE_PATH=/Volumes/SNOWLEOPARD/Users/xlunde/code/proj/pa49x64/engine/leopard/installcomponents/sda/iceberg/build/PowerAlertSA-12.
04.0050.pkg
3/29/10 3:12:41 PM runner[377] postinstall[391]: SHLVL=1
3/29/10 3:12:41 PM runner[377] postinstall[391]: HOME=/Users/xlunde
3/29/10 3:12:41 PM runner[377] postinstall[391]: _=/usr/bin/env
participants (1)
-
Xochitl Lunde