/build/static/layout/Breadcrumb_cap_w.png

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

 


 


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. - SDNBTP 10 years ago

Answers (1)

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 .
Posted by: Sujit J 10 years ago
Blue Belt
1

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:

 


Comments:
  • I will check tomorrow , thank you - indierox 10 years ago
    • Sujit J you were right, changed component and it resolved the issue in the registry , thanks! - indierox 10 years ago
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