Changes

Jump to: navigation, search

ITunes

5,422 bytes added, 15:32, 19 August 2010
complete rewrite of the page; removed old versions; added minimal itunes install method
== Apple iTunes =General Information =Apple iTunes is primarily a program to both play different types of media, but it is also required if you want to sync backup an iPhone IPhone or sync your emails, notes, bookmarks etc over USB with outlook in a corporate environmentyour PC. you can get it [[http://www.apple.com/itunes here]]. It ITunes comes bundled with multiple sub programs. Some that are desired and some are not. I will post below all automatically installed when running the minimum required ones to get a get iTunes workingregular ITunes setup wizard. It will include However depending on your use case you don't actually need all of them. Therefore this page is divided into two subparts: On the iTunes, one hand a full blown ITunes installation (excluding Apple Software Update) when you actually want to use ITunes and Quicktime as an audio and Apple Mobile Device Supportvideo player, image viewer, podcast streamer, etc and on the other hand a minimal ITunes installation if you only want to use it to snc/backup an IPhone.
== Pre-Setup Process ==The iTunes installer does not have a silent option. One must do ITunes is one of the following programs that are more difficult to extract the msi's from the package. * Download the setup file from apple. * Begin the setup process, but do not proceed any furthersince Apple is using it as a vehicle to distribute their other software. * Goto your Temp folder for your profile To get rid of at least some of those "C:\Documents and Settings\Username\Application Data\Temp * Find the iTunes Temp folder there. (it will probably be random name, so sort by last modified time) * Copy multiple MSI packages extra" programs additional configuration steps are necessary to a directory for your choosing. * You can now stop the iTunes installperform.
'''Alternatively''' simply open = 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 Apple (usually called iTunesSetup.exe)* Open the file with 7Zip 7zip or another file archiver* Extract iTunes.msi, QuickTime.msi, AppleApplicationSupport.msi and copy the individual AppleMobileDeviceSupport.msi files to your %SOFTWARE%\iTunes\version directory
== 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 packages, right click on them and check their version under file info to see which sub programs have updated. Each sub program has its own WPKG package definition with separate install, upgrade and uninstall commands.
* 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!
* The version of Quicktime that is bundled with ITunes is '''not''' necessarily the newest version available and may contain known security flaws. If this is the case, you will have to download the standalone Quicktime installer from Apple and extract the file QuickTime.msi from there.
* There is a 64bit version of ITunes available too. As of version 9.2.1.5 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.
I rename my packages to remove any spaces and or to shorten the name. My XML will reflect that= Full ITunes installation =''If you update this code, so keep that in mindplease remember the GUIDs change on each new version installed!''
== 9.2.1.5 =='''** NOTE **Warning:''': Each sub-application The installer of ITunes 9.2.1.5 contains Quicktime 7.66 which has it's own version. When a new version highly critical security flaw that allows for iTunes comes outremote execution of arbitrary code, you will need to install all the applications on simply by visiting a test box and see which sub-applications have updatedwebpage ([http://secunia.com/advisories/40729 secunia.com]). You will find that most of have to download the time it is just the iTunes msi that has a new revision standalone Quicktime installer instead and extract the others remain the sameversion 7. Each one also has it's own uninstall command67 of QuickTime== XML =='''If msi. Alternatively you update this codecan use the minimal ITunes installation method below, please remember which removes the SIDs change on each new version installed''' === 9Quicktime browser plugin completely.2.1.5 ==='''NOTICE: Apple Application Support is now required for Apple QuickTime to run'''
Deploy File/Folder Structure
%SOFTWARE%\itunes\9.2.1.5\iTunes.msi %SOFTWARE%\itunes\9.2.1.5\QuickTime.msi %SOFTWARE%\itunes\9.2.1.5\AppleMobileDeviceSupport.msi %SOFTWARE%\itunes\9.2.1.5\AppleApplicationSupport.msi
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<package!-- Version 1.3.0 has the same GUID --> <package id="itunes" 'appleapplicationsupport' name="'Apple iTunes" Application Support' revision="9'1.23.1.5" ' reboot="'false" ' priority="'1'> <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2D328BE-45AD-4D92-96F9-2151490A203E}\DisplayVersion' value='1.3.1"' />
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="9.2.1.5"/> <install cmd="'msiexec.exe /qn /norestart /i "%SOFTWARE%\itunes\9.2.1.5\iTunesAppleApplicationSupport.msi" /passive /norestart' timeout='300'> <upgrade cmdexit code="msiexec.exe '0' /qn /norestart /i %SOFTWARE%\itunes\9.2.1.5\iTunes.msi"> <exit code="any" '3010' reboot='postponed' /> </upgradeinstall>   <remove upgrade cmd='msiexec /i "msiexec%SOFTWARE%\itunes\AppleApplicationSupport.exe msi" /qn /uninstall {91F7F3F3-CE80-48C3-8327-7D24A0A5716A}" passive /norestart' timeout='300'> <exit code='0' /package> <package idexit code="applesupport" name="Apple Software Application Support" revision="1.3.0" '3010' reboot="false"'postponed' /> priority="1" </upgrade>
<depends package-idremove cmd="itunes"'msiexec /> <check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\x {B2D328BE-45AD-4D92-96F9-2151490A203E}\DisplayVersion" value/passive /norestart' timeout="1.3.'300'> <exit code='0"' /> <install cmdexit code="msiexec /qn /i %SOFTWARE%\itunes\9.2.1.5\AppleApplicationSupport.msi" '1605' /> <upgrade cmdexit code="msiexec /qn /i %SOFTWARE%\itunes\9.2.1.5\AppleApplicationSupport.msi" '3010' reboot='postponed' /> </remove cmd="msiexec /qn /uninstall {B2D328BE-45AD-4D92-96F9-2151490A203E" />
</package>
<package id="quicktime" 'applemobilesupport' name="'Apple Quicktime" Mobile Device Support' revision="7'3.66.731.0" .62' reboot="'false" ' priority="'1"'> <check type='registry' condition='equals' path='HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{85991ED2-010C-4930-96FA-53F43C2CE98A}\DisplayVersion' value='3.1.0.62' />
<install cmd='msiexec /i "%SOFTWARE%\itunes\AppleMobileDeviceSupport.msi" /passive /norestart' timeout='300'>
<exit code='0' />
<exit code='3010' reboot='postponed' />
</install>
<depends package-id="itunes"/> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.66.73.0"/> <install upgrade cmd="'msiexec /qn /i "%SOFTWARE%\itunes\9.2.1.5\QuickTimeAppleMobileDeviceSupport.msi" /passive /norestart' timeout='300'> <upgrade cmdexit code="msiexec '0' /qn > <exit code='3010' reboot='postponed' /i %SOFTWARE%\itunes\9.2.1.5\QuickTime.msi" > </upgrade> <remove cmd="'msiexec /qn /uninstall x {3D9892BB85991ED2-A751010C-4E484930-ADC896FA-E4289956CE1D" 52F43C2CE98A} /passive /norestart' timeout='300'> <exit code='0' /> <exit code='1605' /> <exit code='3010' reboot='postponed' /> </remove>
</package>
<package id="applemobile" 'itunes' name="'Apple Mobile Device Support" iTunes' revision="3'9.12.01.62" 5' reboot="'false" ' priority="'1"'> <depends package-id='appleapplication' /> <depends package-id='quicktime' />
<depends package-idcheck type='uninstall' condition='exists' path='iTunes' /> <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\iTunes\iTunes.exe' value='9.2.1.5' /> <install cmd='msiexec.exe /i "%SOFTWARE%\itunes\iTunes.msi"SCHEDULE_ASUW=0 /passive /norestart' timeout='300'> <check typeexit code='0' /> <exit code='3010' reboot='postponed' /> </install> <!-- Disable update feature in ITunes via parental controls --> <install cmd='reg add "registryHKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" condition/v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' /> <upgrade cmd='msiexec.exe /i "equals%SOFTWARE%\itunes\iTunes.msi" pathSCHEDULE_ASUW=0 /passive /norestart'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </upgrade> <upgrade cmd='reg add "HKLM\SOFTWARE\MicrosoftApple Computer, Inc.\WindowsiTunes\CurrentVersion\UninstallParental Controls\Default" /v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' /> <remove cmd='msiexec.exe /x {85991ED291F7F3F3-010CCE80-493048C3-96FA8327-53F43C2CE98A7D24A0A5716A}/passive /norestart' timeout='300'> <exit code='0' /> <exit code='1605' /> <exit code='3010' reboot='postponed' /> </remove></package><package id='quicktime' name='Apple QuickTime' revision='7.67.75.0' reboot='false' priority='1'> <check type='uninstall' condition='exists' path='QuickTime' /> <check type='file' condition='versiongreaterorequal' path='%PROGRAMFILES%\DisplayVersion" QuickTime\QuickTimePlayer.exe' value="3'7.167.075.62" 0' /> <install cmd="'msiexec /qn /i "%SOFTWARE%\itunes\9.2.1.5\AppleMobileDeviceSupportQuickTime.msi" SCHEDULE_ASUW=0 /passive /norestart' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </install> <upgrade cmd="'msiexec /qn /i "%SOFTWARE%\itunes\9.2.1.5\AppleMobileDeviceSupportQuickTime.msi" SCHEDULE_ASUW=0 /passive /norestart' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </upgrade> <remove cmd="'msiexec /qn /uninstall x {AADEA55DEB900AF8-C834CC61-4BCB4E15-98A3871B-4B8D1C18F4EE98D1EA3E8025}" /passive /norestart' timeout='300'> <exit code='0' /> <exit code='1605' /> <exit code='3010' reboot='postponed' /> </remove>
</package>
</source>
=== 9.0.0.70 ===
'''NOTICE: Apple Application Support is now required for Apple QuickTime to run'''
Deploy File/Folder Structure
%SOFTWARE%\itunes\9.0.0.70\iTunes.msi
%SOFTWARE%\itunes\9.0.0.70\QuickTime.msi
%SOFTWARE%\itunes\9.0.0.70\AppleMobileDeviceSupport.msi
%SOFTWARE%\itunes\9.0.0.70\AppleApplicationSupport.msi
<source lang="xml">Minimal ITunes installation =<packageThe goal of this setup is to get id="itunes" name="# 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 iTunes"Store, revision="9# but does otherwise interfere with the PC as little as possible.0Specifically this means: No Quicktime browser plugins, no Quicktime Java libraries, no automatic update checks, no desktop shortcuts, no automatic file type associations with Quicktime or ITunes, no ITunes CD grabbing, no unecessary background services, no autostart entries, no Quicktime picture viewer, no task icons.0These package definitions are suited for someone who has to roll out ITunes in a corporate environment because the employees are using IPhones, but otherwise has no use case for ITunes and/or Quicktime at all. Of course all steps in this section is optional, if you don't want to leave a certain feature out, then simply omit the corresponding step.70" reboot="false" priority="1">
<check type="file" condition="versiongreaterorequal" pathConfiguration ="%PROGRAMFILES%\iTunes\iTunes.exe" value="9Not all necessary changes to the setup packages can be made at the command line level, therefore the MSI files have to be modified.0For this the Microsoft tool ''Orca'' (freeware) is necessary.0If you don't have Orca yet, download it from [http://support.70"microsoft.com/>kb/255905/ Microsoft].
<install cmd="msiexec== ITunes ===* Open iTunes.exe /qn /norestart /i %SOFTWARE%\itunes\9msi, select ''New Transform'' from the main menu.0* Drop the component ''itms.0js'' from the table ''Component''.70\iTunesThis file is responsible for registering ITunes as a trusted application in Firefox.msi" /> <upgrade cmd="msiexec* Drop the argument ''Launch_iTunesHelper'' in the table ''ControlEvent''. This prevents iTunesHelper.exe /qn /norestart /i %SOFTWARE%\itunes\9from being started after the setup finishes.0ITunes Helper is responsible for automatically starting ITunes when an iPhone or iPod is being connected to the PC.0* 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).70Of course the registry IDs may change in future ITunes versions, you can instead search for ''CurrentVersion\iTunesRun'' and ''MozillaPlugins'' in the column ''Key'' of the ''Registry'' table.msi"> <exit code="any" /> </upgrade> <remove cmd="msiexec* Drop the file ''ITDetector.ocx'' from the table SelfReg. This prevents the ITunes detector ActiveX component from being registered, which is otherwise added as a plugin to Internet Explorer.exe /qn /uninstall {EC2A8F27-4FBF-4E41-B27B-FE822511B761}" /></package><package id="applesupport" name="Apple Software Application Support" revision="1* Click ''Generate Transform'' and save the resulting file into the same folder as the MSI.0" reboot="false" priority="1">
<depends package-id="itunes"/> <check type="You can disable certain ITunes features via the registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0C34B801-6AEC-4667-B053-03A67E2D0415}\DisplayVersion" value="1.0"Apple has a list of everything that you can disable: [http:/> <install cmd="msiexec /qn /i %SOFTWARE%\itunes\9support.0apple.0.70\AppleApplicationSupport.msi" com/> <upgrade cmd="msiexec kb/qn /i %SOFTWARE%\itunes\9ht2102 How to manage iTunes control features].0In the XML code below, only the update check in ITunes is disabled.0.70If you want to disable other features too, look up their hexadecimal numbers at the above link, add them up and write the result as a DWORD value to ''HKLM\SOFTWARE\AppleApplicationSupport.msi" /> <remove cmd="msiexec /qn /uninstall {0C34B801-6AEC-4667-B053-03A67E2D0415}" /></package><package id="quicktime" name="Apple Quicktime" revision="7Computer, Inc.62.17\iTunes\Parental Controls\Default\AdminFlags''.73Be aware that you always need to include the " reboot="false" priority=Locked"flag (1">) for the settings to take effect.
After ITunes is removed, it does not delete the files in ''%APPDATA%\Apple Computer\iTunes'', ''%USERPROFILE%\Local Settings\Application Data\Apple Computer\iTunes'' and ''%ALLUSERSPROFILE%\Anwendungsdaten\Apple Computer\iTunes''. 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.\iTunes''. The backups of IPhones, songs and applications from the Apple Store are stored outside of those directores!
<depends package-id="itunes"/> <check type="file" condition="versiongreaterorequal" pathQuicktime ="%PROGRAMFILES%\==* Open QuickTime\QuickTimePlayer.exe" value="7msi with Orca, select ''New Transform'' from the main menu.62* Edit the table ''FeatureComponents'' and drop the component ''QuickTimeEssentials.17qtx''. This gets rid of the installation of the Quicktime Firefox plugin. The rationale behind this is that the Quicktime plugin is of almost no use anymore because hardly anyone except Apple embeds Quicktime media files into websites. However nowadays one of the main attack vectors and primary source of drive-by installs are security holes in webbrowser plugins (for example the most recent installer of ITunes as of August 2010 contains a Quicktime version that is vulnerable to arbitrary remote code execution). Therefore it is strongly advisable to install as few plugins as possible.* Drop the condition ''NOT BNEWERPRODUCTISINSTALLED'' from the ''LaunchCondition'' table. This allows you the roll out the MSI via WPKG even if the user already installed a newer version of Quicktime manually.* Click ''Generate Transform'' and save the resulting file into the same folder as the MSI.73"/>
<Besides the periodic update checks via ''Apple Software Update'', Quicktime additionally performs update checks on its own when you launch it. To disable that behaviour install cmd="msiexec /qn /i Quicktime on a test computer, delete the file ''%SOFTWAREUSERPROFILE%\itunesLocal Settings\9Application Data\Apple Computer\QuickTime\QuickTime.0qtp'' if it exists (adapt the path to your locale), then open the Quicktime settings in the Windows control panel, go to 'Update'', uncheck ''Check for updates automatically'' and click OK.0.70Now copy the recreated file ''%USERPROFILE%\Local Settings\Application Data\Apple Computer\QuickTime\QuickTime.msi" /> <upgrade cmd="msiexec /qn /i qtp'' (should be below 1kB) to ''%SOFTWARE%\itunes\9''.0To deploy this file the package quicktimesettings is used.0It copies ''QuickTime.70qtp'' into ''%ALLUSERSPROFILE%\Application Data\Apple Computer\QuickTime'' and adds a registry key ''HKLM\SOFTWARE\Apple Computer, Inc.msi" /> <remove cmd="msiexec /qn /uninstall {A429C2AE\QuickTime\LocalUserPreferences\FolderPath'' which points to this directory. '''Caution:''' Quicktime only checks that registry key if the key ''HKCU\SOFTWARE\Apple Computer, Inc.\QuickTime\LocalUserPreferences'' does not exist! If Quicktime is or was ever run without the HKLM-EBF1key present, it automatically creates the HKCU-4F81key and then never checks the HKLM-A221-1C115CAADDAD}" /></package><package id="applemobile" name="Apple Mobile Device Support" revision="2.6.0key again.32" reboot="false" priority="1">
<depends package-id="itunes"/> <check type="registry" condition="equals" path="HKLMAfter Quicktime is removed, it does not delete the files in ''%APPDATA%\SOFTWAREApple Computer\MicrosoftQuickTime'', ''%USERPROFILE%\WindowsLocal Settings\CurrentVersionApplication Data\UninstallApple Computer\{AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}\DisplayVersion" value="2.6.0.32"/> <install cmd="msiexec /qn /i QuickTime'' and ''%SOFTWAREALLUSERSPROFILE%\itunesApplication Data\9Apple Computer\QuickTime''.0If you want to remove those directories, you have to specify additional remove commands for WPKG.0.70The same is true for the registry key ''HKCU\AppleMobileDeviceSupport.msi" /> <upgrade cmd="msiexec /qn /i %SOFTWARE%Software\itunes\9Apple Computer, Inc.0.0.70\AppleMobileDeviceSupportQuickTime''.msi" /> <remove cmd="msiexec /qn /uninstall {AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}" /></package></source>
== 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.
=== 8.2.1.6 ITunes ===Deploy File/Folder Structure %SOFTWARE%\itunes\8.2.1.6\iTunes.msi %SOFTWARE%\itunes\8.2.1.6\QuickTime.msi %SOFTWARE%\itunes\8.2.1.6\AppleMobileDeviceSupport.msi <source lang="xml"> <package id="iTunes" name="Apple iTunes" revision="8.2.1.6" reboot="false" priority="1"> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.2.1.6"/> <install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.2.1.6\iTunes.msi" /> <upgrade cmd="msiexec.exe /qn /i %SOFTWARE%\iTunes\8.2.1.6\iTunes.msi"> <exit code="3010" reboot="true" /> <exit code="0" /> </upgrade> <remove cmd="msiexec.exe /qn /uninstall {99ECF41F-5CCA-42BD-B8B8-A8333E2E2944}" /> </package> <package id="quicktime" name="Apple Quicktime" revision="7.62.14.0" reboot="false" priority="1"> <depends package-id="iTunes"/> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.62.14.0"/> <install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1.6\QuickTime.msi" /> <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1.6\QuickTime.msi" /> <remove cmd="msiexec /qn /uninstall {C78EAC6F-7A73-452E-8134-DBB2165C5A68}" /></package>  <package id="applemobile" name="Apple Mobile Device Support" revision="2.5.2.2" reboot="false" priority="1"> <depends package-id="iTunes"/> <check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C337BDAF-CB4E-47E2-BE1A-CB31BB7DD0E3}\DisplayVersion" value="2.5.2.2"/> <install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1.6\AppleMobileDeviceSupport.msi" /> <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1.6\AppleMobileDeviceSupport.msi" /> <remove cmd="msiexec /qn /uninstall {C337BDAF-CB4E-47E2-BE1A-CB31BB7DD0E3}" /></package></source> === 8.1.0.52 ===Deploy File/Folder Structure %SOFTWARE%\itunes\8.1.0.52\iTunes.msi %SOFTWARE%\itunes\8.1.0.52\QuickTime.msi %SOFTWARE%\itunes\8.1.0.52\AppleMobileDeviceSupport.msi 
<source lang="xml">
<package id?xml version="iTunes1.0" encoding="UTF-8"?> <package id='itunes' name="'Apple iTunes" ' revision="8'9.2.1.0.51" 5' reboot="'false" ' priority='1'> priority<depends package-id="198"'appleapplication' /> <depends package-id='quicktime' />
<check type="'uninstall' condition='exists' path='iTunes' /> <check type='file" ' condition="'versiongreaterorequal" ' path="'%PROGRAMFILES%\iTunes\iTunes.exe" ' value="8'9.2.1.0.52"5' /> <install cmd!-- DESKTOP_SHORTCUTS="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.1.0.52\iTunes.msi">: Don't create desktop shortcuts <exit code MEDIA_DEFAULTS="3010" />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 </install REENABLEAUTORUN=0: Don't try to re-enable Windows autorun feature for CDs -->  <upgrade install cmd="'msiexec.exe /qn /norestart /i "%SOFTWARE%\iTunes\8.1.0.52itunes\iTunes.msi" /> <remove cmdTRANSFORMS="msiexec.exe /qn /norestart /uninstall {F4D6C3EB-304E%SOFTWARE%\itunes\itunes-4B0Ctransform-8BCEfrom-F6B9E974CD17}above.mst" DESKTOP_SHORTCUTS=0 MEDIA_DEFAULTS=0 SCHEDULE_ASUW=0 REENABLEAUTORUN=0 /passive /norestart' timeout='300'> <exit code='0' /package <package idexit code="quicktime" name="Apple Quicktime" revision="7.60.92.0" '3010' reboot="false"'postponed' /> priority="198"</install> <depends package!-- Disable update feature in ITunes via parental controls --id="iTunes"/> <check typeinstall cmd='reg add "fileHKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" condition=/v "versiongreaterorequalAdminFlags" path=/t REG_DWORD /d "%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe0x101" value/f' timeout="7.'60.92.0"' /> <install upgrade cmd="'msiexec /qn .exe /i "%SOFTWARE%\itunes\iTunes\8.1.0.52\QuickTime.msi" /> <upgrade cmdTRANSFORMS="msiexec /qn /i %SOFTWARE%\iTunesitunes\8itunes-transform-from-above.1.0.52\QuickTime.msimst" /> <remove cmdDESKTOP_SHORTCUTS="msiexec 0 MEDIA_DEFAULTS=0 SCHEDULE_ASUW=0 REENABLEAUTORUN=0 /qn /uninstall {216AB108-2AE1-4130-B3D5-20B2C4C80F8F}" passive /norestart'> <exit code='0' /package <package idexit code="applemobile" name="Apple Mobile Device Support" revision="2.4.0.27" '3010' reboot="false" priority="198"'postponed' /> <depends package-id="iTunes"/upgrade> <check type="registry" condition="equals" pathupgrade cmd='reg add "HKLM\SOFTWARE\MicrosoftApple Computer, Inc.\WindowsiTunes\CurrentVersion\Uninstall\{162B71B8-8464-4680-A086-601D555B331D}Parental Controls\DisplayVersionDefault" value=/v "2.4.0.27AdminFlags"/t REG_DWORD /d "0x101" /f' timeout='60' /> <install remove cmd="'msiexec .exe /qn x {91F7F3F3-CE80-48C3-8327-7D24A0A5716A} /i %SOFTWARE%\iTunes\8.1.0.52\AppleMobileDeviceSupport.msi" passive /norestart' timeout='300'> <upgrade cmdexit code="msiexec /qn /i %SOFTWARE%\iTunes\8.1.'0.52\AppleMobileDeviceSupport.msi" ' /> <remove cmdexit code="msiexec '1605' /qn > <exit code='3010' reboot='postponed' /uninstall {162B71B8-8464-4680-A086-601D555B331D}" > </remove>
</package>
</source>
 === 8.0.2.20 Quicktime ===Deploy File/Folder Structure %SOFTWARE%\itunes\8.0.2.20\iTunes.msi %SOFTWARE%\itunes\8The Quicktime installer package is grouped into multiple features (categories).0For reasons that are left to the imagination of the reader, Apple prevents the user from deselecting any of those features through the GUI.2However by using the ''ADDLOCAL'' switch, it is possible to specify which features should be installed.20\QuickTimeTo use the audio and video playback capabilites of Quicktime, only the feature ''QuickTimeEssentials'' is necessary.msi %SOFTWARE%\itunes\8The other features as of version 7.067 are: QuickTimeInternet, QuickTimeImage, QuickTimeEffects, QuickTimeMusic, QuickTimeAuthoring, QuickTimeCapture, QuickTimeForJava, QuickTimeDiagnostics, QuickTimeProResDecoder.2None of them is necessary to run ITunes, therefore they are all excluded.20\AppleMobileDeviceSupportBe aware that ''QuickTimeInternet'' includes the Quicktime plugin for the Internet Explorer (see above for possible security implications when installing this feature).msi
