11-15-2021 01:13 PM - edited 11-15-2021 01:36 PM
I am having trouble packaging and deploying macOS Monterey. Should you upload the installer as a DMG or PKG file on JAMF?
How do you deploy Monterey installer silently to a user's machine and have the installer run automatically without any user interaction?
Posted on 11-15-2021 09:10 PM
I too would like to hear the steps others are using to package the installer. I tried the same as above with a DMG and a PKG and it is failing to deploy.
Posted on 11-16-2021 01:17 AM
The best option for packaging up installers was created by the wonderful @talkingmoose !
His MegaPKGr Build Script is great for creating the installer package to place the macOS installer into the Applications folder, ready for use!
Posted on 11-16-2021 05:09 AM
Yes, that's really the best way to update/upgrade. not least because of the huge installer withe more than 12 gigabyte
Posted on 11-16-2021 08:24 AM
you can download the Monterey installer pre-packaged from Apple ready to upload to Jamf.
https://mrmacintosh.com/macos-12-monterey-full-installer-database-download-directly-from-apple/
Posted on 11-16-2021 04:06 PM
@TheWarmAtlantic do you know how to download it without using MrMacintosh's website? Just for future reference, it would be nice to go directly to Apples site. Having it prepackaged is a wonderful option. Thank you for sharing.
Posted on 11-16-2021 11:45 AM
I've been using this with some success. https://github.com/grahampugh/erase-install/wiki
Posted on 11-16-2021 04:04 PM
@daniel_behan , I would just like to thank you for pointing me towards this option. I have been playing with it for the past few hours and it looks very promising.
Thanks! 😀
Posted on 09-19-2022 02:37 PM
Hey,
This method worked like a charm with updating iMacs from 12.1 & 12.5 to the latest version 12.6. However, I'm facing issues with upgrading from older versions like 10.15 & 10.14 to Monterey 12.6, I tried Jamf Remote and ran the script with Execute Commands and also ran it as a policy through Jamf cloud. Any thoughts?
Posted on 09-19-2022 03:11 PM
I have a Jamf Policy that installs the package from https://github.com/grahampugh/erase-install/releases
And the same policy runs the following Files and Processes
/Library/Management/erase-install/erase-install.sh --force-curl --reinstall
This would curl the latest Production macOS and perform an in-place upgrade. Check out the usage suggestions for JAMF Pro at https://github.com/grahampugh/erase-install/wiki/8.-Use-in-Jamf-Pro
Posted on 11-17-2021 07:32 AM
The easiest way is probably to use the built in softwareupdate command to download the appropriate installer on the machine. This will pull the one you request down from Apple so you don't have to bother with uploading the installer in Jamf. Plus if it gets interrupted it'll just start where it left off, which is a huge plus when you're talking about a 12+ GB installer and remote users.
The command for the current macOS Monterey installer should look like this
softwareupdate --fetch-full-installer --full-installer-version 12.0.1
Just change the version number as new packages come out.
Posted on 11-17-2021 07:38 AM
Posted on 12-29-2021 01:26 PM
This worked for me. I changed the 12.0.1 to the 12.1 for my policy.
Thanks !
Posted on 12-06-2021 09:53 AM
Use DMG as it will not autolaunch the installer.
Also if you PKG it, you will received errors (well at least you did with Big Sur)