How to install iTunes on Windows with MDT 2010

I came across the need to deploy iTunes using MDT 2010. Unfortunately, there is no way to run the usual setup file with switches.

The key is to expand the installer (using 7-zip) and then create hidden applications for each component (that also allows you to prevent Bonjour or Apple Software update from installing...).

Install the MSI files in this order:

ApplicationSupport.msi
MobileDeviceSupport.msi
SoftwareUpdate.msi
Quicktime.msi
Bonjour.msi
iTunes.msi

Using this command: msiexec /i XXX.msi /qb REBOOT=ReallySuppress
(where xxx is the msi filename, of course)


It also works for the 64-bit version. Every time there is an update of iTunes, simply overwrite the files on your network share.

Namaste.

How to set the network adapter order from the command line.

You will notice that now matter how you install your operating system, the network adapters order is very likely to be wrong, usually with the wireless adapter at the top.

How to find out:
  • Open the Control Panel.
  • Open "Network and Sharing Center".
  • On the left pane, click on "Change Adapter Settings".
  • Press the Alt key on your keyboard then on the menu bar that appears, click Advanced > Advanced settings.
  • On the first tab, "Adapters and Bindings" check what connection is at the top.
Now, there's a way to automate this for enterprise deployment: Hyper-V Network VSP Bind Application.

This utility is not intended to be used on client Operating Systems but indeed works great. All the info is here: http://code.msdn.microsoft.com/nvspbind

Simply copy the executable to a known location and execute the following command:

nvspbind /++ "Local Area Connection" *

Where /++ puts the adapter named "Local Area Connection" at the top for all protocols with *

Namaste.

Twitter Delicious Facebook Digg Stumbleupon Favorites More