PDA

View Full Version : PackageMaker & LaunchAgents - halp!




BeauGiles
May 23, 2009, 09:49 AM
Hi guys!
I'm trying to use PackageMaker to create an installer, which is meant to save a file inside ~/Library/LaunchAgents/, but I haven't been having much luck.

It runs and installs fine for my own user account (doesn't it always?!), but if I run it on another computer/user account, Installer gives me this error;

Installer could not install some files in /Users/xyz/Library/LaunchAgents.
Contact manufacturer for assistance

It sounds like a permissions error, except I'm not quite sure where to go from here?
I've uploaded the pkg file it creates, the PackageInstaller file, as well as the plist I'm trying to install - http://beaugil.es/gsync.zip.

Any help would be much appreciated. :)
Thanks in advance!

(Oh, if you're wondering what it does; it simply calls the Google sync daemon every 15 minutes. Trying to make it into an installer to help other people and make life easier for them)