site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=lpsOn3f5+PNHLcC2ZQbQbT9kU4xYPFs//Fh/tPWk8EM=; b=u1G7BlDMM464k1B5UC10wy6TLj/UKVkrEEAMSjYb8d1Xu0J+lp1KV22i7jOaOvTf9H IGoobSfYkL5SJnBc/Y3ALrnOIF/rSe3NEHAxckGWhvKXaGWl7QCcPf1tU1RfuXuj68jU 4poWXJOh4HllwYpeiAgzayBiWrReW2zpywJkc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=ttmcbSOGr56gS9VRseNkvYLYMIcpevU/6wbmBchSWNUrH1M548jAdZTgrm+Xan6Bvy PP385t7BxEdmYPU6V/0qzDongW84IT87Jv8DVyCUEU5GIUbNRYRMSCT/3iMf4tGywKK0 nC2XcQzocUfmF71exQyBc02dy733o/nMMqdss= 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? _______________________________________________ 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... 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. This email sent to site_archiver@lists.apple.com