Changes

ITunes

303 bytes added, 17:01, 9 December 2010
Updated Itunes, Quicktime and Applicationsupport to new versions
== Notes ==
* Apple Mobile Device Support is only necessary if you want to connect an Ipod or IPhone. Quicktime and Apple Application Support are 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 packagesfrom the EXE installer, right click on them the MSI files and check their version under file info to see which sub programs -applications have updated. Each sub program -applications has its own WPKG package definition with separate install, upgrade and uninstall commands.* If you insist on To also having 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!
* '''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 you 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 10.1.0.54 56 the 64bit installer contains 64bit versions of ITunes itself and Apple Mobile Device Support and 32bit versions of Quicktime and 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 installation 10.1.0.54 56 =
''If you update this code, please remember the GUIDs change on each new version installed!''
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package id='appleapplicationsupport' name='Apple Application Support' revision='1.4.01' reboot='false' priority='1'> <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{17424F35EE6097DD-8B7705F4-4ADF4178-BC639719-BF9B81418539D3170BF098E8}\DisplayVersion' value='1.4.01' />
<install cmd='msiexec /i "%SOFTWARE%\itunes\AppleApplicationSupport.msi" /passive /norestart' timeout='300'>
</upgrade>
<remove cmd='msiexec /x {17424F35EE6097DD-8B7705F4-4ADF4178-BC639719-BF9B81418539D3170BF098E8} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</remove>
</package>
<package id='itunes' name='Apple iTunes' revision='10.1.0.5456' reboot='false' priority='1'>
<depends package-id='appleapplicationsupport' />
<depends package-id='quicktime' />
<check type='uninstall' condition='exists' path='iTunes' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\iTunes\iTunes.exe' value='10.1.0.5456' />
<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 {E8843212FAE36873-F0FC1941-4C3B4076-BFF3A9A5-D51829CB4F1948812B5EA0B7} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</remove>
</package>
<!-- Do not use version 7.67 68 which is bundled with ITunes 10.0.01.68 54 due to security flaws ! --><package id='quicktime' name='Apple QuickTime' revision='7.6869.7580.09' reboot='false' priority='1'>
<check type='uninstall' condition='exists' path='QuickTime' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe' value='7.6869.7580.09' />
<install cmd='msiexec /i "%SOFTWARE%\itunes\QuickTime.msi" SCHEDULE_ASUW=0 /passive /norestart' timeout='300'>
</upgrade>
<remove cmd='msiexec /x {FIXME57752979-A1C9-4C02-856B-FBB27AC4E02C} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
</source>
= Minimal ITunes installation 10.1.0.54 56 =
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,
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package id='itunes' name='Apple iTunes' revision='10.1.0.5456' 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='10.1.0.5456' />
<!-- 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 {E8843212FAE36873-F0FC1941-4C3B4076-BFF3A9A5-D51829CB4F1948812B5EA0B7} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
=== Quicktime ===
The Quicktime installer package is grouped into multiple features (categories). For reasons that are left to the imagination of the reader, Apple prevents the user from deselecting any of those features through the GUI. However by using the ''ADDLOCAL'' switch, it is possible to specify which features should be installed. To use the audio and video playback capabilites of Quicktime, only the feature ''QuickTimeEssentials'' is necessary.
The other features as of version 7.68 69 are: QuickTimeInternet, QuickTimeImage, QuickTimeEffects, QuickTimeMusic, QuickTimeAuthoring, QuickTimeCapture, QuickTimeForJava, QuickTimeDiagnostics, QuickTimeProResDecoder. None of them is necessary to run ITunes, therefore they are all excluded. Be aware that ''QuickTimeInternet'' includes the Quicktime plugin for the Internet Explorer (see above for possible security implications when installing this feature).
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package id='quicktime' name='Apple QuickTime' revision='7.6869.7580.09' reboot='false' priority='1'>
<chain package-id='quicktimesettings' />
<check type='uninstall' condition='exists' path='QuickTime' />
<check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe' value='7.6869.7580.09' />
<!-- ADDLOCAL=QuickTimeEssentials: Only install the main feature of Quicktime -->
</upgrade>
<remove cmd='msiexec /x {E700414757752979-2CCAA1C9-431C4C02-AA05856B-2AB166B9785DFBB27AC4E02C} /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='1605' />
Anonymous user