Hi.
I have an application in C#. When installing the msi, the user is requested to input some values and these are entered in registry under HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder. When running the application, the value is read from the registry location and the application uses these values for processing. This works fine on Windows XP.
Now I have recently moved to Windows 7 64 bits. When installing the application on Win 7, the registry entries are created at HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MyFolder. The problem I am having is that I have hard coded my application to read values from HKEY_LOCAL_MACHINE\SOFTWARE\MyFolder. How do I change this to make my application compatible with Win XP, Win 7 and Win 8?
Your help will be greatly appreciated.