Skip to main content
Question

Jamf Pro "One Button" question

  • October 16, 2020
  • 4 replies
  • 19 views

Forum|alt.badge.img+2

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

  • October 16, 2020

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.


Forum|alt.badge.img+2
  • Author
  • New Contributor
  • October 16, 2020

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


  • October 16, 2020

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


Forum|alt.badge.img+6
  • Contributor
  • October 18, 2020

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