RE: Install requirements for Leopard component pkg
RE: Install requirements for Leopard component pkg
- Subject: RE: Install requirements for Leopard component pkg
- From: Adam Peck <email@hidden>
- Date: Tue, 25 Nov 2008 13:31:46 -0700
- Thread-topic: Install requirements for Leopard component pkg
Distribution packages do ignore any requirements set by the packages it
contains and you are right that you have to use JavaScript to get around
this. You could execute a script in the contained package (using
system.run) if it exists in your JavaScript to determine if it can be
installed. You could also move your requirements into the distribution
script all together.
Adam
-----Original Message-----
From: installer-dev-bounces+adampeck=email@hidden
[mailto:installer-dev-bounces+adampeck=email@hidden] On
Behalf Of Dan Wilson
Sent: Tuesday, November 25, 2008 1:27 PM
To: email@hidden
Subject: Install requirements for Leopard component pkg
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:
h.com
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