Re: PackageMaker and Tiger/Leopard Packages
Re: PackageMaker and Tiger/Leopard Packages
- Subject: Re: PackageMaker and Tiger/Leopard Packages
- From: Iceberg-Dev <email@hidden>
- Date: Tue, 23 Dec 2008 20:20:56 +0100
On Dec 20, 2008, at 12:18 PM, Adam Mercer wrote:
On Fri, Dec 19, 2008 at 22:09, Iceberg-Dev <email@hidden>
wrote:
If >= is the comparator you use in the Javascript requirement,
this could be
the origin of the issue. To compare OS version, you need to use the
appropriate function: compareVersions.
Could you post your requirement to confirm this?
When building the meta-package in the requirements tab of the Leopard
only package I add a check for System OS being greater or equal to
10.5.0, as shown in the following screen shot:
<http://www.lsc-group.phys.uwm.edu/~ram/requirements.png>
When building, and running, the installer on Leopard the Leopard only
package is greyed out and not able to be selected:
<http://www.lsc-group.phys.uwm.edu/~ram/installer.png>
You mention Javascript, I'm not using Javascript to do a version
check, how can I do this?
Just checked and PackageMaker creates a Javascript requirement that
is incorrect when it comes to OS versions. As I wrote, you need to
fix it using the compareVersions method.
_______________________________________________
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