Window updates prevent and often fix install errors.
Check out Windows Update: FAQ on how to update your version of Windows from Microsoft,
Once the update finishes, restart your computer.
If you could open QuickBooks before you saw the error, Open QuickBooks and your company file.
If you weren't able to install QuickBooks, install QuickBooks Desktop again.
If you can install and open QuickBooks, you're good to go.
Manually fix Windows components
If the QuickBooks Install Tool and the update didn’t fix the error, you can repair specific Windows components yourself.
You should only do these steps if you’re an IT professional, confident Windows user, or have help from Microsoft support experts.
Repair or reinstall Microsoft .NET Framework
Repair Microsoft MSXML