• 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: [installer-dev] Install only on i386?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [installer-dev] Install only on i386?


  • Subject: Re: [installer-dev] Install only on i386?
  • From: Bill Coderre <email@hidden>
  • Date: Thu, 1 Nov 2007 15:14:48 -0700

On Nov 1, 2007, at 2:43 PM, Alexander von Below wrote:
this must be something easy that I have overlooked, but what is the best way to restrict installation to a certain processor architecture (i.e. i386)?

If you are 10.4 and later, and using a Distribution file, you can just do this:
<options hostArchitectures = 'i386' />

If you have to support 10.3, you can ask SYSCTL for hw.byteorder and verify that it is '1234', which is Intel byte-order. 

Note that if the user launches the installer under Rosetta, these tests may in fact decide that the Mac is a PPC. You might wish to write a "don't go like that" technote.


 _______________________________________________
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

References: 
 >[installer-dev] Install only on i386? (From: Alexander von Below <email@hidden>)

  • Prev by Date: [installer-dev] Install only on i386?
  • Next by Date: Re: [installer-dev] Install only on i386?
  • Previous by thread: [installer-dev] Install only on i386?
  • Next by thread: Re: [installer-dev] Install only on i386?
  • Index(es):
    • Date
    • Thread