• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: product build and dist scripts targeted at 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: product build and dist scripts targeted at 10.5
      • From: Alexander Cohen <email@hidden>
    • Re: product build and dist scripts targeted at 10.5
      • From: Alexander Cohen <email@hidden>
References: 
 >product build and dist scripts targeted at 10.5 (From: Alexander Cohen <email@hidden>)
 >Re: product build and dist scripts targeted at 10.5 (From: Stephane Sudre <email@hidden>)
 >Re: product build and dist scripts targeted at 10.5 (From: Alexander Cohen <email@hidden>)
 >Re: product build and dist scripts targeted at 10.5 (From: Stephane Sudre <email@hidden>)
 >Re: product build and dist scripts targeted at 10.5 (From: Alex Cohen <email@hidden>)

  • Prev by Date: Re: product build and dist scripts targeted at 10.5
  • Next by Date: Re: product build and dist scripts targeted at 10.5
  • Previous by thread: Re: product build and dist scripts targeted at 10.5
  • Next by thread: Re: product build and dist scripts targeted at 10.5
  • Index(es):
    • Date
    • Thread