• 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: Trying to Package FinalCutPro 10.0.6 with HW/SW check
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check


  • Subject: Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • From: Vikram Singh <email@hidden>
  • Date: Wed, 07 Nov 2012 18:35:46 +0530

You should include an Installation check in your Distribution script. You can show your custom localized messages in case of failure. See the below example. I didn,t check the script for syntax errors but I think you will get the idea.

<installation-check script="pm_install_check();"/>      
<script> 
function pm_install_check() 
{  
       var sysVersion = system.version.ProductVersion;
       if ( !( (system.compareVersions(sysVersion, '10.6.8') == 0) || (system.compareVersions(sysVersion, '10.7.5') == 0) || (system.compareVersions(sysVersion, '10.8.2') == 0)) ) 
      {    
my.result.title = system.localizedString('ERROR_SYSTEM_VERSION_TITLE');    
my.result.message = system.localizedString('ERROR_SYSTEM_VERSION_MSG');    
my.result.type = 'Fatal';    
return false;  
      }  
      return true;
}
</script>


Thanks,
Vikram


On Wed, Nov 7, 2012 at 5:15 PM, vishnu kulkarni <email@hidden> wrote:
Hi,

I have requirement to Package FinalCutPro 10.0.6 which should meet the
vendor specified Hw/SW check.
System requirement mentions FinalCutPro 10.0.6 is supported only on
Mac OSX  10.6.8,10.7.5,10.8.2. Whats the best way to incorporate  the
OS X check in our package.
Installation of the package should fail if OS X version is different
example ( 10.7.1,10.7.2,10.7.3,10.7.4,10.8,10.8.1)

Any suggestions?

We are using Packagemaker 3.0.5 to package the Application.

Thanks,

Vishnu
 _______________________________________________
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

 _______________________________________________
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: Trying to Package FinalCutPro 10.0.6 with HW/SW check
      • From: vishnu kulkarni <email@hidden>
References: 
 >Trying to Package FinalCutPro 10.0.6 with HW/SW check (From: vishnu kulkarni <email@hidden>)

  • Prev by Date: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Next by Date: Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Previous by thread: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Next by thread: Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
  • Index(es):
    • Date
    • Thread