Re: Making Installer display an alert
Re: Making Installer display an alert
- Subject: Re: Making Installer display an alert
- From: Iceberg-Dev <email@hidden>
- Date: Tue, 31 Mar 2009 23:15:24 +0200
On Mar 31, 2009, at 12:29 AM, Aaron Griffin wrote:
Hello all,
In the past, our InstallationCheck script used the code described
here: http://developer.apple.com/qa/qa2001/qa1070.html
We found the Installer process, made it load scripting additions via
the process described in that link, and then sent a kDisplayDialog or
kDisplayAlert event. However, this stopped working in 10.5.6. We now
receive a -10004 error (errAEPrivilegeError: A privilege violation
occurred).
What needs to be done to ensure we have the ability to load scripting
additions via a separate process? Is there a better way to load
scripting additions in the Installer process itself? Or perhaps a
better way to display an alert as if it were part of the installer
process itself?
Why not just use the alerts that can be displayed by the installer?
If your InstallationCheck Script is a shell script (that is you don't
use a distribution script), by returning a value greater than 48, you
can display a custom stop alert or warning.
If your InstallationCheck Script is a JavaScript (that is you use a
distribution script), then it's just a matter of setting the proper
value for the my.result attributes.
_______________________________________________
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