When installing or reinstalling a program if you receive an error saying — Fatal error, Installation fails, Installation ended prematurely because of an error, then it’s mostly because of something which may be left behind by the previous uninstallation – and that is causing this problem.
When programs uninstall, they leave behind files, and if the uninstallation wasn’t complete, it would result in such error.
Installation ended prematurely because of an error is a generic error which can occur with any software installation or reinstallation. So the solutions we suggest here works for similar issues.
This tutorial will apply for computers, laptops, desktops, and tablets running the Windows 10, Windows 7 Windows 8.
Here the commands you need to use
You have to Ristart the PC after that, and try to install the software again.