Wizard ended prematurely

The installation / uninstallation fails with the error "wizard ended prematurely"

This might happen when registry keys are corrupt or other problems that prevent uninstallation or update of installed programs

Microsoft provides a fix for this issue
Further information, as well as the corresponding fix can be found at: https://support.microsoft.com/en-us/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed