Changes

ITunes

361 bytes added, 15:34, 4 December 2012
Updated to iTunes 11
= General Information =
Apple iTunes is primarily a program to play different types of media, but it is also required if you want to backup an IPod/IPad/IPhone or sync your emails, notes, bookmarks etc over USB with your PC. ITunes comes bundled with multiple sub programs that are all automatically installed when running the regular ITunes setup wizard. However depending on your use case you don't actually need all of them. Therefore this page is divided into two subparts: On the one hand a full blown ITunes installation (excluding Apple Software Update) when you actually want to use ITunes as an audio and video player, podcast streamer, etc and on the other hand a minimal ITunes installation if you only want to use it to sync/backup an IPhonemobile devices.
ITunes is one of the programs that are more difficult to package, since Apple is using it as a vehicle to distribute their other software. To get rid of at least some of those "extra" programs additional configuration steps are necessary to perform. Please read the instructions carefully, because some things here dont work as you would assume. Don't blindly copy and paste the XML code.
= Pre-Setup Process =
The ITunes installer consists of multiple MSI packages for each of its sub programs and a runtime that executes those MSI packages one after the other. To extract the MSI files do the following:
* Download the ITunes setup file from [http://www.apple.com/itunes/download/ Apple ] (usually called iTunesSetup.exe)
* Open the file with 7zip or another file archiver
* Extract iTunes.msi, AppleApplicationSupport.msi and AppleMobileDeviceSupport.msi
== Notes ==
* Starting with ITunes version 10.5, Quicktime is not part of the setup package anymore and also not necessary any longer to run ITunes. The installation instructions were therefore removed from this page.
* Apple Mobile Device Support is only necessary if you want to connect an Ipod IPod, IPad or IPhone. Apple Application Support is mandatory to be able to run ITunes.
* Each sub-application has its own version. When a new version for ITunes comes out, you will need to extract the MSI packages from the EXE installer, right click on the MSI files and check their version to see which sub-applications have updated. Each sub-applications has its own WPKG package definition with separate install, upgrade and uninstall commands.
* To also get the latest available version of Apple Application Support you'll have to download every installer from the Apple website and check which one contains the latest version of the Apple Application Support.
* Apple sometimes updates the MSI packages inside the EXE installer '''without''' changing the version number on the website. So do not take it for granted that there are no new packages available just because the version number on the website is still the same.
* Apple is also known to sometimes modify the setup packages of their programs even at minor version changes, so do not blindly assume that a new ITunes installer will work the same way as the old one did!
* There is a 64bit version of ITunes available too. As of version 10.7 11 the 64bit installer contains 64bit versions of ITunes itself and Apple Mobile Device Support and 32bit versions of Apple Application Support. The package definitions for the 64bit versions look basically the same as below, just the paths and GUIDs are different.
= Full iTunes 10.4.0.80 installation in VBS =
'Copy this to notepad++ or anoter editor, save as *.vbs :-)
= Full ITunes installation 10.7 11 =
''If you update this code, please remember the uninstall GUIDs change on each new version installed!''
<?xml version="1.0" encoding="UTF-8"?>
<package id='appleapplicationsupport' name='Apple Application Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='2.23.2' />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Application Support' value='%PKGVER%'/>
<upgrade include='install' />
<remove cmd='msiexec /x{63EC2120CCE825DB-1742347A-46254004-AA47A186-C6A8AEC9C64C5F4A6FDD8547} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
<package id='applemobilesupport' name='Apple Mobile Device Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='6.0.01.593' />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Mobile Device Support' value='%PKGVER%' />
<upgrade include='install' />
<remove cmd='msiexec /x{7446FE8D459699C3-C1F99430-4D424381-AAAE964B-5DBCE58605A64248D87B49F9} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
<depends package-id='appleapplication' />
<variable name='PKGVER' value='1011.70.0.21163' />
<check type='uninstall' condition='versiongreaterorequal' path='iTunes' value='%PKGVER%' />
<upgrade include='install' />
<remove cmd='msiexec.exe /x{0F6F68761B6C0E95-6334182C-497748E0-B5DD9C4B-CFC12E1934204F916308249C} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</source>
= Minimal ITunes installation 10.7 11 =The goal of this setup is to get a working installation of ITunes which allows you to activate, backup and sync an IPhone IPod, IPad or IpodIPhone, install new iOS versions and optionally get songs/apps from the Apple Store, but does otherwise interfere with the PC as little as possible. Specifically this means: No automatic update checks, no desktop shortcuts, no automatic file type associations with ITunes, no ITunes CD grabbing, no unecessary background services or autostart entries, no traybar icons, no Windows firewall modifications.These package definitions are suited for someone who has to roll out ITunes in a corporate environment because the employees are using IPhones/IPads, but otherwise has no use case for ITunes at all. Of course all steps in this section are optional, if you don't want to leave a certain feature out, then simply omit the corresponding step.
== Configuration ==
=== Apple Mobile Device Support ===
* Open AppleMobileDeviceSupport.msi, select ''New Transform'' from the main menu.
* Drop the Component ''OutlookChangeNotifierAddIn.dll'' from the table ''FeatureComponents''. This removes the Outlook pluginchange notifier, which detects changes to contacts and calendards within Outlook. You don't need this if you sync the iPhone over the air via Activesync.
* Click ''Generate Transform'' and save the resulting file into the same folder as the MSI.
* Open iTunes.msi, select ''New Transform'' from the main menu.
* Drop the component ''itms.js'' from the table ''Component''. This file is responsible for registering ITunes as a trusted application in Firefox.
* Drop ''iTunesOutlookAddIn.dll'' from ''FeatureComponents'', so that the Outlook plugin does not get installed.
* Drop the actions ''Launch_iTunesHelper'' and ''WixSchedFirewallExceptionsInstall'' from the table ''InstallExecuteSequence''. This prevents iTunesHelper.exe from being started after the setup finishes and ITunes.exe from being added as an internetwide exception to the Windows Firewall. ITunes Helper is responsible for automatically starting ITunes when an iPhone or iPod is being connected to the PC.
* Open the table ''Registry'' and drop the keys ''Registry415'' (adds iTunesHelper.exe to the Windows autorun) and ''Registry835'' to ''Registry843'' (adds the ITunes detector plugin to Firefox and other browsers). Of course the registry IDs may change in future ITunes versions, you can instead search for ''CurrentVersion\Run'' and ''MozillaPlugins'' in the column ''Key'' of the ''Registry'' table.
<?xml version="1.0" encoding="UTF-8"?>
<package id='appleapplicationsupport' name='Apple Application Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='2.23.2' />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Application Support' value='%PKGVER%'/>
<upgrade include='install' />
<remove cmd='msiexec /x{63EC2120CCE825DB-1742347A-46254004-AA47A186-C6A8AEC9C64C5F4A6FDD8547} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
<?xml version="1.0" encoding="UTF-8"?>
<package id='applemobilesupport' name='Apple Mobile Device Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='6.0.01.593' />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Mobile Device Support' value='%PKGVER%' />
<upgrade include='install' />
<remove cmd='msiexec /x{D4DDFAA1459699C3-EC379430-45294381-AD5B964B-A433ADE686624248D87B49F9} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
<depends package-id='appleapplicationsupport' />
<variable name='PKGVER' value='1011.70.0.21163' />
<check type='uninstall' condition='versiongreaterorequal' path='iTunes' value='%PKGVER%' />
MEDIA_DEFAULTS=0: Don't make ITunes the default program for Audio CDs and various audio filetypes
SCHEDULE_ASUW=0: Don't create a scheduled task to automatically search for ITunes updates
REENABLEAUTORUN=0: Don't try to re-enable Windows autorun feature for CDs OUTLOOK_LOAD_BEHAVIOR=0: Don't load ITunes-Calendar-Addin in Outlook DONT_AUTO_SYNC_IPODS=1: Don't automatically sync with connected devices --> <install cmd='msiexec.exe /i "%SOFTWARE%\itunes\iTunes.msi" TRANSFORMS="%SOFTWARE%\itunes\itunes-transform-from-above.mst" DESKTOP_SHORTCUTS=0 MEDIA_DEFAULTS=0 SCHEDULE_ASUW=0 REENABLEAUTORUN=0 OUTLOOK_LOAD_BEHAVIOR=0 DONT_AUTO_SYNC_IPODS=1 /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='3010' reboot='postponed' />
<!-- Disable update feature in ITunes via parental controls -->
<install cmd='reg add "HKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" /v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' />
<!-- Don't automatically load ITunes-Calendar-Addin for Outlook -->
<install cmd='reg add "HKCU\Software\Microsoft\Office\Outlook\Addins\iTunesAddIn.CalendarHelper" /v "LoadBehavior" /t REG_DWORD /d "0x0" /f' timeout='60' />
<upgrade include='install' />
<remove cmd='msiexec.exe /x{0F6F68761B6C0E95-6334182C-497748E0-B5DD9C4B-CFC12E1934204F916308249C} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
Anonymous user