Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
- Subject: Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
- From: Bill Coderre <email@hidden>
- Date: Mon, 3 Dec 2007 19:15:55 -0800
On Dec 3, 2007, at 6:28 PM, Peter Bierman wrote:
At 6:17 PM -0800 12/3/07, Nathan Duran wrote:
Is the need to effectively sandbox the packages' code the reasoning
behind JavaScript's selection as the language of choice for this
process?
Yes, exactly.
Furthermore, this isn't JavaScript + DOM like in a web browser.
There are no DOM methods available in the installer's JavaScript
sandbox. Instead, there are a small number of utility functions
available under the global 'system' object.
FYI:
Incidentally, the documentation for the distributions and for the
JavaScript objects are documented here:
http://developer.apple.com/reference/DeveloperTools/idxFilesSoftwareInstallation-date.html
For some reason I was having trouble finding it earlier today.
(It's also in your (Leopard) Developer Documentation on your hard
drive. I keep a Safari toolbar shortcut to it.)
_______________________________________________
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