Re: Option to execute a command?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Mar 31, 2011, at 12:07 AM, Per Olofsson wrote:
Ah, I assumed that you need to load a LaunchDaemon, which executes in the system's context, but you're loading a LaunchAgent, which executes in the user's session. Loading and unloading LaunchAgents for users is notoriously difficult, see:
Yes, you were right. I intended to use a LaunchDaemon but was erroneously using a LaunchAgent. I switched it over to a LaunchDaemon and it is working now! There remains only one little issue. When I build the package, PackageMaker always complains about my script group ID: com.apple.PackageMaker[1294] Warning: Group ID 80 does not match 0 of root volume for "/Applications/ClassServer/Start_Autolaunch.csh". Make sure to have disk permissions repaired with Disk Utility. For one of the files, it says "Group ID 80", for another it says 20. I did run Disk Utility but apparently that's not the problem... Thanks! _______________________________________________ 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... This email sent to site_archiver@lists.apple.com
participants (1)
-
Nathan Sims