RE: product build and dist scripts targeted at 10.5
RE: product build and dist scripts targeted at 10.5
- Subject: RE: product build and dist scripts targeted at 10.5
- From: Edward Waxler <email@hidden>
- Date: Wed, 30 May 2012 09:09:20 -0700
- Acceptlanguage: en-US
- Thread-topic: product build and dist scripts targeted at 10.5
The reason the installation is failing when you use "allowed-os-versions" on Leopard is because that key is only supported in OS X 10.6.6 and later. The workaround for this is to use a JavaScript function to check for the OS version in the volume check phase of the installation, something like the following:
if( system.compareVersions(my.target.systemVersion.ProductVersion, '10.6.6') == -1 )
{
my.result.type = 'Fatal';
my.result.message = 'This software requires Mac OS X 10.5 or above';
return(false);
}
Hope this helps,
Ed
> I changed the min version by hand just for testing purposes. It was at 2.
>
> Sent from my iPad
_______________________________________________
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