site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Hello all, I put the plist file at /Library/LaunchAgents Also when logged in, if from terminal, if i fire: In the /var/log/system.log i get launchd[2..2] com.launchd.myprogram:exited abnormally: Abort Trap However, if i run : sudo launchctl load /Library/LaunchAgents/com.launchd.myprogram.plist Everything works fine. Ryan _______________________________________________ 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... On Sep 29, 2009, at 12:07 PM, installer-dev-request@lists.apple.com wrote: My installer install a program, which i needed to run at user-login. Now for the same i have written a LaunchAgent but the problem is it is not launching at user-login. launchctl load /Library/LaunchAgents/com.launchd.myprogram.plist (which has RunAtLoad = true). I tried the same on a leopard and snow leopard box and everything works fine there without any problem. What is is that i am missing in Tiger? LaunchAgents are broken in Tiger. You must be using Leopard to use them. In Tiger, you can modify the LoginItems directly hwich is technically unsupported, but I doubt Apple is going to break it now. Google should be able to find you the code to modify the com.apple.loginwindow.plist, or you can just open it up in Tiger and figure it out--it's not terribly difficult. This email sent to site_archiver@lists.apple.com