Difference between revisions of "ITunes"
Dereckmartin (Talk | contribs) |
m (→Pre-Setup Process) |
||
Line 10: | Line 10: | ||
* Copy multiple MSI packages to a directory for your choosing. | * Copy multiple MSI packages to a directory for your choosing. | ||
* You can now stop the iTunes install. | * 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 | I rename my packages to remove any spaces and or to shorten the name. My XML will reflect that, so keep that in mind |
Revision as of 13:38, 19 March 2009
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
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>