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: Iceberg-Dev <email@hidden>
- Date: Wed, 22 Apr 2009 11:32:55 +0200
On Apr 22, 2009, at 1:52 AM, Andrew Peckover wrote:
Thanks for helping. I got it working. For anyone interested, here
are some further details - it's the "Result of Gestalt"
requirement, value sysa, is: == 2
Apparently, "2" is for Intel and "10" is for PowerPC. Mysterious...
Personally, I use system.sysctl('hw.cputype').
7 -> Intel
18 -> PowerPC
I also started to look at the Distribution script (Project menu |
Raw Editing mode). I see that I might add some custom items to
that script.
What I'm wondering is... is there some kind of reference manual for
this? Is this Javascript? For example, I see things like
my.result.title =
my.result.message =
my.result.type = 'Fatal'
I take it that "fatal" means that the message box just has a close
button in it, and the installation quits. Are there any different
types of message boxes I can have, like what if I want a message to
be informational and allow the user to continue anyways?
'Warning'.
The documentation you're looking for is "Installer JavaScript
Reference".
What types of other scripts can I use with PackageMaker, say for
preinstall, postinstall, postflight etc.... are these AppleScripts
I write? Maybe I missed it, but just can't find this info in the
PackageMaker documentation.
It can be perl, sh, bash, python, AppleScript, executable, etc.
_______________________________________________
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