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 Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=PfOOTLIay++KnNaVNCYie/YhDcwnS6ShkrlqdzAkheD+Vn3umkHITITO4TabjJeHx6sZ4ajzrVhxKmsHcTFZzJ0lhFZ/hZ9uWldhC+Q26DsBcROdRX3CsNbNFPd8/Ty8Dw/4HuM4qTgV5/djpvANMqnvGyKFJ6pwoXay3LP80W8= ; User-agent: Thunderbird 2.0.0.14 (Windows/20080421) Hmm... it doesn't seem to invoke anything... I tried changing the post installation script to : open -b com.apple.TextEdit But, after it installs a file, it doesn't invoke the TextEdit... So.. is the PackageMaker broken? 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. Can anyone tell me what can be wrong and how to fix it? Or is it prohibited to install a log in item like this? Thank you. _______________________________________________ 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... JongAm Park wrote: 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
JongAm Park