You may try the follow steps to check if these methods fixes the issue:
Method 1: Check Windows Installer service.
Go to Start > Run > type in services.msc > OK.
The Services window will open, scroll down to Windows Installer and double click on it.
The Properties window will open, on the drop down menu (Start up type) select 'automatic' > OK and close windows.
Reboot PC and hopefully it will work for you.
If issue persist, proceed to next method.
Method 2: Unregister and re-register the Windows Installer
Click Start, click Run, type MSIEXEC /UNREGISTER, and then click OK. Even if you do this correctly, it may look like nothing occurs.
Click Start, click Run, type MSIEXEC /REGSERVER, and then click OK. Even if you do this correctly, it may look like nothing occurs, or you may briefly see an hourglass. After you run this command, the operation is complete.
Try your Windows Installer-based application again.
If it still has issues just try running windows updates and see if that helps.