Trying to write registry data to HKLM for AppcompatFlags, but it re-routes to Wow6432Node
Folks, trying to write registry entry into installshield componant as the following:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags
"{6c6d56e2-334e-4905-81cb-1d87b6451941}"=dword:00000004
Its getting written, but into the wrong area here:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags
"{6c6d56e2-334e-4905-81cb-1d87b6451941}"=dword:00000004
If I make this into a .reg file it imports fine - but as an MSI componant the registry is re-routed, causing the app compatibilty setting to not work.
Ive been searching for hours, what am I doing wrong?
thank you
Indie
-
HKLM\Software\WOW6432Node is where 32 bit programs go on a 64 bit machine, 32 bit apps accessing WOW6432Node see it as HKLM\Software. As Sujit mentioned you're probably in 32 bit mode not 64 bit. - SDNBTP 10 years ago
Answers (1)
The component containing the registry was not flagged as 64bit. After making these changes and updating the MSI - the testing was successful. Thank you Sujit J .
Hello
Can you please check if the "Component is marked as 64bit".
In order to write registry to 64bit registry and not under Wow6432Node, the component should be 64bit as shown below: