• 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
PackageMaker not honoring sub-package postinstall script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Unable to add a subview above UIImageView.
  • Next by Date: Re: XIB file contents change depending if IB is 32 or 64 bit, is that ok?
  • Previous by thread: Re: XIB file contents change depending if IB is 32 or 64 bit, is that ok?
  • Next by thread: trouble using tgmath
  • Index(es):
    • Date
    • Thread