Hello all. I have created a policy that pushes Mojave package to a device. I created that package with Composer and it should go to the Application Folder. Logs for the policy shows that policy ran with out any errors, however Mojave Package not showing up in Application Folder. Any one seen that behavior before?
Cache Mojave Installer
Best answer by hdsreid
@ekarazhov if you want it to be installed in the applications folder, make a new policy, select the mojave package, and select "install cached" from the package options. this will install the package that you cached, making it visible to the user, with a /Applications/Install macOS Mojave.app being put in there as expected.
I think your confusion may be due to how controlling OS install differs from a normal package. normally i cache a package to have it ready for a planned installation policy being implemented. then i create a policy to install the cached package, and it installs. with the OS, you need to cache the package, install the package, then run an additional script to actually run the application to do the installation.
so for mojave, i have done it a few ways. when i did the package, it was
1) policy to cache package (places the .pkg in Waiting Room)
2) policy to install cached package (puts Install macOS Mojave.app in the Applications folder), and run a script after that calls
/Applications/Install macOS Mojave.app/Contents/Resources/startosinstall --agreetolicense
for in place upgrades.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
