[wix-users] Obtaining version for already installed 3rd party program
Nir Bar
nir.bar at panel-sw.com
Wed Mar 21 03:32:07 PDT 2018
Your log says:
AppSearch: Property: CLEARSCADA_VER, Signature: ClearSCADAVersionSearch
MSI (c) (4C:98) [15:39:19:621]: Note: 1: 2262 2: Signature 3: -2147287038
MSI (c) (4C:98) [15:39:19:621]: Note: 1: 1402 2:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Current
Version\Uninstall\{2ACE38B2-F142-4EFE-9AC7-B25514E4930E} 3: 2
Error 1402 says "Could not open key: [2]. System error [3]." which leads us to getting system error 2 (ERROR_FILE_NOT_FOUND).
Is there a space in "Current Version"? It should be spaceless.
Maybe ClearSCADA is installed in user context? If so, search in registry rook HKCU.
Regarding the ComponentGroups-
Maybe you can heat all components in a single go for one level higher and use the XSLT to condition each component with the version number taken from its folder name?
--
Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework
More information about the wix-users
mailing list