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

 


 

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 .
Cancel
1 Comment   [ + ] Show Comment

Comments

  • 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

Answers

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:

 

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

Share