RECEIPT_PATH in postflight giving incorrect path in 10.6
RECEIPT_PATH in postflight giving incorrect path in 10.6
- Subject: RECEIPT_PATH in postflight giving incorrect path in 10.6
- From: Sachin Porwal <email@hidden>
- Date: Mon, 10 May 2010 20:31:23 +0530
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden