>
> Hi Rich,
>
> in Iceberg, add a component for each version of the application. Then, for each component, select the Scripts page. There should be a Requirements section there. Click the + button below that box to add an installation requirement for the component. In the dialog that opens for that, make sure that Level is set to Requires (the default, I think). Then set the Specification to Gestalt, and its selector to sys2 (which is the system *minor* version... the '6' in 10.6.8, for example). For the 10.4-10.6 version, set it to "smaller than" 7, and for the 10.7 version, set it to "greater than or equal to" 7. (I haven't used it, so I don't know if quotes are required around the 7 in the box there, but you can experiment and see.)
>
> Hope this helps!
>
> Regards,
> Howard
>
> On Dec 22, 2011, at 10:44 AM, Rich Nistuk wrote:
>
>> Hello,
>>
>> We have two versions of the same OS X application. One version is compiled for OS X 10.7 and will not work on other versions of OS X. The other version of our application is compiled for OS X 10.4 to 10.6 and will not work on OS X 10.7.
>>
>> We currently ship two installers, however, we'd like to have one unified installer that identifies the target OS and installs the appropriate bundle.
>>
>> Identifying the OS is easy, it's the choosing of the correct version of the application to install that is not.
>>
>> We're using Iceberg, and I've investigated using Packages and Vise-X but can't figure out a way to do accomplish the goal. (I think there is a hacky way or tricking Vise-X to do it... if it works I'll update this question.)
>>
>> Here is how we would like the installer to work
>>
>> user executes installer
>> installer identifies the version of OS X
>> if the target is OS X 10.4 to 10.6 install version 1 of the application
>> else if the target is OS X 10.7 choose version 2 of the application
>> Is there a way of doing this with Iceberg or Packages? Can you point me at an appropriate tutorial or give me the hint that I'm missing?
>>
>> Alternatively, can you recommend an existing installer tool that does this?
>>
>> Thank You.
>>
>>
>>
>> Note: I have also posted this question on stackoverflow:
http://bit.ly/vt4NpD
>>
>> _______________________________________________
>> 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
>