Windows Installer is a core service that manages installations of everything in Windows including apps, features, and many other things. If for some reason, it breaks, you will be stuck with new installations and even upgrades of apps.
Windows Installer (msiserver) not working
In this post, we will share a list of error codes – and their solution, some pointing to our existing solution – and how to solve them.
1] Run Program Install & Uninstall Troubleshooter
The first thing we would suggest is to run the Program Install and Uninstall Troubleshooter to repair issues that block program installation or removal because of corrupted registry keys. This program will fix corrupted registry keys on 64-bit operating systems, which control the update data, problems that prevent existing programs from being completely uninstalled or updated, and problems that block you from uninstalling a program through Add or Remove Programs (or Programs and Features) in Control Panel
2] Start the Windows Installer Service
In the Run prompt, type MSIExec, and then press Enter.
If you get the Windows Installer window which tells you everything about MSIExec, then it’s all good.
If you get an error, you might have to start it manually.
Right-click on the taskbar, and select Task Manager. Switch to Services, and look for msiserver. Start it.
You can also run services.msc to open Windows Services and go to Windows Installer, and restart it.
3] Windows Installer Service could not be accessed
You may see the message Windows Installer Service could not be accessed. This usually happens if the Windows Installer Engine is corrupted, installed incorrectly, or disabled. You will need to fix either the corruption or fix the configuration or enable it. The linked post also solves the issue where the Windows Installer service could not start, and gives the message as Error 5, Access is denied.
4] There is a problem with this Windows Installer package
If the Windows Installer package faces unstable network access during the uninstallation or installation process, sometimes, the error might appear if you fail to complete the process successfully. The error message might go like “There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor.”
5] Windows Installer keeps popping up
Usually, the Windows Installer or msiexec.exe runs in the background. You can check in the Task Manager under the list of processes that are running. However, if you see it constantly running, and the Windows Installer keeps popping up, it means it is stuck. It is possible that an installation is not able to complete, and this happens as a result.
6] Installation Package could not be opened
If you are not able to install a software which you just downloaded from the internet, and it keeps throwing error message “Installation Package could not be opened“, then it’s probably a security issue. Windows many a time blocks applications you download from the internet as it does not trust them. You may have to unblock it or disable your antivirus to fix it.
7] Re-register Windows Installer service
If nothing works, the best option in our experience is to re-register the Windows Installer service. The reason why it works great because it fixes registry issues as well, and gets the basic settings ready again.
Launch the command prompt with admin privileges. Type the following commands and hit Enter after each one.
%windir%\system32\msiexec.exe /unregister %windir%\system32\msiexec.exe /regserver %windir%\syswow64\msiexec.exe /unregister %windir%\syswow64\msiexec.exe /regserver
Close the command prompt, save all your work, and restart your computer.
Check if you are facing Windows Installer issues.
Windows OS maintains a Windows Installer cache. Any files you install are temporarily extracted here and then installed on the PC. If you are deleting files from here manually or during installation or any other program is doing that, you will get an error.
Useful link: How to enable Windows Installer logging.