• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: How to determine if user's computer is PowerPC or Intel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

 

Hi,

 

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?

 

Thanks,

Andrew

 _______________________________________________
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

  • Follow-Ups:
    • Re: How to determine if user's computer is PowerPC or Intel
      • From: "Andrew Peckover" <email@hidden>
References: 
 >How to determine if user's computer is PowerPC or Intel (From: "Andrew Peckover" <email@hidden>)

  • Prev by Date: How to determine if user's computer is PowerPC or Intel
  • Next by Date: Re: Customize or suppress the Installation Type pane
  • Previous by thread: How to determine if user's computer is PowerPC or Intel
  • Next by thread: Re: How to determine if user's computer is PowerPC or Intel
  • Index(es):
    • Date
    • Thread