install_macOS
install_macOS copied to clipboard
Error when using locally found Install.app on nonDEP enrolled device
Exit Output was: Error: Could not find package at path /tmp/Jamf_QuickAdd.pkg ***** install_macOS process: FAILED *****
This was reported today by one of my Site Admins.
Basically this is a bug in the logic:
The issue is the script found a local “Install macOS Mojave.app” in the /Applications folder, so it didn’t need to download it, which is where it would have gotten the Jamf_QuickAdd.pkg.
If the device was DEP enrolled, this situation would not have occurred. (The logic checks to see if the device was DEP enrolled, if it was, it doesn’t look for the Jamf_Quickadd.pkg.)
Our systems are NOT DEP enrolled, and works if the macOS installer is located in Applications. We have a .pkg that installs the QuickAdd.pkg into /Library/CompanyName/pkgs/ (path is Jamf $10) as part of the install_macOS.sh policy set as priority of 1 so it is seperate from the pull to download the installer and only installs QuickAdd.pkg into our location for the erase/re-enroll policy. Doing that + the additional Jamf script params in my push request we've had no issues.