When it comes to 64-bit operatind system, there are two registry hives to store the Add/Remove programs [or Programs & Features] entries. 32-bit ARP location and 64-bit ARP location.
32-bit ARP location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
64-bit ARP location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
In order to identify the Application ARP entries installed on the machine, we need to traverse through the 32-bit or well as 64-bit registry hives. Attached script will search both 32-bit as well as 64-biregistry hives and write them to a CSV file under C:\Logs folder.
This script has been successfully tested on Windows 7 x64 as well as Windows 8 x64 operating systems. Hope this helps.
Thanks,
Eshwar