Open Menu
Close Menu
Apple
Shopping Bag
Apple
Mac
iPad
iPhone
Watch
TV
Music
Support
Search apple.com
Shopping Bag
Lists
Open Menu
Close Menu
Terms and Conditions
Lists hosted on this site
Email the Postmaster
Tips for posting to public mailing lists
Installation destination path from a script
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
Installation destination path from a script
Subject
:
Installation destination path from a script
From: Mark Krenek <
email@hidden
>
Date: Wed, 3 May 2006 15:04:20 -0500
My simple question is: is there a way from a postflight script to know where the installer has located the existing software it will update?
My package uses a LaunchServicesLookup rule to locate our existing game application. That works great. But I'd like to know this location from within a script. I've not found any script variable that gives me this info. $2 is supposedly the path to the installation destination, but that always returns "/". None of the other variables (such as INSTALLER_TEMP, PACKAGE_PATH, RECEIPT_PATH, and TMPDIR) get me close either.
What I'm trying to do:
I need to delete and/or move files associated with the game I am updating. Our installation consists of an enclosing folder that contains the game app & several data files. Some of these data files need to be deleted and/or moved. The game was originally installed via drag-install.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Follow-Ups
:
Re: Installation destination path from a script
From:
Christopher Ryan <email@hidden>
Prev by Date:
PackageMaker metapackage include command-line option issue
Next by Date:
Re: PackageMaker metapackage include command-line option issue
Previous by thread:
RE: PackageMaker metapackage include command-line option issue
Next by thread:
Re: Installation destination path from a script
Index(es):
Date
Thread