Unfortunately, iTunes doesn't like being installed outright.
There are a few happy ways to get it to install.
For this quick and dirty method, download iTunes or iTunes64, depending on your deployment, and Quicktime. If you're using a Mac to manage this mess, like me, be sure to download the Windows versions. 12.0.1 is current as of this tutorial.
Once downloaded, extract the contents of the .exe files using 7zip or Keka (Mac).
You'll find four .msi files in the QuickTimeInstaller folder, and six in each iTunesSetup folder. Copy QuickTime.msi to both iTunesSetup folders, and dump all the other QuickTime files.
Rename iTunesSetup to 12.0.1 and 12.0.1_64bit, for easy recognition, and delete SetupAdmin.exe. These will function as the version folders you put in your iTunes folder on your application server or distribution point.
This is the install.cmd script for 32-bit iTunes in 32-bit Windows 7.
This install.cmd is for 64-bit iTunes in 64-bit Windows 7.
Put the install.cmd in the same folder as the .msi files. This will be the SCCM executable.
Notice the Desktop Shortcut variable in the QuickTime installation? This code is reused for earlier versions of QuickTime, some of which actually respond; the if exist statement is only a fallback.
Always use the exit code snippet to the end of any batch script; SCCM may not be sensitive to the orphaning of a script, and an orphaned default installation will run 120 minutes before forcing detection.
These scripts are likely to work for future versions of iTunes (QuickTime has stayed at 7.5.5 for a long time), and have worked without any editing since version 11 of iTunes, as the .exe files extract to .msi files of the same names.
In order to make this script deployable, use the Manual Script Application Installer Method.
I've since evolved this process so that installers are individually deployed, and post configuration is done via batch script, which then calls the individual installers as dependencies. The process is a bit more involved, but also cleaner.
In early 2014 I began a journey into SCCM. I completed a server installation, with SQL. I installed SCCM and upgraded to SP1. An in-place upgrade to R2 broke half of the configurations. I've since converted our update server to an update site, and brought the system to the point of deployment with migration, when a generator test kills the server. One month of stressful nurturing down the drain. After a day of pondering how to proceed, I've decided to document via Blogger.
Friday, October 24, 2014
Manual Script Application Installer Method
Unfortunately, SCCM is unable to automatically detect and configure an application installer for every installation. SCCM isn't necessarily very good at doing this with an MSI. For this reason, most installations, outside of the absolute most common, are customized or batch scripted. Batch scripting requires manual deployment.
Create a new application package. Manually configure.
It's pretty satisfying to have a product code for detection, but be sure it's a part of the installation, or you'll end up with deployment errors. I'll be working on a tutorial for detection. Click Next.
Set experience as necessary. Next until finished.
I've used this for lots of quick installation configurations early on, but I use it mostly to script post installation configurations that keep users from having to do anything but use programs as intended.
Subscribe to:
Posts (Atom)