How to uninstall MSI using its Product Code in c#

According to MSDN, You can uninstall it using the product code:

msiexec.exe /x {your-product-code-guid}

When you use the product code, it uses the cached MSI from C:\WINDOWS\Installer.

Leave a Comment