Difference between revisions of "ITunes"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Added 8.1.0.52)
(XML)
Line 19: Line 19:
  
 
== XML ==
 
== XML ==
 +
=== 8.2.1 ===
 +
Deploy File/Folder Structure
 +
  %SOFTWARE%\itunes\8.2.1\iTunes.msi
 +
  %SOFTWARE%\itunes\8.2.1\QuickTime.msi
 +
  %SOFTWARE%\itunes\8.2.1\AppleMobileDeviceSupport.msi
 +
 +
<source lang="xml">
 +
<package
 +
    id="iTunes"
 +
    name="Apple iTunes"
 +
    revision="8.2.1"
 +
    reboot="false"
 +
    priority="1">
 +
  <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.2.1"/>
 +
  <install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.2.1\iTunes.msi" />
 +
  <upgrade cmd="msiexec.exe /qn /i %SOFTWARE%\iTunes\8.2.1\iTunes.msi">
 +
  <exit code="3010" reboot="true" />
 +
  <exit code="0" />
 +
  </upgrade>
 +
  <remove cmd="msiexec.exe /qn /uninstall {F4D6C3EB-304E-4B0C-8BCE-F6B9E974CD17}" />
 +
  </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\QuickTime.msi" />
 +
        <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\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="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Common Files\Apple\Mobile Device Support\bin\AppleMobileBackup.exe" value="8.2.596.2"/>        <install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\AppleMobileDeviceSupport.msi" />
 +
        <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\AppleMobileDeviceSupport.msi" />
 +
        <remove cmd="msiexec /qn /uninstall {5CF0656E-F3B8-11DB-BA81-804E56D89593}" />
 +
</package>
 +
</source>
 +
 +
 +
 
=== 8.1.0.52 ===
 
=== 8.1.0.52 ===
 
Deploy File/Folder Structure
 
Deploy File/Folder Structure

Revision as of 09:33, 22 July 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.2.1

Deploy File/Folder Structure

 %SOFTWARE%\itunes\8.2.1\iTunes.msi
 %SOFTWARE%\itunes\8.2.1\QuickTime.msi
 %SOFTWARE%\itunes\8.2.1\AppleMobileDeviceSupport.msi
 
 <package
    id="iTunes"
    name="Apple iTunes"
    revision="8.2.1"
    reboot="false"
    priority="1">
  	<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\iTunes\iTunes.exe" value="8.2.1"/>
  	<install cmd="msiexec.exe /qn /norestart /i %SOFTWARE%\iTunes\8.2.1\iTunes.msi" />
  	<upgrade cmd="msiexec.exe /qn /i %SOFTWARE%\iTunes\8.2.1\iTunes.msi">
   		<exit code="3010" reboot="true" />
   		<exit code="0" />
  	</upgrade>
  	<remove cmd="msiexec.exe /qn /uninstall {F4D6C3EB-304E-4B0C-8BCE-F6B9E974CD17}" />
  </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\QuickTime.msi" />
        <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\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="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Common Files\Apple\Mobile Device Support\bin\AppleMobileBackup.exe" value="8.2.596.2"/>        <install cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\AppleMobileDeviceSupport.msi" />
        <upgrade cmd="msiexec /qn /i %SOFTWARE%\iTunes\8.2.1\AppleMobileDeviceSupport.msi" />
        <remove cmd="msiexec /qn /uninstall {5CF0656E-F3B8-11DB-BA81-804E56D89593}" />
</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>