Installation fails: Installation ended prematurely because of an error

Installation ended prematurely because of an error

When installing or reinstalling a program if you receive an error saying – Fatal error, the installation failed, the installation ended prematurely because of an erroris mainly because of something that could be left behind by the previous uninstall – and that is causing this problem. When programs are uninstalled, they leave files behind. If the uninstall was not completed, it would cause such an error.

The installation has stopped prematurely because of an error

The installation has stopped prematurely because of an error is a generic error that can occur when installing or reinstalling software. Thus, the solutions we propose here work for similar problems.

  1. Use a third-party uninstall program
  2. Install in a clean boot state
  3. Restart the Windows Installer service
  4. Reregister the Windows Installer Service
  5. Re-register VBScript.dll.

Once done, be sure to download a new copy of the software you want to install.

1) Use a third-party uninstall program

Installation terminated prematurely

If the uninstallation of the software was not completed, there would remain files that could be the cause. We suggest you use a third party uninstaller that can search for unnecessary files, registry entries and clean temporary files. Uninstaller programs like IObit Uninstaller, Revo Uninstaller and others are excellent for everyday use.

2) Install in the minimum boot state

Restart your computer in clean boot mode, and then try to install the software. The clean boot state only performs the necessary services. Therefore, anything that blocks the installation will not be available.

Related reading: How to uninstall programs in Safe Mode

3) Restart the Windows Installer Service

Installation terminated prematurely

  • Type services.msc in the prompt and press Enter
  • Locate the Windows Installer service.
  • If it is running, click the Shut Down button and then the Start button.
  • If it does not work, click the Start button.

This service can add, modify, and delete applications provided in a Windows Installer package (* .msi, * .msp). If this service is disabled, any services that explicitly depend on it will not start.

4) Re-register the Windows Installer service

  • Open the command prompt or PowerShell with administrator privileges.
  • Cancel registration of the installation service with the help of msiexec / unreg order.
  • Register the installer using msiexec / regserver

Try to install it again.

5) re-register VBScript.dll

You may need to re-register the VBScript.dll file by running the following command at a command prompt with elevated privileges:

regsvr32 vbscript.dll

See if it helps.

Finally, if nothing works, I recommend that you share your Windows event logs with Microsoft Customer Support.

Leave a Reply