Fix problems that block programs from being installed or removed - Microsoft Support
The Program Install and Uninstall troubleshooter helps you automatically repair issues when you're blocked from installing or removing programs.