Changes

ITunes

23 bytes removed, 11:00, 6 September 2010
Updated to Itunes 10
* If you insist on also having 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 is 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!
* '''Warning''': The version of Quicktime that is bundled with ITunes is '''not''' necessarily the newest version available and may contain known security flaws. For example ITunes 9.2.1.5 contained Quicktime 7.66, although Quicktime 7.67 had already been released since weeks at that time. Quicktime 7.66 has a highly critical security flaw that allows for remote execution of arbitrary code, simply by visiting a webpage ([http://secunia.com/advisories/40729 secunia.com]). If this is the caseyou encounter such a scenario, you will have to download the standalone Quicktime installer from Apple and extract the file QuickTime.msi from there. Alternatively you can use the minimal ITunes installation method below, which removes the Quicktime browser plugin and thereby mitigates the attack surface.* There is a 64bit version of ITunes available too. As of version 910.20.10.5 68 the 64bit installer contains 64bit versions of ITunes itself and Apple Mobile Device Support and 32bit versions of Quicktime and Apple Application Support. If you have package definition for the 64bit versions feel free to add them to the wiki.
= Full ITunes installation 10.0.0.68 =
''If you update this code, please remember the GUIDs change on each new version installed!''
 
== 9.2.1.5 ==
'''Warning:''' The installer of ITunes 9.2.1.5 contains Quicktime 7.66 which has a highly critical security flaw that allows for remote execution of arbitrary code, simply by visiting a webpage ([http://secunia.com/advisories/40729 secunia.com]). You have to download the standalone Quicktime installer instead and extract the version 7.67 of QuickTime.msi. Alternatively you can use the minimal ITunes installation method below, which removes the Quicktime browser plugin completely.
Deploy File/Folder Structure
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<!-- Version 1.3.0 has the same GUID --><package id='appleapplicationsupport' name='Apple Application Support' revision='1.3.12' reboot='false' priority='1'> <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2D328BEDAEAFD68-45ADBB4A-4D924507-96F9A241-2151490A203EC8804D2EA66D}\DisplayVersion' value='1.3.12' />
<install cmd='msiexec /i "%SOFTWARE%\itunes\AppleApplicationSupport.msi" /passive /norestart' timeout='300'>
</upgrade>
<remove cmd='msiexec /x {B2D328BEDAEAFD68-45ADBB4A-4D924507-96F9A241-2151490A203E C8804D2EA66D} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</remove>
</package>
<package id='applemobilesupport' name='Apple Mobile Device Support' revision='3.12.0.6247' reboot='false' priority='1'> <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{85991ED2CCA1EEA3-010C555E-49304D05-96FAAC46-53F43C2CE98A4B49C6C5D887}\DisplayVersion' value='3.12.0.6247' />
<install cmd='msiexec /i "%SOFTWARE%\itunes\AppleMobileDeviceSupport.msi" /passive /norestart' timeout='300'>
<exit code='3010' reboot='postponed' />
</upgrade>
<remove cmd='msiexec /x {85991ED2CCA1EEA3-010C555E-49304D05-96FAAC46-52F43C2CE98A4B49C6C5D887} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</remove>
</package>
<package id='itunes' name='Apple iTunes' revision='910.20.10.568' reboot='false' priority='1'>
<depends package-id='appleapplication' />
<depends package-id='quicktime' />
<check type='uninstall' condition='exists' path='iTunes' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\iTunes\iTunes.exe' value='910.20.10.568' />
<install cmd='msiexec.exe /i "%SOFTWARE%\itunes\iTunes.msi" SCHEDULE_ASUW=0 /passive /norestart' timeout='300'>
<upgrade cmd='reg add "HKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" /v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' />
<remove cmd='msiexec.exe /x {91F7F3F3350FB27C-CE80CF62-48C34EF3-8327AF9D-7D24A0A5716A70FF313FE221} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
= Minimal ITunes installation 10.0.0.68 =
The goal of this setup is to get
# a working installation of ITunes which allows you to activate, backup and sync an IPhone or Ipod, download and install new iOS versions and optionally get songs/apps from the Apple Store,
After Quicktime is removed, it does not delete the files in ''%APPDATA%\Apple Computer\QuickTime'', ''%USERPROFILE%\Local Settings\Application Data\Apple Computer\QuickTime'' and ''%ALLUSERSPROFILE%\Application Data\Apple Computer\QuickTime''. If you want to remove those directories, you have to specify additional remove commands for WPKG. The same is true for the registry key ''HKCU\Software\Apple Computer, Inc.\QuickTime''.
== Package definitions for 9.2.1.5 ==
=== Apple Application Support and Apple Mobile Device Support ===
Copy the package definitions from the full ITunes installation above and use the original MSI files as extracted from iTunesSetup.exe. These packages don't require any modifications.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package id='itunes' name='Apple iTunes' revision='910.20.10.568' reboot='false' priority='1'>
<depends package-id='appleapplication' />
<depends package-id='quicktime' />
<check type='uninstall' condition='exists' path='iTunes' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\iTunes\iTunes.exe' value='910.20.10.568' />
<!-- DESKTOP_SHORTCUTS=0: Don't create desktop shortcuts
<upgrade cmd='reg add "HKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" /v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' />
<remove cmd='msiexec.exe /x {91F7F3F3350FB27C-CE80CF62-48C34EF3-8327AF9D-7D24A0A5716A70FF313FE221} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
Anonymous user