OK, no VPP yet, and we need to deploy Apple Configurator 2. Should be straight forward, like every other App Store app, right?
Um, nope. On first launch user needs to go to Apple Configurator 2 > Install Automation Tools... which creates these two symbolic links, and of course requires admin rights:
/bin/ln -s /Applications/Apple Configurator 2.app/Contents/MacOS/cfgutil /usr/local/bin/cfgutil
/bin/ln -s /Applications/Apple Configurator 2.app/Contents/Resources/cfgutil.1 /usr/local/share/man/man1/cfgutil.1
Took a close(r) look and it seems like the completion flags are put here (using "$u" since we plan to loop the settings through all user directories...if possible...danged sandboxed apps!):
/usr/bin/defaults write /Users/"$u"/Library/Containers/com.apple.configurator.ui/Data/Library/Preferences/com.apple.configurator.ui.plist HasInstalledAutomation -bool true
/usr/bin/defaults write /Users/"$u"/Library/Containers/com.apple.configurator.ui/Data/Library/Preferences/com.apple.configurator.ui.plist LastAcceptedConfiguratorLicenseVersion EA1353
Anyone figure out how to do this? When user installs Apple Configurator 2, he/she should not have to Install Automation Tools....
PS, is it even possible/advisable to try to use defaults for pref files in ~/Library/Containers/ ?
