I have installed some MSI with GUID (0733556C-37E8-4123-A801-D3E6C5151617). The program registered in the registry: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ ()
Value UninstallString = MsiExec.exe / I (0733556C-37E8-4123-A801-D3E6C5151617)
My question is: how utility MsiExec.exe knows the name and path to the file you want to run when you remove programs? Where in the registry this information can be found?
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer
. This is the Windows Installer database and you must never touch any values here directly. Rather you can access them via Win32 API calls (C++) or you can use COM automation (easier). - Stein Åsmul