Folks, trying to write registry entry into installshield componant as the following:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags


Its getting written, but into the wrong area here:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AppCompatFlags



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





Answer Summary:
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 .
1 Comment   [ + ] Show Comment


  • 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.
Please log in to comment




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:


Answered 01/21/2014 by: Sujit J
Blue Belt

  • I will check tomorrow , thank you
    • Sujit J you were right, changed component and it resolved the issue in the registry , thanks!
Please log in to comment
Answer this question or Comment on this question for clarity