Posted on 10-16-2020 09:14 AM
Hi, I have set up the following process as designated below:
https://www.jamf.com/blog/reinstall-a-clean-macos-with-one-button/
After some minor syntax tweaks it works fine. However, the guide states that it "silently downloads" the Catalina installer, when that does not seem to be happening. Instead, when the Catalina installer gets cached in Applications, the user is still greeted with the Install Catalina window that they will have to Quit out of.
I would much prefer if it were completely silent and simply placed the installer in Applications. Any suggestions? I tried examining the arguments available for the softwareupdate command and couldn't find any quiet or silent modes right off the bat.
Posted on 10-16-2020 09:29 AM
Are you using the softwareupdate --fetch-full-installer
policy or are you packaging the installer with Composer?
I've seen with the softwareupdate --fetch-full-installer
policy that often it will prompt the user, where using the packaged installer has not prompted.
Posted on 10-16-2020 10:27 AM
I'm using policy, not the packaged installer as it seemed much simpler. Suppose I'll go for the packaged installer. Thanks!
Posted on 10-16-2020 01:45 PM
I went the package route as well since the command has often been a bit buggy
Posted on 10-18-2020 02:50 AM
It depends a lot on your setup but maybe the easiest way to achieve what you want would be a policy with the macOS installer you have approved in your environment. That policy would be called from the script if the installer is not present already. Another option would be to give a go to the mighty installinstallmacos.py script from here: https://github.com/munki/macadmin-scripts