How to update Mac OS X to Sierra via Parallels Management for Mac
Put the Install macOS Sierra.app file somewhere on the Mac in the user Home Folder (e.g. on the Desltop).
On the Mac with Install macOS Sierra.app file open Terminal and change directory to ../Install macOS Sierra.app/Contents:
in Finder navigate to Install macOS Sierra.app > right-click it > Show Package Contents.
in Terminal window type "cd " - note the space after "d".
drag and drop Contents folder from Finder to Terminal window, so the command will look like
cd /<some_path>/Install\ macOS\ Sierra.app/Contents/Contents
- hit Enter
Archive "Frameworks" folder by executing the following commands in Terminal:
sudo su tar -cf Frameworks.tar.gz Frameworks
move the original folder and compressed file in the directory where Install macOS Sierra.app is located:
mv Frameworks.tar.gz ../../ mv Frameworks ../../
In Finder check that in Install macOS Sierra.app/Contents directory there is NO Frameworks.tar.gz file and Frameworks folder.
In Finder check that Frameworks.tar.gz file and Frameworks folder are located in the same directory where Install macOS Sierra.app is located.
Now copy Install macOS Sierra.app and Frameworks.tar.gz file (Frameworks folder should not be copied) to the SCCM server.
If you need a working .app installer on Mac side, go back to Terminal and move Frameworks folder back to its default directory (make sure this is done after the files are copied on the server):
mv ../../Frameworks ./
On the SCCM server Create macOS Sierra package:
Right click on Packages in Software Library -> Overview -> Application Management and click Create Package in opened context menu.
Fill in the fields. Check 'This package contains source files' checkbox, click Browse... and specify the required directory. Click Next in Package page of the wizard.
Choose Standard program and click Next in Program Type.
At Standard Program page:
- Specify Name.
Use the following Command line:
tar -xf Frameworks.tar.gz -C 'Install macOS Sierra.app/Contents/' && chmod -R 777 'Install macOS Sierra.app' && ./'Install macOS Sierra.app/Contents/MacOS/InstallAssistant'
- Set Run mode to Run with adminisrtative rights.
- Tick Allow users to view and interact with program installation checkbox .
- Click Next.
- Leave other field values in the wizard as is.
Configure properties of the package to copy it's content to distribution point:
Right click on the macOS Sierra package in Software Library > Overview > Application Management > Packages and click Properties in opened context menu.
Check Copy the content in this package to a package share on distribution points checkbox in Data Access tab of the package properties dialog.
- Apply changes and close the dialog.
Deploy the macOS Sierra package:
Right-click on macOS Sierra package in Software Library > Overview > Application Management > Packages > Deploy.
Choose required collection in General page of the wizard.
Add Distribution Point on Content page of the wizard.
Add assignment schedule Assign immediately after this event: As soon as possible.
- Leave other parameters as is.