im having some issues with pulling registry keys as a variable for 64 bit machines, my agent procedure works great on 32 bit OS's, but i do not get any data populated on 64bit OS's, even though the registry key is in the exact same location and ive tried changing it to get variable from a 64-bit value with no change from the standard Registry value that will pull just fine from 32bit OS's.
the key i want to pull info from is located in: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%programname%\key
it's the exact same location for 32bit and 64bit OS's from what i've seen.
It sounds like you might be interrogating the wrong location for a 32-bit program on a 64-bit machine?
On 32-bit machines the location is:
On 64-bit machines the location depends:
Yes, that is Registry Redirection. You should save this reference: msdn.microsoft.com/.../aa384253(v=vs.85).aspx
Interesting side note: the SOFTWARE key in the HKCU hive is not redirected.