Self contained MetaPackages
Self contained MetaPackages
- Subject: Self contained MetaPackages
- From: Yann Bizeul <email@hidden>
- Date: Mon, 16 Feb 2004 13:04:18 +0100
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.
--
Yann Bizeul - yann at tynsoe.org
http://projects.tynsoe.org/
_______________________________________________
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.