Re: Checking for minimum OS for installation
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On May 31, 2006, at 9:12 AM, Lori Desmarais wrote: http://lists.apple.com/archives/Installer-dev/2006/May/msg00053.html Cheers, -Geoff _______________________________________________ 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 need to put a check into my packagemaker installer that will only let the user installer on 10.4.6 or greater OS. ... my .pkg keeps failing to allow me to install saying "Make sure your system meets the requirements", Well, I ran into a similar issue -- it seems like the PackageMaker.app doesn't let you use a plist check: <array> <dict> <key>Level</key> <string>requires</string> <key>MessageKey</key> <string>You must update to Mac OS X v10.4 before installing this software.</string> <key>SpecArgument</key> <string>/System/Library/CoreServices/ SystemVersion.plist</string> <key>SpecProperty</key> <string>ProductVersion</string> <key>SpecType</key> <string>plist</string> <key>TestObject</key> <string>10.4.6</string> <key>TestOperator</key> <string>ge</string> <key>TitleKey</key> <string>Cannot be installed on this computer.</string> </dict> </array> Alternatively, Stéphane Sudre suggested: Since Requirements are only supported with Mac OS X 10.3 and later, it may be wiser to test this using an InstallationCheck or VolumeCheck script. This way it will also prevent installation on Mac OS X 10.2.8 and earlier. This email sent to site_archiver@lists.apple.com
participants (1)
-
Geoffrey Hutchison