PackageMaker not honoring sub-package postinstall script
PackageMaker not honoring sub-package postinstall script
- Subject: PackageMaker not honoring sub-package postinstall script
- From: s anwar <email@hidden>
- Date: Wed, 30 Sep 2009 17:12:39 -0700
I am new to Mac application development/distribution. I am looking to build a DistributionPackage (on 10.4) that would let the user to select between various components of the package.
I have package-a.pkg and package-b.pkg. package-a contains the main application (installed under /Applications), while package-b contains some user configuration files (installed in $HOME). So, package-b was built with a postinstall script which moves the file from the /Users/Shared directory to the current user's home directory and fixes its ownership and permissions.
If I install package-b by itself, it does the right things and the file is installed appropriately. However, when I build a DistributionPackage dist.mpkg out of package-a.pkg and package-b.pkg (using the PackageMaker interface), and install it, the postinstall action does not occur. Is this a feature of the PackageManager or am I not doing something that I am supposed to do?
Also, is there an example of building packages for MacOS X (10.4+) that goes through the step-by-step detail in its entirety?
Thanks.
Saadat.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden