Re: checking for OS
Re: checking for OS
- Subject: Re: checking for OS
- From: Stéphane Sudre <email@hidden>
- Date: Sun, 17 Apr 2005 09:31:18 +0200
On samedi, avril 16, 2005, at 08:33 PM, Chuck Soper wrote:
Hello,
I'm new to this list and I apologize if the question that I'm about to
ask has already been asked.
I have a PackageMaker installer and I need to require a specific OS
version (for example let's say, 10.4). I would like to do this with
Requirements Checking. I have read the documentation and looked over
the examples, but I don't see a clear example for the simple check
that I'm trying to do. Could someone possibly post or send the actual
keys that I need to add to my Info.plist to me?
Maybe this one could work:
<key>IFRequirementDicts</key>
<array>
<dict>
<key>LabelKey</key>
<string>untitled requirement</string>
<key>Level</key>
<string>requires</string>
<key>SpecArgument</key>
<string>kern.osrelease</string>
<key>SpecType</key>
<string>sysctl</string>
<key>TestObject</key>
<string>8.0</string>
<key>TestOperator</key>
<string>>=</string>
</dict>
</array>
If I can add that easily then I may want to add an InstallationCheck
script and
InstallationCheck.strings for pre-10.3 users. I already have this
partly working but the check is done before my EULA instead of before
the installation.
Do you want to prevent the installation on volumes which don't have at
least Mac OS X 10.4 or prevent installation when the running OS is not
10.4?
_______________________________________________
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