I'm not going to code anything myself, but I did come across a simple batch file that will, although not "nicely", display a list of installed applications and their GUIDs:
Code: Select all
@echo off
for /f "tokens=7 delims=\" %%a in ('reg query hklm\software\microsoft\windows\currentversion\uninstall ^| FIND "{"') do for /f "tokens=2,*" %%c in ('reg query hklm\software\microsoft\windows\currentversion\uninstall\%%a ^| find /i "DisplayName"') do echo %%d,%%a