The issue isn't to recognize the PROCESSOR_ARCHITECTURE - that i did in previous function in my full code and set $SERVER_PLATFORM accordingly - the issue/question is how can I control the reading of the Registry key in x64 machine:
from: HKEY_LOCAL_MACHINE\SOFTWARE
or: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node | [reply] [d/l] [select] |
Um, that is what just doesn't make any sense whatsoever. Its like saying I can tie my left shoe, how can I tie my right shoe?
You have the code right there, change $Registry in the conditional to the 64 value, and you're done.
| [reply] |