IFRequirementDicts doesn't work properly from metapkg in Tiger
IFRequirementDicts doesn't work properly from metapkg in Tiger
- Subject: IFRequirementDicts doesn't work properly from metapkg in Tiger
- From: Rich Kubota <email@hidden>
- Date: Fri, 10 Jun 2005 10:29:01 -0700
I have a metapackage which has 2 packages. Each package has an
IFRequirementDicts script.
In one package I check for the presence of XCode 1.2 (really less than 2.0)
<key>IFRequirementDicts</key>
<array>
<dict>
<key>Level</key>
<string>requires</string>
<key>SpecType</key>
<string>bundle</string>
<key>SpecArgument</key>
<string>/Developer/Applications/Xcode.app</string>
<key>SpecProperty</key>
<string>CFBundleVersion</string>
<key>TestOperator</key>
<string><</string> // NOTE LESS THAN OPERATOR
<key>TestObject</key>
<string>500</string>
</dict>
</array>
In the other, I check that the version of XCode is 2.0.
<key>IFRequirementDicts</key>
<array>
<dict>
<key>Level</key>
<string>requires</string>
<key>SpecType</key>
<string>bundle</string>
<key>SpecArgument</key>
<string>/Developer/Applications/Xcode.app</string>
<key>SpecProperty</key>
<string>CFBundleVersion</string>
<key>TestOperator</key>
<string>>=</string> // NOTE Greater than/equal
<key>TestObject</key>
<string>500</string>
</dict>
</array>
When I run this metapackage under OS X 10.4.1, both packages are
selectable. Is there a better way to do this, other than using a
Distribution Script.
thanks
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
_______________________________________________
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