Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

Windows 11 RegDBGetKeyValueEx and WOW6432Node


We use InstallShield 2012.

On a Windows 11 PC we install a software which creates registry entries in "HKLM\SOFTWARE\folder_x\folder_y\CurrentVersion".

Now we have a Setup.exe which was created with InstallShield (InstallScript MSI Project). This setup checks the value of a key in "HKLM\SOFTWARE\folder_x\folder_y\CurrentVersion". This has worked without problems so far, just not in Windows 11.
We have found that Windows 11 searches in "HKLM\SOFTWARE\WOW6432Node\folder_x\folder_y\currentVersion".

Although we explicitly specify the path, it goes into the WOW6432Node which shouldn't be.

How can I search for the key in the path without it automatically going to WOW6432.

Here is an example code:

// Included header files ----------------------------------------------------
#include "ifx.h"

// Registry Path
#define REG_PATH "SOFTWARE\\folder_x\\folder_y\\CurrentVersion"
#define REG_VERSION "Version"

// Prototyp
prototype GetValueFromRegistry();

function OnFirstUIBefore()

function GetValueFromRegistry()
NUMBER nType, nSize;
STRING sResult;



if (RegDBGetKeyValueEx(REG_PATH, REG_UV_VERSION, nType, sResult, nSize) >= 0) then
MessageBox("Version found.", SEVERE);
MessageBox("Version not found.", SEVERE);


Thank you.

Labels (1)
0 Kudos
(1) Reply
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @axiansinfoma,

Thank you for your post.

InstallShield 2012 does not support Windows 11. InstallShield 2012 has reached its end-of-life, so InstallShield 2012 is no longer supported. For technical support, please contact us via the Contact Us Form at the following link to upgrade to InstallShield 2022, which is the latest supported InstallShield version:

Once you are on a supported InstallShield version, we'd be happy to assist you.

Please let us know if you have any questions or concerns. Thanks!

0 Kudos