Re: Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
Re: Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
- Subject: Re: Distribution and JavaScript docs pointer (was Re: Problems with the InstallationCheck script)
- From: Stéphane Sudre <email@hidden>
- Date: Tue, 4 Dec 2007 08:46:36 +0100
On mardi, décembre 4, 2007, at 04:15 AM, Bill Coderre wrote:
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.)
Actually, this is one of the issue with the documentation. Previously,
the documentation related to Software Installation was found in
http://developer.apple.com/reference/UserExperience/
idxFilesSoftwareInstallation-date.html. And sure you can find the
Installer JavaScript Reference documentation there too. But nothing for
the Distribution Script reference (which is outdated or missing
multiple attributes and tags).
_______________________________________________
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