Talk:ITunes

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

it appears that: <check type='uninstall' condition='versiongreaterorequal' path='Apple Application Support' value='%PKGVER%'/>

is looking in the wrong place: "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{853A4763-6643-4604-8D64-28BDD8925F4C}\DisplayVersion"

in Win7x64.

It should perhaps be: "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\2E666343950ACA84DA7632B07FE4D22B\InstallProperties\DisplayVersion"

??


2012-01-10 12:17:20, DEBUG  : Going to install package 'Apple Application Support' (appleapplicationsupport), Revision 1.5.1, (execute flag is , notify flag is 'true'). 2012-01-10 12:17:20, DEBUG  : Package 'Apple Application Support' (appleapplicationsupport): Not yet processed during this session. 2012-01-10 12:17:20, DEBUG  : Package 'Apple Application Support' (appleapplicationsupport): Not in local package database; Marking for installation. 2012-01-10 12:17:20, DEBUG  : Package 'Apple Application Support' (appleapplicationsupport): Prepared for installation. 2012-01-10 12:17:20, DEBUG  : Checking existence of package: Apple Application Support 2012-01-10 12:17:20, DEBUG  : Reading variables from hosts[s] 2012-01-10 12:17:20, DEBUG  : Reading variables from profile[s] 2012-01-10 12:17:20, DEBUG  : Reading variables from package 'Apple Application Support'. 2012-01-10 12:17:20, DEBUG  : The registry path 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{853A4763-6643-4604-8D64-28BDD8925F4C}\DisplayVersion' did not exist. Check failed. 2012-01-10 12:17:20, DEBUG  : Searching for previously executed checks with attributes type='registry', condition='equals', path='HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{853A4763-6643-4604-8D64-28BDD8925F4C}\\DisplayVersion', value='1.5.1' 2012-01-10 12:17:20, DEBUG  : Unable to find any previously executed checks with these attributes. 2012-01-10 12:17:20, DEBUG  : Saving unsorted settings to 'C:\Windows\System32\wpkg.xml'.false 2012-01-10 12:17:20, DEBUG  : Saving XML : C:\Windows\System32\wpkg.xml 2012-01-10 12:17:20, INFO  : Package 'Apple Application Support' (appleapplicationsupport): Not installed (checks failed). Preparing installation.

Apple Application Support is a 32 bit application. Its uninstall entry is therefor found in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{343666E2-A059-48AC-AD67-230BF74E2DB2}. On our Windows 7 x64 systems WPKG looks in this registry key and the installation succeeds.