Posted on 04-19-2012 06:30 AM
Hi all,
Any idea how to set a non-Apple app as a login item via a configuration profile or Casper MCX?
I know i could do this via a LaunchAgent, but am trying to avoid that for now if possible.
Solved! Go to Solution.
Posted on 04-19-2012 06:41 AM
Sorted:
Create a config profile > select login items > items > add the path to the app bundle.. voila!
Posted on 02-24-2014 10:43 AM
Hi @zskidmor,
I found that adding the app to a profile in v8 would disappear from the GUI.
I now just deploy LauchAgents into
/Library/LaunchAgents/.
Works well.
Posted on 04-19-2012 06:35 AM
something along these lines should work for you
defaults write /Library/Preferences/loginwindow AutoLaunchedApplicationDictionary -array-add '<dict><key>Hide</key><false/><key>Path</key><string>/Library/Application Support/PGP/PGP Engine.app</string></dict>'
that will set it as a login item for all users of the computer.
Posted on 04-19-2012 06:41 AM
Sorted:
Create a config profile > select login items > items > add the path to the app bundle.. voila!
Posted on 10-19-2012 08:54 AM
Ben:
Are you able to re-edit that policy or set it as a user-level profile?
Only works first time here and only in a computer-level profile.
Posted on 10-19-2012 12:51 PM
Hmm.. What JSS are you on? I'm on 8.61..
The reason I went Computer level was so I knew it would be applied @ every login, instead of potentially being requested/pulled from the JSS @ login.
Posted on 02-24-2014 07:29 AM
Anyone know how to do what @bentoms does in the 9.24 JSS? I don't see the option to add a path to a bundle
Posted on 02-24-2014 10:43 AM
Hi @zskidmor,
I found that adding the app to a profile in v8 would disappear from the GUI.
I now just deploy LauchAgents into
/Library/LaunchAgents/.
Works well.
Posted on 09-24-2018 08:12 AM
I've found if you omit the trailing slash from the bundle path it disappears, but leaving it in works.
/Applications/Chess.app
- Does not work/Applications/Chess.app/
- Works
Posted on 09-24-2018 08:19 AM
I should also note I just found that the disappearing one still* exists in the Configuration Profile if you look at the mobileconfig. It just doesn't show in the GUI. This was killing me trying to find out why the "Hide" checkbox was not checked when the config profile actually landed on the machine. It's because the setting was in there twice, once for the "hidden" one and once for the correct one with Hide enabled.
{
"AutoLaunchedApplicationDictionary-managed" = (
{
Hide = 0;
Path = "/Applications/Chess.app";
},
{
Hide = 1;
Path = "/Applications/Chess.app/";
},
);
PayloadUUID = "long-redacted-UID";
}