Re: product build and dist scripts targeted at 10.5
Excellent, i will try that. thx AC On May 30, 2012, at 12:09 PM, Edward Waxler wrote:
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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/naftaly%40me.com
This email sent to naftaly@me.com
_______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Alexander Cohen