chef-cookbooks/windows — Issue #1: Failing to remove msi
Author: aaronfeng
Created: 2011-10-12 15:48:59+00:00
State: open

UninstallString is read from the registry will not uninstall the software correctly.

UninstallString stores the command for users to uninstall the software which will fail
during unattended removal (ie, Chef) since it will pop up UI.

The correct way to do it would be by reading the QuietUninstallString key; however,
many msi packages do not supply that key (ie, 7 Zip).

Is it possible to look for QuietUninstallString key, if it doesn't exists, just construct
uninstall string in code(msiexec /X)?