I am seeing the same behavior as reported in bug 4231
(http://wixtoolset.org/issues/4231/), using WiX 3.8. The Root element of
RegistrySearch is ignored. I have:

<Chain>
        <ExePackage Id="SQLSERVER_EXPRESS"
                  SourceFile="en_sql_server_2014_express_x64.exe"
                  InstallCommand="$(var.SqlInstallCommand)"
                  UninstallCommand="$(var.SqlUninstallCommand)"
                  RepairCommand="$(var.SqlRepairCommand)"
                  DetectCondition="SqlInstanceFound">

          <dep:Provides Key="SqlServerExpress_$(var.SqlServerInstanceName)"
Version="12.0.2000.8" />
      </ExePackage>
</Chain>

<util:RegistrySearch Id="SqlInstanceFound" 
                         Root="HKLM" 
                         Key="SQL"
                         Value="$(var.SqlServerInstanceName)"
                         Result="exists" 
                         Variable="SqlInstanceFound" />

And in the uninstall log, where it should detect SQL Server, it doesn't, so
SQL Server is not removed. Has anyone been seeing this? I'm installing SQL
Server 2014 Express x64 to Windows Server 2012 R2 x64.

Install log:

[02B4:0610][2014-07-12T21:45:07]i100: Detect begin, 1 packages
[02B4:0610][2014-07-12T21:45:07]i000: Registry key not found. Key =
'SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL'

It's missing the HKEY_LOCAL_MACHINE from the beginning of the key. I have
verified that the key does exist in the registry under HKLM.



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Root-ignored-by-util-RegistrySearch-in-Burn-bundle-tp7595806.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to