This was the first script I released, and my code showed it horribly. This is why I decided to update it with some cool new features and optimized code.
It enumerates all the keys from HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and checks those for the string values DisplayIcon, DisplayName, UninstallString, and QuietUninstallString. It then creates a sorted list of programs that have the ability to be uninstalled. From there you can select one or more programs to uninstall. The