• 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: Advice on installing an Agent to the users home directory
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice on installing an Agent to the users home directory


  • Subject: Re: Advice on installing an Agent to the users home directory
  • From: Iceberg-Dev <email@hidden>
  • Date: Wed, 26 Aug 2009 22:14:25 +0200


On Aug 26, 2009, at 2:25 PM, Citizen wrote:

Hello,

[...] For the User Domain, the perl command does not work. The result for this is the path "/Library/LaunchAgents/ com.zenopolis.ApplicationAgent.plist". What I was attempting to get was the path "/Users/username/Library/LaunchAgents/ com.zenopolis.ApplicationAgent.plist".

Is this general approach correct? Do I just need to keep searching and work out the right scripting voodoo? Or is this likely to be a dead end anyway? Are any of you tackling this same requirements in a completely different way?

The following two attempts lead me to believe that I needed to set an absolute path in the Application Agent Property List:

* I've tried replacing -ROOTPREFIX- for the User Domain with "~". The console showed the error: posix_spawnp("~/Applications/ ApplicationAgent.app/Contents/MacOS/ApplicationAgent", ...): No such file or directory.
* I've also tried making the ProgramArguments value in the Agent Property List a relative path (../../Applications/ ApplicationAgent.app/Contents/MacOS/ApplicationAgent), but this did not work in the User Domain. The console showed the error: posix_spawnp("../../Applications/ApplicationAgent.app/Contents/ MacOS/ApplicationAgent", ...): No such file or directory.

Use the $USER env var?

_______________________________________________
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: 
 >Advice on installing an Agent to the users home directory (From: Citizen <email@hidden>)

  • Prev by Date: Re: 10.6 Upgrade kills permissions on Application Support folder
  • Next by Date: Re: clarification re: Mac OS X standard directories inside a component’s hierarchy
  • Previous by thread: Advice on installing an Agent to the users home directory
  • Next by thread: Re: Advice on installing an Agent to the users home directory [SOLVED]
  • Index(es):
    • Date
    • Thread