hi,
generally the intention is that the registry entry will be created under one of the paths only. So if the user has installed the 64 bit version, then i can not guess why would the application create the registry key under wow6432Node node also. (maybe registry redirection or something)
A check to determine whether the system is 64 bit or 32 bit is enough for this situation and then check for the key accordingly.
check out Raymond Chen's suggestion[
^]
hope this helps !
was finally solved with the help of these flags:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa384129%28v=vs.85%29.aspx[
^]
please refer the comments below.