Re: Install requirements for Leopard component pkg
Re: Install requirements for Leopard component pkg
- Subject: Re: Install requirements for Leopard component pkg
- From: Bill Coderre <email@hidden>
- Date: Tue, 25 Nov 2008 15:33:49 -0500
Leopard (flat) packages run the distribution in the metapackage to
decide which packages to install, then runs the preflights, file copy,
and postflights of the selected packages.
If you want to have a metapackage that just puts N packages into one
letting each package run its own show, use a Bundle package, which is
the 10.3 style. Leopard is happy to run 10.3-style packages.
If you really want to use flat packages (or even distribution-based
bundle packages (Tiger-style)), you should make a single distribution
file for the metapackage that has all the rules for all the packages.
On Nov 25, 2008, at 3:27 PM, Dan Wilson wrote:
I'm making the switch to PackageMaker 3, and am interested in
producing a component package targeting Leopard. The package is
pulled into various metapackages, so as I understand it a
distribution package is not an option.
I need to apply installation requirements to the component package,
but this is proving to be more complicated than I expected. In the
past, I used IFRequirementDicts in the pkg Info.plist, but any time
I add a requirement to the top-level package or the choice, the
project transforms into a distribution package and uses the
JavaScript requirements system. If I target Tiger, then I can
product a familiar pkg bundle with IFRequirementDicts requirements,
but I'd prefer to switch to the single-file Leopard package.
I've also tried specifying a scripts directory with a
CheckInstallation script, but it doesn't appear to be executed (I've
verified the script's functionality separately).
Is there any way to apply installation requirements to a Leopard
component package?
Thanks,
Dan Wilson
_______________________________________________
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
_______________________________________________
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