[wix-users] Registry Search

Carlos Sosa carlos.sosa.us at outlook.com
Tue Jan 9 09:49:08 PST 2018


Ok, If I add the Win64="yes" it works but according the documentation :

Instructs the search to look in the 64-bit registry when the value is 'yes'. When the value is 'no', the search looks in the 32-bit registry. The default value is based on the platform set by the -arch switch to candle.exe or the InstallerPlatform property in a .wixproj MSBuild project: For x86 and ARM, the default value is 'no'. For x64 and IA64, the default value is 'yes'.

Shouldn't this look for that registry entry in the Wow64Node?




-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Carlos Sosa via wix-users
Sent: Tuesday, January 9, 2018 10:30 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Carlos Sosa <carlos.sosa.us at outlook.com>Subject: [wix-users] Registry Search


I really need help with this, why is this returning "Registry key not found"

  <util:RegistrySearch
      Root="HKLM"
      Key="SOFTWARE\Microsoft\Microsoft SQL Server\MSSQLServer"
      Result="exists"
      Variable ="SQL_Installed"/>

>From the registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQLServer]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQLServer\CurrentVersion]
"Language"=dword:00000409

Error Message:

[0B10:0B98][2018-01-09T09:18:52]i000:
Registry key not found. Key = 'SOFTWARE\Microsoft\Microsoft SQL Server\MSSQLServer'


Any help is appreciated.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list