Here’s a little batch file line to get your installed programs from your Windows 7 registry.
C:\Windows\System32\reg export HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall temp1.txt
This needs to be all on one line in the batch file, with a space between export and HKEY