• 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: osascript and Mac OS X v10.5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: osascript and Mac OS X v10.5.4


  • Subject: Re: osascript and Mac OS X v10.5.4
  • From: Karl Kuehn <email@hidden>
  • Date: Mon, 11 Aug 2008 13:42:06 -0700

On Aug 11, 2008, at 1:31 PM, Luke Bellandi wrote:

I’ve got a preflight script that executes AppleScript via osascript. This works in Mac OS X v10.4, but not in 10.5.4

I don't have an answer for you, but as a System Admin I am going to caution you to not use AppleScript in an installer that you are going to put out into the public. And as you are emailing from an Adobe.com address I am going make this warning even more stern (as your company has put out a lot of really bad installers and is loathed in the SysAdmin community for it):


You can not tell how your installer is going to be run by your clients, and there are a lot of places where using an AppleScript in an installer will have inappropriate side-effects. Most notably is that System Admins was to be able to push .pkg's through tools such as Apple Remote Desktop which means that the installer can be run in the background, with root permissions, behind the login-window. If in this case you call anything to Finder it will try and launch in the context of root, at the login-window. Meaning that anyone who wanders by now has a Finder window with root permissions ready to wreck havoc on the system.

So, there is probably a far better way of achieving the end goal that you are trying for... or you need to really examine your end-goal. If you want, this list can help you with either of these two goals.

--
		Karl Kuehn
			email@hidden



_______________________________________________
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


References: 
 >osascript and Mac OS X v10.5.4 (From: Luke Bellandi <email@hidden>)

  • Prev by Date: osascript and Mac OS X v10.5.4
  • Next by Date: Re: postinstall scripts not executing
  • Previous by thread: osascript and Mac OS X v10.5.4
  • Next by thread: Re: osascript and Mac OS X v10.5.4
  • Index(es):
    • Date
    • Thread