• 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
Re: Self contained MetaPackages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Self contained MetaPackages


  • Subject: Re: Self contained MetaPackages
  • From: Stephane Sudre <email@hidden>
  • Date: Mon, 16 Feb 2004 13:40:45 +0100

On Monday, February 16, 2004, at 01:04 PM, Yann Bizeul wrote:

Hi list,

Just a mail about meta package with Package Maker and the way some people, like me, mistaked the way it works.

When I do a Meta Package, I thought I get a "self contained" package, but instead of this, PM links the package relative to the path of the meta package, so as soon as I moved the mpkg, I got a 999 error (this error should be handled !!)
So here is the method I used to make things a bit clean :

Once your packages are done, build your MPKG as usual and test it until it is good for you, it is a good idea to put pkg in the same path as your mpkg.
Then move your packages into the mpkg, for example, in the resources directory.
Then edit the Info.plist of your MPKG, and change the key IFPkgFlagComponentDirectory from ".." to "Contents/Resources/"

That's all, no longer get 999 error, and it works fine.

I don't know if there is a better way to do this, but the is definitively an option apple should provide.

This option was available in older versions of PackageMaker IIRC.

side note: the metapackage you created is probably not compatible with Mac OS X 10.1 and older.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Self contained MetaPackages
      • From: Sherm Pendley <email@hidden>
References: 
 >Self contained MetaPackages (From: Yann Bizeul <email@hidden>)

  • Prev by Date: Self contained MetaPackages
  • Next by Date: Re: calling method via IMP that returns non id type - compiler warning
  • Previous by thread: Self contained MetaPackages
  • Next by thread: Re: Self contained MetaPackages
  • Index(es):
    • Date
    • Thread