Re: [Q] Is there a way to log what a postinstallation shell script does?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Hello. I wrote a post installation script like : #!/bin/sh echo $1 echo $SCRIPT_NAME sudo -u $USER osascript $1/Contents/Resources/Add_Login_Item.scpt exit 0 The content of the Add_Login_item.scpt is : The path is the installed path of the interested application. _______________________________________________ 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... Le Jun 24, 2008 à 12:19 AM, JongAm Park a écrit : tell application "System Events" make new login item at end with properties { path:"/ Library.......", hidden:flase} end tell However, nothing happens. Also, although I put the echo $1 and so on, I couldn't see the echoed information from the console. So I don't know what is happening. Where are you looking for the output? Console.app or Installer.app log window? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Sudre