<source lang="xml">
<package id?xml version="itunes1.0"encoding="UTF-8"?> <package id='quicktime' name="'Apple iTunes" QuickTime' revision="8'7.067.275.20" 0' reboot="'false"' priority='1'> priority<chain package-id="1"'quicktimesettings' />
<check type="'uninstall' condition='exists' path='QuickTime' /> <check type='file" ' condition="'versiongreaterorequal" ' path="'%PROGRAMFILES%\iTunesQuickTime\iTunesQuickTimePlayer.exe" ' value="8'7.067.275.20"0' /> <!-- ADDLOCAL=QuickTimeEssentials: Only install the main feature of Quicktime --> <install cmd="'msiexec.exe /qn /norestart /i "%SOFTWARE%\itunes\8QuickTime.0.2.20msi" TRANSFORMS="%SOFTWARE%\iTunesitunes\quicktime-transform-from-above.msimst" ADDLOCAL=QuickTimeEssentials DESKTOP_SHORTCUTS=0 SCHEDULE_ASUW=0 /passive /norestart' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </install> <upgrade cmd="'msiexec.exe /qn /norestart /i "%SOFTWARE%\itunes\8.0QuickTime.2.20msi" TRANSFORMS="%SOFTWARE%\iTunesitunes\quicktime-transform-from-above.msimst" ADDLOCAL=QuickTimeEssentials DESKTOP_SHORTCUTS=0 SCHEDULE_ASUW=0 /passive /norestart' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </upgrade> <remove cmd="'msiexec.exe /qn /uninstall x {318AB667EB900AF8-3230CC61-41B54E15-A617871B-CB3BF748D37198D1EA3E8025}" /passive /norestart' timeout='300'> <exit code='0' /> <exit code='1605' /> <exit code='3010' reboot='postponed' /> </remove>
</package>
<package
id="quicktime"
name="Apple Quicktime"
revision="7.55.90.70"
reboot="false"
priority="1">
<package id='quicktimesettings' name='Apple QuickTime settings' revision='1' notify='false' reboot='false' priority='1'>
<!-- Adapt the paths to your locale -->
<check type='registry' condition='equals' path='HKLM\SOFTWARE\Apple Computer, Inc.\QuickTime\LocalUserPreferences\FolderPath' value='C:\Documents and Settings\All Users\Application Data\Apple Computer\QuickTime\' />
<check type='file' condition='exists' path='%ALLUSERSPROFILE%\Application Data\Apple Computer\QuickTime\QuickTime.qtp' />
<depends package-idinstall cmd="itunes"'%COMSPEC% /> <check type="file" condition="versiongreaterorequal" path=C if exist "%PROGRAMFILESALLUSERSPROFILE%\QuickTime\QuickTimePlayer.exe" value="7.55.90.70Application Data"xcopy /> <install cmd=y /v "msiexec /qn /i %SOFTWARE%\itunes\8.0.2.20\QuickTime.msiqtp" /> <upgrade cmd="msiexec /qn /i %SOFTWAREALLUSERSPROFILE%\itunesApplication Data\8.0.2.20Apple Computer\QuickTime.msi" ' timeout='60' /> <remove install cmd="msiexec '%COMSPEC% /qn /uninstall {8DC42D05-680B-41B0-8878-6C14D24602DB}C if exist " /></package><package id=%ALLUSERSPROFILE%\Application Data"applemobile" name=reg.exe add "HKLM\SOFTWARE\Apple Mobile Device SupportComputer, Inc.\QuickTime\LocalUserPreferences" revision=/v "2.1.2.7FolderPath" reboot=/d "false%ALLUSERSPROFILE%\Application Data\Apple Computer\QuickTime\\" priority/f' timeout="1"'60' />
<depends package-idupgrade cmd='%COMSPEC% /C if exist "itunes%ALLUSERSPROFILE%\Application Data"xcopy /> <check type=y /v "registry" condition="equals" path="HKLM\%SOFTWARE%\Microsoftitunes\WindowsQuickTime.qtp" "%ALLUSERSPROFILE%\CurrentVersionApplication Data\UninstallApple Computer\{EC4455AB-F155-4CC1-A4C5-88F3777F9886}\DisplayVersionQuickTime" value' timeout="2.1.2.7"'60' /> <install upgrade cmd="msiexec '%COMSPEC% /qn /i C if exist "%SOFTWAREALLUSERSPROFILE%\itunes\8Application Data" reg.0.2exe add "HKLM\SOFTWARE\Apple Computer, Inc.20\AppleMobileDeviceSupport.msiQuickTime\LocalUserPreferences" /> <upgrade cmd=v "FolderPath"msiexec /qn /i d "%SOFTWAREALLUSERSPROFILE%\itunesApplication Data\Apple Computer\QuickTime\8.0.2.20\AppleMobileDeviceSupport.msi" /> <remove cmdf' timeout="msiexec /qn /uninstall {EC4455AB-F155-4CC1-A4C5-88F3777F9886}" /></package><'60' /source>
<remove cmd=== 8.0.1.11 ===Deploy File/Folder Structure '%SOFTWARECOMSPEC%\itunes\8.0.1.11\iTunes.msi /C del "%SOFTWAREALLUSERSPROFILE%\itunesApplication Data\8.0.1.11Apple Computer\QuickTime.msi %SOFTWARE%\itunes\8QuickTime.0.1.11\AppleMobileDeviceSupport.msi <source langqtp"' timeout="xml"'60'> <package idexit code="itunes" name="Apple iTunes" revision="8.'0.1.11"' /> reboot <exit code="false" priority="'1"' /> <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.0.1.11"/remove>  <install remove cmd="msiexec'reg.exe /qn /norestart /i %delete "HKLM\SOFTWARE%\itunes\8Apple Computer, Inc.0.1.11\iTunes.msiQuickTime\LocalUserPreferences" /f' timeout='60'> <upgrade cmdexit code="msiexec.exe '0' /qn /norestart /i %SOFTWARE%\itunes\8.0.> <exit code='1.11\iTunes.msi" ' /> </remove cmd="msiexec.exe /qn /uninstall {DDDE0BE3-0CBE-4BF6-B75A-E3F69C947843}" />
</package>
<package
id="quicktime"
name="Apple Quicktime"
revision="7.55.90.70"
reboot="false"
priority="1">
 
<depends package-id="itunes"/>
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.55.90.70"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.1.11\QuickTime.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.1.11\QuickTime.msi" />
<remove cmd="msiexec /qn /uninstall {8DC42D05-680B-41B0-8878-6C14D24602DB}" />
</package>
<package
id="applemobile"
name="Apple Mobile Device Support"
revision="2.1.1.13"
reboot="false"
priority="1">
 
<depends package-id="itunes"/>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{976C2B2A-CE59-4AB3-83FB-BF895E28F2E6}\DisplayVersion" value="2.1.1.13"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.1.11\AppleMobileDeviceSupport.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.1.11\AppleMobileDeviceSupport.msi" />
<remove cmd="msiexec /qn /uninstall {976C2B2A-CE59-4AB3-83FB-BF895E28F2E6}" />
</package>
</source>
[[Category:Silent Installers]]
Anonymous user

Navigation menu