RE: How to determine if user's computer is PowerPC or Intel
RE: How to determine if user's computer is PowerPC or Intel
- Subject: RE: How to determine if user's computer is PowerPC or Intel
- From: Adam Peck <email@hidden>
- Date: Tue, 21 Apr 2009 13:27:11 -0600
- Thread-topic: How to determine if user's computer is PowerPC or Intel
If you are using a distribution script you
could use:
system.gestalt(“sysa”) to
determine the processor type.
-Adam
From: installer-dev-bounces+adampeck=email@hidden
[mailto:installer-dev-bounces+adampeck=email@hidden] On Behalf Of Andrew Peckover
Sent: Tuesday, April 21, 2009
12:59 PM
To: email@hidden
Subject: How to determine if
user's computer is PowerPC or Intel
I'm using OS 10.5.6 and PackageMaker 3.0.3 (174).
Trying to figure out how the installer can check to make
sure that the user has an intel-based Mac, failing to install if it's not and
giving the user a message "sorry this program requires an Intel based
computer".
In Distribution --> Requirements, I see there is an easy
way to determine the OS version, and it can pop up a nice message to the
user. But I'm not finding a way to determine processor type.
Perhaps I need to set that to "result of script",
then figure out how to make my own script for this. If so, are there any
sample scripts that do this sort of thing, check system info?
|
_______________________________________________
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