• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Installer.app can't 'display dialog'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installer.app can't 'display dialog'


  • Subject: Re: Installer.app can't 'display dialog'
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 5 Aug 2008 22:50:08 -0700

You've probably got the new security update installed on one but not the other. Processes with "unusual" credentials (basically, if issetugid(2) returns true) are no longer allowed to receive scripting addition commands.


--Chris Nebel AppleScript Engineering

On Aug 4, 2008, at 12:32 PM, Olof Hellman wrote:

I’ve got two machines running 10.5.4 – both Intel – one a MacPro, the other a MacBook Pro. Running this script:

   tell app “Installer”
               launch
               display dialog “Fred”
   end tell

succeeds on one machine and fails on the other. On the machine that fails, event log shows this:

tell application "Installer"
launch
current application
display dialog "Fred"
«event ascrgdut»
display dialog "Fred"
"Installer got an error: \"Fred\" doesn’t understand the display dialog message."


On the machine where the script succeeds, there is no ascrgdut event, and the display dialog line appears only once. If I target app “System Events”, the both machines succeed, both machines show an ascrgdut event, and System Events returns {} from the ascrgdut event on both machines. All relevant pieces of the OS look the same (i.e. versions of Script Editor, the SystemAdditions.osax, the Installer app bundle, which the exception that the Installer has two localized versions of Portuguese resources – pt and pt-PT for the machine that fails as opposed to just pt for the machine that works.

So the question is: anyone know why the two machines are acting differently? Any hints on where to look?

- Olof Hellman
Microsoft MacBU
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Installer.app can't 'display dialog' (From: Olof Hellman <email@hidden>)

  • Prev by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Next by Date: Re: Words of Bug in Leopard (Japanese environment)
  • Previous by thread: Installer.app can't 'display dialog'
  • Next by thread: Words of Bug in Leopard (Japanese environment)
  • Index(es):
    • Date
    • Thread