I have some code that reads the registry and looks for a value in HKEY_LOCAL_MACHINESoftwareApp
but when running on 64-bit versions of Windows the value is under HKEY_LOCAL_MACHINESoftwareWow6432NodeApp
.
How should I best approach this? Do I need a 64-bit installer or should I rewrite my code to detect both places?
See Question&Answers more detail:os