Installation destination path from a script
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com 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 (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
participants (1)
-
Mark Krenek