There are two main OS X deployment scenarios:
Deploying an OS X upgrade—This allows you to preserve the settings and files on computers. It should be used for upgrading OS X on computers that are already configured in your environment.
Deploying OS X 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 an OS X upgrade using the Casper Suite v9.2 or later, and for deploying OS X by imaging using the Casper Suite v8.3 or later.
For a workflow for deploying an OS X upgrade using the Casper Suite v8.3-9.1, see below.
Deploying an OS X Upgrade Using the Casper Suite v8.3-9.1
To deploy an OS X 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 OS X. For example, Install OS X Mountain Lion.app. You can obtain the latest .app file for OS X from the Mac App Store.
- An Apple ID
- Managed computers with:
- (For deployments of OS X v10.10 or later only) OS X v10.7 or later Computers with OS X v10.5 or OS X v10.6 must be upgraded to OS X v10.7 or later before upgrading to OS X v10.10.
- Self Service
- The system requirements for the version of OS X that you plan to deploy
- For OS X v10.7 system requirements, see http://support.apple.com/kb/HT4949.
- For OS X v10.8 system requirements, see http://support.apple.com/kb/HT5444.
- For OS X v10.9 system requirements, see http://support.apple.com/kb/HT5842.
- For OS X v10.11 system requirements, see https://support.apple.com/en-us/HT201475.
- Log in to the JSS and create a smart group for the Macs that are running OS X v10.6.8 or later. For more information, see the Casper Suite Administrator's Guide.
- Copy the .app file for OS X 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 OS X v10.7:
#!/bin/sh /Users/Shared/Install\ Mac\ OS\ X\ Lion.app/Contents/MacOS/Install\ Mac\ OS\ X\ Lion&
- For OS X v10.8:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Mountain\ Lion\ 10.8.3.app/Contents/MacOS/Install\ OS\ X\ Mountain\ Lion&
- For OS X v10.9:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Mavericks.app/Contents/MacOS/Install\ OS\ X\ Mavericks&
- For OS X v10.10:
#!/bin/sh /Users/Shared/Install\ OS\ X\ Yosemite.app/Contents/MacOS/InstallAssistant&
- For OS X v10.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 OS X v10.7 or v10.8 to the policy, and ensure that the FUT and FEU options are deselected.
Note: Deploying the OS X v10.7 or v10.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.