There are two main macOS deployment scenarios:
Deploying an macOS upgrade—This allows you to preserve the settings and files on computers. It should be used for upgrading macOS on computers that are already configured in your environment.
Deploying macOS by imaging—This gives you complete control over the settings and files on computers. It should be used for configuring newly purchased computers or re-purposing computers that are already part of your environment.
The following technical paper provides workflows for deploying a macOS upgrade using the Casper Suite v9.2 or later, and for deploying macOS by imaging using the Casper Suite v8.3 or later.
For a workflow for deploying a macOS upgrade using the Casper Suite v8.3-9.1, see below.
Deploying a macOS Upgrade Using the Casper Suite v8.3-9.1
To deploy a macOS upgrade using the instructions in this article, you need:
- The JSS v8.31 or later
- Casper Admin
- Casper Imaging
- The .app file for the appropriate version of macOS. For example, Install OS X Mountain Lion.app. You can obtain the latest .app file for macOS from the Mac App Store.
- An Apple ID
- Managed computers with:
- (For deployments of macOS 10.10 or later only) macOS 10.7 or later Computers with macOS 10.5 or macOS 10.6 must be upgraded to macOS 10.7 or later before upgrading to macOS 10.10.
- Self Service
- The system requirements for the version of macOS that you plan to deploy
- For macOS 10.7 system requirements, see http://support.apple.com/kb/HT4949.
- For macOS 10.8 system requirements, see http://support.apple.com/kb/HT5444.
- For macOS 10.9 system requirements, see http://support.apple.com/kb/HT5842.
- For macOS 10.11 system requirements, see https://support.apple.com/kb/SP728?locale=en_US.
- Log in to the JSS and create a smart group for the Macs that are running macOS 10.6.8 or later. For more information, see the Casper Suite Administrator's Guide.
- Copy the .app file for macOS to the /Users/Shared/ directory.
- Package the .app file as a DMG using Composer or a third-party package building tool. With Composer, this can be done by simply dragging the .app file from /Users/Shared/ to the left pane of the main Composer window.
- Add the package of the .app file to Casper Admin. For more information, see the Casper Suite Administrator's Guide.
- Create a script to call the installer: a. Open TextEdit and create a new file. b. From the Format menu, choose "Make Plain Text". c. In the TextEdit file, enter a command similar to one of the following:
- For macOS 10.7:
#!/bin/sh /Users/Shared/Install\ Mac\ OS\ X\ Lion.app/Contents/MacOS/Install\ Mac\ OS\ X\ Lion&
- For macOS 10.8:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Mountain\ Lion\ 10.8.3.app/Contents/MacOS/Install\ OS\ X\ Mountain\ Lion&
- For macOS 10.9:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Mavericks.app/Contents/MacOS/Install\ OS\ X\ Mavericks&
- For macOS 10.10:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Yosemite.app/Contents/MacOS/InstallAssistant&
- For macOS 10.11:
#!/bin/sh /Users/Shared/Install\ OS\ X\ El\ Capitan.app/Contents/MacOS/InstallAssistant&
- Save the file with a .sh extension.
- Add the script that you just created to Casper Admin and assign a priority of "After" to it. For more information, see the Casper Suite Administrator's Guide.
- Create a policy manually in the JSS to execute the installer:
a. On the Self Service tab, select the Allow this Policy to be used for Self Service checkbox.
b. On the General tab, set the trigger to "None (Self Service only)" and the execution frequency to "Ongoing".
c. Assign the smart group that you created in step 1 to the scope.
d. On the Packages tab, add the DMG containing macOS 10.7 or 10.8 to the policy, and ensure that the FUT and FEU options are deselected.
Note: Deploying the macOS 10.7 or 10.8 DMG and using HTTP for downloads will allow for resumable downloads.e. On the Scripts tab, add the script that you created in step 5 to the policy, and select the Run After option.