Disabling registry redirection for an x64-based registry key

On a 64-bit platform, the installed verification is not performed for SQL Reporting Services and add-ons. The installer checks the registry entries along the path "HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Microsoft SQL Server \ Instance Names" and the registry entry is available there, but since MS SQL Server is a 64-bit application, the installer is redirected to the path "HKEY_LOCAL_MACHINE \ Software \ WOW6432node \ Microsoft \ Microsoft SQL Server \ name instances "and there are no entries for them. Therefore, installation verification is not performed.

Workaround: I checked it manually by creating entries in the "HKEY_LOCAL_MACHINE \ Software \ WOW6432node \ Microsoft \ Microsoft SQL Server \ Instance Names \ RS" section, after which the installation check was successful.

In short, on the x64 platform installed-check refers to registry keys from WOW6432node, not to 64-bit ones.

So, how can I get my 32-bit installer to access 64-bit registries for the correct install-check?

I tried RegDisableReflectionKey and related functions as an alternative to redirecting the registry, but this did not work on my part.

How can I fix this problem?

+5
source share
2 answers

Microsoft Registry Reflection, KEY_WOW64_64KEY RegOpenKeyEx.

+6

Right. - . , , .

, 64- , 64- .

+3

All Articles