App DeploymentDon't Feed the Technician

SCCM Deploy – Apple iTunes

In this guide I will walk though the steps to get Apple iTunes deployed using SCCM 2012 sp2.

You need to download the full offline iTunes package from Apple’s website (version 12.1.3 at this time) – https://support.apple.com/kb/DL1615?locale=en_US

Save it to an accessible place but doesn’t need to be where you put your other SCCM files as we will need to extract the MSI files from it.

You will also need to have Orca installed to edit the MSI’s – http://www.klaus-hartnegg.de/gpo/orca.html

 

Get the MSI’s

  • Open Run (windows key + R)
  • Type in %temp%

This will open a folder and depending on several things you may/may not have other folders in here.

  • A trick to easily find the new folder, highlight all the current folders in %temp%
  • Run the downloaded iTunes .exe
  • You will notice a new Temp folder being created, inside will be the iTunes MSI’s we need to deploy.
  • Take the MSI’s and put into a stable folder for deploying with SCCM. e.g \\server\applications\Apple\iTunes\13.1.3\
  • Now we don’t need all the files we got so now delete Setupadmin.exe and AppleSoftwareUpdate.msi

Quicktime MSI

As quicktime msi doesn’t get extracted anymore from iTunes you will need to download the latest version – https://support.apple.com/kb/dl837?locale=en_US

  • Open Run (windows key + R)
  • Type in %temp%

This will open a folder and depending on several things you may/may not have other folders in here.

  • A trick to easily find the new folder, highlight all the current folders in %temp%
  • Run the downloaded quicktime.exe
  • You will notice a new Temp folder appear, inside will be the Quicktime MSI we need to finish deploying iTunes.

SCCM Deploy - Apple iTunes

Edit MSI’s

  • Now right mouse click itunes.msi and edit using orca.
  • Now Make the following changes:

– From view select summary information. Within this window in languages remove all but 1033. Press OK
– Click “Property” from the table and adjust – REGSRCH_DESKTOP_SHORTCUTS to 0, REGSRCH_MEDIA_DEFAULTS to 0, SCHEDULE_ASUW to 0. Create a new row REENABLEAUTORUN and set this to 0 (if you want to ensure autorun is not reenabled)
– From “LaunchCondition” table drop the “NOT BNEWERPRODUCTISINSTALLED” entry. See one of the above URLS for the reason for this.
– From the “checkbox” table set all values to 0. This will mean if a manual install is done of the application then all the annoying options are unpicked by default.
– Save MSI

  • Now to edit quicktime.msi using orca
  • Make the following edits to the MSI:

– From view select summary information. Within this window in languages remove all but 1033. Press OK
– From the “Property” table adjust the properties for REGSRCH_DESKTOP_SHORTCUTS to 0 and SCHEDULE_ASUW to 0.
– From the “Checkbox ” table adjust ChkOptInstASU to 0 & ChkOptInstShortcuts to 0. This will mean if a manual install is done of the application then all the annoying options are unpicked by default.
– From The “shortcut” table remove QuickTimePlayer_Desktop & QuickTimeUninstaller. This will remove the annoying shortcuts
– From “LaunchCondition” table drop the “NOT BNEWERPRODUCTISINSTALLED” entry. See one of the above URLS for the reason for this.
– Save MSI

The Script

  • Make a new notepad file and paste in the following code and save in the same folder as the iTunes MSI’s as install.bat.
@echo off
start /wait msiexec /i AppleApplicationSupport64.msi /passive
start /wait msiexec /i AppleMobileDeviceSupport6464.msi /qn
start /wait msiexec /i Bonjour64.msi /qn
start /wait msiexec /i quicktime.msi ASUWISINSTALLED=0 SCHEDULE_ASUW=0 REGSRCH_INSTALL_ASU=0 /qn
start /wait msiexec /i itunes6464.msi /passive
exit 0

 

Deploy iTunes

So inside your deployment folder for iTunes it will have the 5 MSI’s and 1 batch file.

SCCM Deploy - Apple iTunes

  • Click Create Application Wizard
  • Click Browse and navigate to the UNC of the iTunes.msi and click ok.
  • Next
  • Now input all the details you wish for publisher and version…
  • For the installation program change it from to simply install.bat
  • Click Next and finish the setup.
  • Now distribute the package and deploy to a test computer.

This isn’t a fully silent install, the end user will get a window or two showing installs, this is because i had to use the /passive syntax they end user will get an installing window but they wont get any options to click. This came about after trying several commands to make it a true silent install, but im sure users wont care as long as they have their iTunes music.

4 thoughts on “SCCM Deploy – Apple iTunes

  1. hi this is great thank you so much
    one thing! It seems this way you are skipping the x32 software support MSI installation and it turned out that it causes problems. IF you add that as well all goes well. And yes I know this is for X64 and I know the laptop we want to install with this is also x64 but still installation goes well but when you connect your iphone it freezes without it

Leave a Reply

Your email address will not be published. Required fields are marked *