IFRequirementDicts doesn't work properly from metapkg in Tiger
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com 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> thanks -- Sincerely, Rich Kubota rkubota@apple.com (408) 974-6212 _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... I have a metapackage which has 2 packages. Each package has an IFRequirementDicts script. 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Rich Kubota