Re: RECEIPT_PATH in postflight giving incorrect path in 10.6
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Since the resource are not copied on 10.6, just detect that you are running under 10.6 and do nothing in that case. -Greg On May 10, 2010, at 8:01 AM, Sachin Porwal wrote:
Hi,
I am using an unflat 10.4 package for creating an deployment pkg. I need to place some custom resource and binary file in the Resources folder of that pkg. The binary & custom resources are supposed to be used in preinstall/preupgrade scripts. I found that in Mac OS 10.5, the resources are copied to RECEIPT_PATH (environment variable available to postflight script) but in 10.6, only .bom & info.plist are retained.
The custom binary & resources are a bit heavy on space required. I would like to remove these custom components from '/Library/Receipts/' so that they do not consume unnecessary space on client system. I tried using RECEIPT_PATH in postflight and removing the custom components. I found that on 10.6 RECEIPT_PATH contains the path of the actual pkg location, so if i try to remove the custom components, it will corrupt the original installer pkg.
Could somebody please help me identify the correct solution for this?
Thanks, Sachin
_______________________________________________ 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/greg.neagle%40disneyani...
This email sent to greg.neagle@disneyanimation.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
participants (1)
-
Greg Neagle