Changes

Jump to: navigation, search

ITunes

36 bytes added, 21:13, 2 July 2015
iTunes 12.1.1.4 installation: iTunes 12.2.0.145
* Apple usually changes the GUIDs for every new release. This means that you need to perform a test install and check the GUIDs every time you deploy a new version unless you're willing to require that the original MSI be present to perform an uninstallation. One could potentially also write a script to check <code>HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products</code> and find the correct uninstall string for whatever version of each package is currently installed.
= iTunes 12.12.10.4 145 installation =
''If you update this code, please remember the uninstall GUIDs change with each new version!''
Deploy File/Folder Structure
%SOFTWARE%\apple\iTunes-12.12.10.145\iTunes.msi %SOFTWARE%\apple\iTunes-12.12.10.145\iTunes6464.msi %SOFTWARE%\apple\iTunes-12.12.10.145\AppleMobileDeviceSupport.msi %SOFTWARE%\apple\iTunes-12.12.10.145\AppleMobileDeviceSupport6464.msi %SOFTWARE%\apple\iTunes-12.12.10.145\AppleApplicationSupport.msi %SOFTWARE%\apple\iTunes-12.12.0.1145\AppleApplicationSupport64.msi
<source lang="xml">
priority="0">
<variable name="PKG_VERSION" value="3.1.2" /> <variable name='ITUNES_VER' value="12.12.0.1145" />
<check type="logical" condition="and">
<upgrade include="install" />
<remove cmd="msiexec /qn /x {447cdce57fe25256-f555b7c1-429b480d-bfa6b736-642c3c6d684f10a67a833aea}">
<exit code="any" />
</remove>
<remove cmd="msiexec /qn /x {0df7096bb255d495-715a4734-42334e9b-8633b4f5-c7a16ed6d61696702fd4a7b9}" architecture="x64">
<exit code="any" />
</remove>
<package id='applemobilesupport' name='Apple Mobile Device Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='8.12.1.3' /> <variable name='ITUNES_VER' value='12.12.10.145' />
<variable name="PKG_SOURCE" value='%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleMobileDeviceSupport.msi' architecture="x86" />
<variable name="PKG_SOURCE" value='%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleMobileDeviceSupport6464.msi' architecture="x64" />
<variable name="PRODUCT_ID" value='{e1db0812538227c6-2d60c74b-43db4a74-ae0999e1-6c7027d93b282c0b4f9da5e1}' architecture="x86" /> <variable name="PRODUCT_ID" value='{c41231065d61f006-b685168c-48e64b8b-b9bdb7fd-e4f911841eb4f113c10ae0e4}' architecture="x64" />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Mobile Device Support' value='%PKGVER%' />
<depends package-id='applemobilesupport' />
<variable name='PKGVER' value='12.12.10.145' />
<variable name="PKG_SOURCE" value='%SOFTWARE%\Apple\iTunes-%PKGVER%\iTunes.msi' architecture="x86" />
<variable name="PKG_SOURCE" value='%SOFTWARE%\Apple\iTunes-%PKGVER%\iTunes6464.msi' architecture="x64" />
<variable name="PRODUCT_ID" value='{3a9fe6b1a3875ced-ee7f8b9b-40ac47f5-b8319ab9-ac7c9abb58a00c36dd2d8d18}' architecture="x86" /> <variable name="PRODUCT_ID" value='{d227565a4046f74a-003328f8-40ad48c6-89baa5d3-653a205cdc112afc472574c1}' architecture="x64" />
<check type='uninstall' condition='versiongreaterorequal' path='iTunes' value='%PKGVER%' />
91
edits

Navigation menu