site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: Acq00XWz2lLmCbUfSUSuHHM/t7HOrgAbPSTAAAn67EA= Thread-topic: Detecting Intel Give this a try, it works for us as some of our products only support the Intel architecture: if(!(system.gestalt('sysa') == '10')) { my.result.title = 'Processor Type'; my.result.message = '<product here> only supports an Intel processor.'; my.result.type = 'Fatal'; return false; } The gestalt manager reference is here if you want further information: http://developer.apple.com/mac/library/documentation/Carbon/Reference/Ge stalt_Manager/Reference/reference.html#//apple_ref/doc/uid/TP30000036-CH 4g-108512 Allen Riffel QA Engineer Extensis http://www.extensis.com/ phone: 503.274.2020 x116 email: ariffel@extensis.com Font and Creative Assets Management Software. Trusted by Millions. To learn more about Extensis Solutions, visit: http://www.extensis.com/en/solutions/index.jsp Notice: This communication may contain privileged or other confidential information. If you are not the intended recipient, or believe that you have received this communication in error, please do not print, copy, retransmit, disseminate, or otherwise use the information. Also, please indicate to the sender that you have received this email in error, and delete the copy you received. Thank you. -----Original Message----- From: installer-dev-bounces+ariffel=extensis.com@lists.apple.com [mailto:installer-dev-bounces+ariffel=extensis.com@lists.apple.com] On Behalf Of Glover,David Sent: Wednesday, February 24, 2010 02:48 To: Installer-Dev mailing-list Subject: RE: Detecting Intel <options hostArchitectures="i386" /> I think this might return "x86_64" on a 64-bit Snow Leopard, even though it's Intel. -----Original Message----- From: installer-dev-bounces+david.glover=prometheanworld.com@lists.apple.com [mailto:installer-dev-bounces+david.glover=prometheanworld.com@lists.app le.com] On Behalf Of Iceberg-Dev Sent: 23 February 2010 21:45 To: Installer-Dev mailing-list Subject: Re: Detecting Intel On Feb 23, 2010, at 10:23 PM, Adam Peck wrote:
Hi All,
I swear this has been covered before but I couldn't find it searching the list. Anyways I would like my installer to be able to detect if it is installing on Intel as this is a requirement. It seems like it should be possible with sysctl or gestalt, but I am not entirely sure which value I should be looking at and what it needs to be set to.
2 possible solutions: - The one Apple tells you to use: sysctl as described by Florian. - The one Apple uses: Add this option to the Distribution script. <options hostArchitectures="i386" /> _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/david.glover%40prom etheanworld.com This email sent to david.glover@prometheanworld.com Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18 Promethean Ltd and or associated and or subsidiary companies : The views expressed in this communication may not necessarily be the views held by Promethean Ltd and or associated and or subsidiary companies. This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited. This e-mail message has been swept for the presence of computer viruses. Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/ariffel%40extensis. com This email sent to ariffel@extensis.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com