I am trying to write a script that will list installed software on 64bit servers. Normally this would seem like a pretty striaghtforward thing, but my workstation is 32bit XP Pro. I am aware of the Wow6432Node key and the whole registry masking trick inside the 64bit OS. I am not getting accurate results when I try to probe the registry to compile a list of installed software on these 64bit servers. I only get results for 32bit applications, not 64 bit applications.
Can anyone out there offer any advice, or tell me what I might be doing wrong?