Hello Tony,
Welcome to Microsoft Community Forum.
As per this description, I understand that you are not able to install the Java and getting an error of Windows Installer. This issue may appears if the Windows Installer is corrupted or if the old version of Java was not uninstalled correctly. Let’s try to identify the actual cause and troubleshoot accordingly.
However, before we proceed I would require some more information to assist you better.
- How did you try to uninstall the Java?
- Are you able to install other programs successfully?
In order to resolve the issue, I would suggest you to try the following steps
Step 1:
Check the status of Windows Installer service.
- Go to Start and click on Control Panel.
- Go to Administrative Tools.
- Click on Services and scroll to Windows Installer.
- Double click to bring up the service.
- Check to see if the startup type is set to Manual.
- Service status is usually stopped. Try to start the Windows Installer service.
- Click Ok.
Note: If you are not able to start the service, then please note down the error message and proceed to step 2 or if the service is working fine then skip to step 3.
Step 2:
Unregister and re-register the Windows Installer, and check if it helps.
- Click on Start, **** type Command Prompt or cmd in the Search box.
- Right-click Command Prompt from the start search list and then click Run as administrator.
Note: If you are prompted for an administrator password or for a confirmation, type the password, or clickAllow.
- Command prompt Window will be open.
- At the command prompt, type the following lines, pressing ENTERafter each line:
msiexec /unreg
msiexec /regserver
Exit
- Restart the computer and then check if it works.
Step 3:
Try to use Java uninstaller tool, to remove the corrupted patches of Java.
After running the Java uninstaller, restart the computer.
Step 4:
Now try to install the latest version of Java and check if it helps.
Hope the information helps. Let us know if you need further assistance with Windows related issues, we’ll be glad to assist you.
Thank you