RE: LaunchAgents in Tiger
RE: LaunchAgents in Tiger
- Subject: RE: LaunchAgents in Tiger
- From: "Glover,David" <email@hidden>
- Date: Wed, 30 Sep 2009 11:21:33 +0100
- Thread-topic: LaunchAgents in Tiger
Mine looks like this...
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>Application Name</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/scriptname</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
This works ok on my 10.4.11 (Intel) mac...
Regards,
Dave
-----Original Message-----
From: Sachin Srivastava [mailto:email@hidden]
Sent: 30 September 2009 11:11
To: Glover,David
Cc: email@hidden
Subject: Re: LaunchAgents in Tiger
Hello,
Thanks a lot for all your answers.
I have a 10.4.11 PPC machine. and the problem is still present in it.
Can you tell what all you have included in your plist file?
On 09/30/2009 03:35 PM, Glover,David wrote:
> Hi, perhaps this is a little off topic, but I thought that
LaunchAgents
> was introduced in Tiger and was working ok? It seems ok when I test
it,
> but this is on a 10.4.11 machine. Do you have these problems only on
> earlier versions of Tiger, or is it Tiger in general?
>
> Regards
> Dave
>
> -----Original Message-----
> From:
> installer-dev-bounces+david.glover=email@hidden
>
[mailto:installer-dev-bounces+david.glover=email@hidden
> le.com] On Behalf Of Ryan McGann
> Sent: 30 September 2009 03:42
> To: email@hidden
> Subject: Re: LaunchAgents in Tiger
>
> On Sep 29, 2009, at 12:07 PM, email@hidden
> wrote:
>
>
>> Hello all,
>>
>> 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.
>>
>> I put the plist file at /Library/LaunchAgents
>>
>> Also when logged in, if from terminal, if i fire:
>>
>> launchctl load /Library/LaunchAgents/com.launchd.myprogram.plist
>> (which
>> has RunAtLoad = true).
>>
>> 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.
>>
>> 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.
>
> Ryan
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> etheanworld.com
>
> This email sent to email@hidden
>
> Promethean Limited is a company registered in England and Wales with
company number 1308938 and VAT number GB 572 2599 18
> ______________________________________________
>
> Promethean Ltd and or associated and or subsidiary companies :
>
> The views expressed in this communication may not necessarily be
> the views held by Promethean Ltd and or associated and or subsidiary
companies.
>
> This e-mail is for the exclusive use of the addressee(s). Unauthorised
> disclosure, copying or distribution is prohibited.
>
> This e-mail message has been swept for the presence of computer
viruses.
>
> Promethean Ltd and or associated and or subsidiary companies accepts
no liability for any loss resulting from this email transmission.
>
> Promethean, Promethean House, Lower Philips Road, Blackburn,
Lancashire, BB1 5TH, UK. Please update your records accordingly. Thank
you!
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Installer-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
0enterprisedb.com
>
> This email sent to email@hidden
>
--
Regards,
Sachin Srivastava
www.enterprisedb.com
_______________________________________________
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