Changes

ITunes

3,148 bytes added, 17:08, 2 April 2015
iTunes 12.1.1.4
= 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 [http://www.apple.com/itunes/download/ Apple]. Apple The main download page attempts to guess what platform you're on and only offers you the correct download for that OS, but you can get find direct download links for 32- and 64-bit packages from [https://discussions.apple.com/docs/DOC-6562#morethis troubleshooting article].
* Open the files with 7zip or another file archiver
** For 32-bit, download iTunesSetup.exe and extract iTunes.msi, AppleApplicationSupport.msi and AppleMobileDeviceSupport.msi
'Copy this to notepad++ or anoter editor, save as *.vbs :-)
= Full ITunes iTunes 12.1.1.4 installation 11 =''If you update this code, please remember the uninstall GUIDs change on with each new version installed!'' These package definitions provide a working installation of iTunes which allows you to activate, back up and sync an iPod, iPad or iPhone, install new iOS versions and get songs/apps from the Apple Store, but doesn't install Bonjour, doesn't create desktop shortcuts, doesn't use Apple Software Update, doesn't take over file associations and doesn't tamper with autorun settings. This package is designed to uninstall cleanly even if you forget to update the GUIDs.
Deploy File/Folder Structure
%SOFTWARE%\itunesapple\iTunes-12.1.1\iTunes.msi %SOFTWARE%\itunesapple\iTunes64iTunes-12.1.1\iTunes6464.msi %SOFTWARE%\itunesapple\iTunes-12.1.1\AppleMobileDeviceSupport.msi %SOFTWARE%\itunesapple\iTunes-12.1.1\AppleMobileDeviceSupport6464.msi %SOFTWARE%\apple\iTunes-12.1.1\AppleApplicationSupport.msi %SOFTWARE%\itunesapple\iTunes-12.1.1\AppleApplicationSupport64.msi
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" > <package id='"appleapplicationsupport' " name="Apple Application Support" revision="%PKG_VERSION%" reboot="false" priority="0">  <variable name="PKG_VERSION" value="3.1.2" /> <variable name='ITUNES_VER' value="12.1.1" />  <check type="logical" condition="and"> <check type="uninstall" condition="versiongreaterorequal" path="Apple Application Support (32-bit)" value="%PKG_VERSION%" /> <check type="uninstall" condition="versiongreaterorequal" path="Apple Application Support (64-bit)" value="%PKG_VERSION%" architecture="x64" /> </check>   <install cmd='msiexec /qn /i "%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleApplicationSupport.msi"'> <exit code="0" /> <exit code="1638" /> <exit code="3010" /> </install> <install cmd='msiexec /qn /i "%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleApplicationSupport64.msi"' architecture="x64"> <exit code="0" /> <exit code="1638" /> <exit code="3010" /> </install>   <upgrade include="install" />  <remove cmd="msiexec /qn /x {447cdce5-f555-429b-bfa6-642c3c6d684f}"> <exit code="any" /> </remove> <remove cmd="msiexec /qn /x {0df7096b-715a-4233-8633-c7a16ed6d616}" architecture="x64"> <exit code="any" /> </remove> <remove cmd='msiexec /qn /x "%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleApplicationSupport.msi"'> <exit code="any" /> </remove> <remove cmd='msiexec /qn /x "%SOFTWARE%\Apple\iTunes-%ITUNES_VER%\AppleApplicationSupport64.msi"' architecture="x64"> <exit code="any" /> </remove></package>  <package id='applemobilesupport' name='Apple Mobile Device Support' revision='%PKGVER%' reboot='false' priority='10'> <variable name='PKGVER' value='8.1.1.3' /> <variable name='ITUNES_VER' value='12.01.61' /> <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='{e1db0812-2d60-43db-ae09-6c7027d93b28}' architecture="x86" /> <variable name="PRODUCT_ID" value='{c4123106-b685-48e6-b9bd-e4f911841eb4}' architecture="x64" />
<check type='uninstall' condition='versiongreaterorequal' path='Apple Application Mobile Device Support' value='%PKGVER%'/>
<install cmd='msiexec /i "%SOFTWAREPKG_SOURCE%\itunes\AppleApplicationSupport.msi" /passive /norestart' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </install>
<upgrade include='install' />
<remove cmd='msiexec /x{78002155-f025-4070-85b3-7c0453561701} %PRODUCT_ID% /passive /norestart' timeout='300'> <exit code='0any' /> <exit code/remove> <remove cmd='1605' msiexec /x "%PKG_SOURCE%" /passive /norestart' timeout='300'> <exit code='3010' reboot='postponedany' /> </remove>
</package>
<package id='applemobilesupport' name='Apple Mobile Device Support' revision='%PKGVER%' reboot='false' priority='10'>
<variable name='PKGVER' value='8.0.0.23' />
<variable name="PKG_SOURCE" value='%SOFTWARE%\itunes\AppleMobileDeviceSupport.msi' architecture="x86" />
<variable name="PKG_SOURCE" value='%SOFTWARE%\itunes\AppleMobileDeviceSupport64.msi' architecture="x64" />
<variable name="PRODUCT_ID" value='{c0cc75cd-f5b7-46ad-b016-17c0f5171718}' architecture="x86" />
<variable name="PRODUCT_ID" value='{b678797f-df38-4556-8a31-8b818e261868}' architecture="x64" />
<check typepackage id='uninstallitunes' condition='versiongreaterorequal' pathname='Apple Mobile Device SupportiTunes' valuerevision='%PKGVER%' reboot='false' priority='9'> <depends package-id='appleapplicationsupport' /> <depends package-id='applemobilesupport' />
<install cmdvariable name='msiexec PKGVER' value='12.1.1' /i > <variable name="%PKG_SOURCE%" /passive /norestart' timeoutvalue='300%SOFTWARE%\Apple\iTunes-%PKGVER%\iTunes.msi'architecture="x86" /> <exit codevariable name="PKG_SOURCE" value='0%SOFTWARE%\Apple\iTunes-%PKGVER%\iTunes6464.msi' architecture="x64" /> <exit codevariable name='3010' reboot"PRODUCT_ID" value='postponed{3a9fe6b1-ee7f-40ac-b831-ac7c9abb58a0}' architecture="x86" /> <variable name="PRODUCT_ID" value='{d227565a-0033-40ad-89ba-653a205cdc11}' architecture="x64" /install>
<upgrade includecheck type='installuninstall' condition='versiongreaterorequal' path='iTunes' value='%PKGVER%' /> <!-- Check if automatic updates have been disabled (value: 256) and settings have been locked (value: 1) --> <remove cmdcheck type='msiexec /x%PRODUCT_ID% /passive /norestartregistry' timeoutcondition='300equals'> <exit codepath='0HKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default\AdminFlags' /> <exit codevalue='1605257' /> <exit code!-- DESKTOP_SHORTCUTS=0: Don'3010t create desktop shortcuts MEDIA_DEFAULTS=0: Don' reboott make ITunes the default program for Audio CDs and various audio filetypes SCHEDULE_ASUW=0: Don'postponed' />t create a scheduled task to automatically </remove> search for ITunes updates</package REENABLEAUTORUN=0: Don't try to re-enable Windows autorun feature for CDs -->
<package id='itunes' name='Apple iTunes' revisioninstall cmd='msiexec.exe /i "%PKGVERPKG_SOURCE%' reboot" DESKTOP_SHORTCUTS=0 MEDIA_DEFAULTS=0 SCHEDULE_ASUW=0 REENABLEAUTORUN=0 /passive'false' prioritytimeout='9300'> <depends package-idexit code='appleapplicationsupport0' /> <depends package!-id- <exit code='applemobilesupport3010' reboot='postponed' /> --> </install>
<variable name='PKGVER' value='11!-- Disable automatic update of ITunes via parental controls and lock the settings, see http://wpkg.4.0.18' org/iTunes more info --> <variable nameinstall cmd='reg add "PKG_SOURCE" value='%HKLM\SOFTWARE%\itunesApple Computer, Inc.\iTunes.msi' architecture="x86" /> <variable name="PKG_SOURCE" value='%SOFTWARE%\itunesParental Controls\iTunes64.msi' architecture="x64Default" /> <variable name=v "PRODUCT_IDAdminFlags" value='{f32dc846-4457-40a8-beca-bcc0e960bc53}' architecture=/t REG_DWORD /d "x860x101" /> <variable name="PRODUCT_ID" valuef' timeout='{f46aa0f1-e284-4878-a462-5f11b9166c0e}60' architecture="x64" />
<check type=!-- Don'uninstall' condition='versiongreaterorequal' path='iTunes' value='%PKGVER%' /t automatically load ITunes-Calendar-Addin for Outlook --> <!-- Check if automatic updates have been disabled (value: 256) and settings have been locked (value: 1) This came from wpkg.org but probably won't actually work, since it uses HKCU --> <check typeinstall cmd='registry' condition='equals' path='HKLMreg add "HKCU\SOFTWARESoftware\Apple Computer, Inc.Microsoft\iTunesOffice\Parental ControlsOutlook\DefaultAddins\AdminFlagsiTunesAddIn.CalendarHelper" /v "LoadBehavior" /t REG_DWORD /d "0x0" /f' valuetimeout='25760' />
<install cmdupgrade include='msiexec.exe /i "%PKG_SOURCE%" SCHEDULE_ASUW=0 /passive' timeout='300'> <exit code='0' /> <exit code='3010' reboot='postponed' /> </install> <!-- Disable automatic update of ITunes via parental controls and lock the settings, see below for more info --> <install cmd='reg add "HKLM\SOFTWARE\Apple Computer, Inc.\iTunes\Parental Controls\Default" /v "AdminFlags" /t REG_DWORD /d "0x101" /f' timeout='60' />
<upgrade include='install' /> <remove cmd='msiexec.exe /x%PRODUCT_ID% /passive /norestart' timeout='300'> <exit code='0any' /> <exit code/remove> <remove cmd='1605' msiexec.exe /x "%PKG_SOURCE%" /passive /norestart' timeout='300'> <exit code='3010' reboot='postponedany' /> </remove> 
</package>
</packages>
</source>
91
edits