We've created a .pkg using composer to copy a launch agent to /Library/LaunchAgents/ so that when users logon they will have written to their ~/Library/Preferences/com.whatever.application.plist . Is there a better way of doing this? Has anyone done something like this and how did you accomplish the task?