Re: Metapackage that can install depending on architecture
Re: Metapackage that can install depending on architecture
- Subject: Re: Metapackage that can install depending on architecture
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 25 Mar 2008 23:15:29 +0100
On Mar 25, 2008, at 10:11 PM, Roy Marquez wrote:
Hi there:
I'm fairly new to using PackageMaker as I have used it to package
smaller applications and such, but haven't used it extensively.
I have a project and would appreciate any guidance that the more
experienced folks (you) can provide.
I have application "A". This application comes in two version: PPC
and Intel. I have built 2 separate packages. What I would ideally
like to build is a metapackage installer that can detect the
machine architecture type and install the correct package for the
architecture. But I have no clue as to where to start as to how to
get that working. From my reading, it looks like I will be needing
a script that would do this. But other than this, I have no clue
where to start looking for literature that documents this. This
would be the only need I have as far as this is concerned.
Hi,
the first obvious question is: can't you just build a Universal Binary?
If for some specific reasons you can not, then a solution could be to
use an InstallationCheck shell script and check the value returned by
the arch command line tool.
_______________________________________________
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