Difference between revisions of "ITunes"
Dereckmartin (Talk | contribs) (→XML) |
Dereckmartin (Talk | contribs) (→XML) |
||
Line 20: | Line 20: | ||
== XML == | == XML == | ||
'''If you update this code, please remember the SIDs change on each new version installed''' | '''If you update this code, please remember the SIDs change on each new version installed''' | ||
+ | |||
+ | === 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"> | ||
+ | <package | ||
+ | id="itunes" | ||
+ | name="Apple iTunes" | ||
+ | revision="9.0.0.70" | ||
+ | reboot="false" | ||
+ | priority="1"> | ||
+ | |||
+ | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="9.0.0.70"/> | ||
+ | |||
+ | <install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\9.0.0.70\iTunes.msi" /> | ||
+ | <upgrade cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\9.0.0.70\iTunes.msi"> | ||
+ | <exit code="any" /> | ||
+ | </upgrade> | ||
+ | <remove cmd="msiexec.exe /qn /uninstall {EC2A8F27-4FBF-4E41-B27B-FE822511B761}" /> | ||
+ | </package> | ||
+ | <package | ||
+ | id="applesupport" | ||
+ | name="Apple Software Application Support" | ||
+ | revision="1.0" | ||
+ | reboot="false" | ||
+ | priority="1"> | ||
+ | |||
+ | <depends package-id="itunes"/> | ||
+ | <check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0C34B801-6AEC-4667-B053-03A67E2D0415}\DisplayVersion" value="1.0"/> | ||
+ | <install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleApplicationSupport.msi" /> | ||
+ | <upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleApplicationSupport.msi" /> | ||
+ | <remove cmd="msiexec /qn /uninstall {0C34B801-6AEC-4667-B053-03A67E2D0415}" /> | ||
+ | </package> | ||
+ | <package | ||
+ | id="quicktime" | ||
+ | name="Apple Quicktime" | ||
+ | revision="7.62.17.73" | ||
+ | reboot="false" | ||
+ | priority="1"> | ||
+ | |||
+ | |||
+ | <depends package-id="itunes"/> | ||
+ | <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.62.17.73"/> | ||
+ | |||
+ | <install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\QuickTime.msi" /> | ||
+ | <upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\QuickTime.msi" /> | ||
+ | <remove cmd="msiexec /qn /uninstall {A429C2AE-EBF1-4F81-A221-1C115CAADDAD}" /> | ||
+ | </package> | ||
+ | <package | ||
+ | id="applemobile" | ||
+ | name="Apple Mobile Device Support" | ||
+ | revision="2.6.0.32" | ||
+ | reboot="false" | ||
+ | priority="1"> | ||
+ | |||
+ | <depends package-id="itunes"/> | ||
+ | <check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}\DisplayVersion" value="2.6.0.32"/> | ||
+ | <install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleMobileDeviceSupport.msi" /> | ||
+ | <upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleMobileDeviceSupport.msi" /> | ||
+ | <remove cmd="msiexec /qn /uninstall {AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}" /> | ||
+ | </package> | ||
+ | </source> | ||
+ | |||
+ | |||
=== 8.2.1.6 === | === 8.2.1.6 === | ||
Deploy File/Folder Structure | Deploy File/Folder Structure |
Revision as of 18:20, 11 September 2009
Contents
Apple iTunes
Apple iTunes is a program to both play different types of media, but it is also required if you want to sync an iPhone with outlook in a corporate environment. you can get it [here]. It comes bundled with multiple sub programs. Some are desired and some are not. I will post below the minimum required ones to get a get iTunes working. It will include the iTunes, Quicktime and Apple Mobile Device Support.
Pre-Setup Process
The iTunes installer does not have a silent option. One must do the following to extract the msi's from the package.
* Download the setup file from apple. * Begin the setup process, but do not proceed any further. * Goto your Temp folder for your profile "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 to a directory for your choosing. * You can now stop the iTunes install.
Alternatively simply open the setup file with 7Zip and copy the individual msi files to your %SOFTWARE%\iTunes\version directory
I rename my packages to remove any spaces and or to shorten the name. My XML will reflect that, so keep that in mind
** NOTE **: Each sub-application has it's own version. When a new version for iTunes comes out, you will need to install all the applications on a test box and see which sub-applications have updated. You will find that most of the time it is just the iTunes msi that has a new revision and the others remain the same. Each one also has it's own uninstall command.
XML
If you update this code, please remember the SIDs change on each new version installed
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
<package
id="itunes"
name="Apple iTunes"
revision="9.0.0.70"
reboot="false"
priority="1">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="9.0.0.70"/>
<install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\9.0.0.70\iTunes.msi" />
<upgrade cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\9.0.0.70\iTunes.msi">
<exit code="any" />
</upgrade>
<remove cmd="msiexec.exe /qn /uninstall {EC2A8F27-4FBF-4E41-B27B-FE822511B761}" />
</package>
<package
id="applesupport"
name="Apple Software Application Support"
revision="1.0"
reboot="false"
priority="1">
<depends package-id="itunes"/>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0C34B801-6AEC-4667-B053-03A67E2D0415}\DisplayVersion" value="1.0"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleApplicationSupport.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleApplicationSupport.msi" />
<remove cmd="msiexec /qn /uninstall {0C34B801-6AEC-4667-B053-03A67E2D0415}" />
</package>
<package
id="quicktime"
name="Apple Quicktime"
revision="7.62.17.73"
reboot="false"
priority="1">
<depends package-id="itunes"/>
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.62.17.73"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\QuickTime.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\QuickTime.msi" />
<remove cmd="msiexec /qn /uninstall {A429C2AE-EBF1-4F81-A221-1C115CAADDAD}" />
</package>
<package
id="applemobile"
name="Apple Mobile Device Support"
revision="2.6.0.32"
reboot="false"
priority="1">
<depends package-id="itunes"/>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}\DisplayVersion" value="2.6.0.32"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleMobileDeviceSupport.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\9.0.0.70\AppleMobileDeviceSupport.msi" />
<remove cmd="msiexec /qn /uninstall {AADEA55D-C834-4BCB-98A3-4B8D1C18F4EE}" />
</package>
8.2.1.6
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
<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>
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
<package id="iTunes"
name="Apple iTunes"
revision="8.1.0.51"
reboot="false"
priority="198"> >
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.1.0.52"/>
<install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.1.0.52\iTunes.msi">
<exit code="3010" />
</install>
<upgrade cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.1.0.52\iTunes.msi" />
<remove cmd="msiexec.exe /qn /norestart /uninstall {F4D6C3EB-304E-4B0C-8BCE-F6B9E974CD17}" />
</package>
<package
id="quicktime"
name="Apple Quicktime"
revision="7.60.92.0"
reboot="false"
priority="198">
<depends package-id="iTunes"/>
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\QuickTime\QuickTimePlayer.exe" value="7.60.92.0"/>
<install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.1.0.52\QuickTime.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.1.0.52\QuickTime.msi" />
<remove cmd="msiexec /qn /uninstall {216AB108-2AE1-4130-B3D5-20B2C4C80F8F}" />
</package>
<package
id="applemobile"
name="Apple Mobile Device Support"
revision="2.4.0.27"
reboot="false"
priority="198">
<depends package-id="iTunes"/>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{162B71B8-8464-4680-A086-601D555B331D}\DisplayVersion" value="2.4.0.27"/>
<install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.1.0.52\AppleMobileDeviceSupport.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.1.0.52\AppleMobileDeviceSupport.msi" />
<remove cmd="msiexec /qn /uninstall {162B71B8-8464-4680-A086-601D555B331D}" />
</package>
8.0.2.20
Deploy File/Folder Structure
%SOFTWARE%\itunes\8.0.2.20\iTunes.msi %SOFTWARE%\itunes\8.0.2.20\QuickTime.msi %SOFTWARE%\itunes\8.0.2.20\AppleMobileDeviceSupport.msi
<package
id="itunes"
name="Apple iTunes"
revision="8.0.2.20"
reboot="false"
priority="1">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.0.2.20"/>
<install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\8.0.2.20\iTunes.msi" />
<upgrade cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\8.0.2.20\iTunes.msi" />
<remove cmd="msiexec.exe /qn /uninstall {318AB667-3230-41B5-A617-CB3BF748D371}" />
</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.2.20\QuickTime.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.2.20\QuickTime.msi" />
<remove cmd="msiexec /qn /uninstall {8DC42D05-680B-41B0-8878-6C14D24602DB}" />
</package>
<package
id="applemobile"
name="Apple Mobile Device Support"
revision="2.1.2.7"
reboot="false"
priority="1">
<depends package-id="itunes"/>
<check type="registry" condition="equals" path="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{EC4455AB-F155-4CC1-A4C5-88F3777F9886}\DisplayVersion" value="2.1.2.7"/>
<install cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.2.20\AppleMobileDeviceSupport.msi" />
<upgrade cmd="msiexec /qn /i %SOFTWARE%\itunes\8.0.2.20\AppleMobileDeviceSupport.msi" />
<remove cmd="msiexec /qn /uninstall {EC4455AB-F155-4CC1-A4C5-88F3777F9886}" />
</package>
8.0.1.11
Deploy File/Folder Structure
%SOFTWARE%\itunes\8.0.1.11\iTunes.msi %SOFTWARE%\itunes\8.0.1.11\QuickTime.msi %SOFTWARE%\itunes\8.0.1.11\AppleMobileDeviceSupport.msi
<package
id="itunes"
name="Apple iTunes"
revision="8.0.1.11"
reboot="false"
priority="1">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.0.1.11"/>
<install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\8.0.1.11\iTunes.msi" />
<upgrade cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\itunes\8.0.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>