Re: Trying to Package FinalCutPro 10.0.6 with HW/SW check
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: vishnu kulkarni <email@hidden>
- Date: Wed, 07 Nov 2012 18:45:15 +0530
Hi Vikram,
Thanks for the suggestion, I was thinking about the same solution but
was not sure if its the right way to do it. I have tried using the
installation Check by modifying the distribution.dist file, but it
fails on all the OS X now. May be something missing in the syntax. I
will figure it out and let you know the results :-)
Thanks,
Vishnu.Kulkarni
On Wed, Nov 7, 2012 at 6:35 PM, Vikram Singh <email@hidden> wrote:
> 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
>
>
--
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