site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=680Tebuvime/bl/l6wc08umPHa2Rn946FuAvFuQOGDE=; b=vbBgtCNEr4eV6b7eRoqDm00GoK4joWf6gPd8jwpCHjq3NTYegqZIXnVWcBw3aoiy7n v7aW9aIr0sAWHnS526rRY6yeH3pktvtTX1jzISaOjbwEFHYe1NPzfO4rq4RCRli+qwsl 8PdZ5Q6y4FZ9Ou0ZpsdZSRG8069MGnfNQfACY= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=UH2M+rxHV2zQUz64RKu46CAU/BoIQw3aCUML2+ZWPk1GpaNMvo2/sueIU3RyPC7eTt Al9L+gtpTuurS57/LZIkcbX5qxP2s7MxF1F6sXLvFr+Kz8orTK7XVqxef3J+pWU9UxuE ENSc1y2mlOki9RH905W9K7+ul7GxDyS4UVle8= On Aug 26, 2009, at 2:25 PM, Citizen wrote: Hello, Use the $USER env var? _______________________________________________ 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... [...] 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. This email sent to site_archiver@lists.apple.com