Jamf Pro "One Button" question

tleeper
New Contributor

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.

4 REPLIES 4

Anonymous
Not applicable

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.

tleeper
New Contributor

I'm using policy, not the packaged installer as it seemed much simpler. Suppose I'll go for the packaged installer. Thanks!

Anonymous
Not applicable

I went the package route as well since the command has often been a bit buggy

ricardtolosa
New Contributor III

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