Re: Checking for minimum OS for installation
Re: Checking for minimum OS for installation
- Subject: Re: Checking for minimum OS for installation
- From: Geoffrey Hutchison <email@hidden>
- Date: Wed, 31 May 2006 09:26:56 -0400
On May 31, 2006, at 9:12 AM, Lori Desmarais wrote:
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.
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden