Here it is:

vb Code:
  1. Public Sub UninstallPrograms()
  2.             'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products
  3.             Dim SoftwareKey As String = "SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products"
  4.             Using rk As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey)
  5.                 For Each skName In rk.GetSubKeyNames()
  6.                     Dim propertiesKey As RegistryKey = Registry.LocalMachine.OpenSubKey(SoftwareKey, False). _
  7.                                                                              OpenSubKey(skName, False). _
  8.                                                                              OpenSubKey("InstallProperties", False)
  9.                     Dim name = propertiesKey.GetValue("DisplayName", "<DisplayName not found>")
  10.                     Dim publisher = propertiesKey.GetValue("Publisher", "<Publisher not found>")
  11.                     Dim DisplayVersion = propertiesKey.GetValue("DisplayVersion", "<Display Version not found>")
  12.                     Dim installLocation = propertiesKey.GetValue("InstallLocation", "<InstallLocation not found>")
  13.                     propertiesKey.Close()
  14.                 Next
  15.             End Using
  16.     End Sub