Re: Problems with requirements and InstallationCheck on OS X 10.3 and 10.2
Re: Problems with requirements and InstallationCheck on OS X 10.3 and 10.2
- Subject: Re: Problems with requirements and InstallationCheck on OS X 10.3 and 10.2
- From: Stéphane Sudre <email@hidden>
- Date: Thu, 7 Sep 2006 22:51:13 +0200
On jeudi, septembre 7, 2006, at 04:12 PM, email@hidden wrote:
Hi folks,
I am creating a product installer metapackage, using the wonderful
Iceberg. The product runs on 10.2 and above. However, some components
are different in Tiger and in Panther/Jaguar. Also, some other
components are different between Intel and PPC Macs.
I am using separate packages for these different components, and I'm
trying to use the installer to decide which components are right for
each possible Mac. All of the components have the Selected attribute
set. None of them have the "Required" flag set.
Iceberg allows the creation of requirements, which are supported in
10.4 and 10.3, and ignored in 10.2. According to documentation, in
10.3 and 10.4 if requirements are found, the InstallationCheck script
is ignored. So what I've done is to create both requirements and
InstallationCheck scripts for each component.
If I install my product on 10.4 (which uses the requirements and
ignores the script), everything seems to work perfectly. If I look at
the components during the Install by pressing the Customize button, I
can see that the components that do not match the requirements are
greyed out.
If I run my installer on a 10.3 system, the error message that is
associated with my first 10.4-only component is displayed, and the
user's only option is to close the installer.
If I run my installer on a 10.2 system, a screen immediately appears
that says the software cannot be installed on this computer.
Is it possible to achieve the same results that I see on my 10.4
system while installing on earlier versions of OS X?
What value are you returning in the InstallationCheck script when it
shall be greyed out?
Your description looks to match the "How can I install different
versions of an application depending on the Mac OS X version?" case of
the document available here:
http://s.sudre.free.fr/Software/documentation/Iceberg/English.lproj/
documentation/FAQ.html
_______________________________________________
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