java installers and uninstallers return error 1602

2

1

I am trying to remove java 6 32 bit and install java 7 64 bit, but after initially having the uninstaller open and execute successfully, asking me to plan a full removal after a reboot, the uninstaller did not come back, and neither does executing it again work.

I've tried using revouninstaller to remove the old java, which seems to be successful, but java 7's installer still won't execute.

When I execute the offline installer, it asks for administrator privileges, loads up the MSI, and then vanishes. After consulting the event viewer I found these entries from MsiInstaller:

Product: Java(TM) 7 Update 2 (64-bit) -- Installation operation failed.

and

Windows Installer installed the product. Product Name: Java(TM) 7 Update 2 (64-bit). Product Version: 7.0.20. Product Language: 1033. Manufacturer: Oracle. Installation success or error status: 1602.

All I know is that error 1602 is supposed to mean user cancelled the installation, which leads me to believe either UAC isn't working correctly (seems to work fine though), or there is some registry entry blocking the MSI installer (though I've checked manually).

Alex

Posted 2012-02-05T18:27:34.040

Reputation: 224

1

See if this Microsoft fixit utility helps..http://support.microsoft.com/mats/Program_Install_and_Uninstall

– Moab – 2012-02-05T20:23:20.570

I ran it and it says there were no problems found. Says it's not related to the registry. Installer still closes. Thank you for trying though! – Alex – 2012-02-06T01:14:04.337

Try the Java online installer from the java site – Moab – 2012-02-06T23:17:22.830

Didn't work either.. Probably just gonna disregard it, I was looking for an excuse to reinstall my PC anyway, so this is just another reason to do it. – Alex – 2012-02-07T19:09:24.587

Still weird that there's no good way to solve this, it's really hard to clean out all the remaints java leaves behind it seems – Alex – 2012-02-07T19:09:54.943

Its probably not a java issue, more like windows corruption. Cave and Pave baby! – Moab – 2012-02-07T21:43:06.750

Answers

1

Actually, on a second thought, instead of doing the reinstall, I just went on digging more in the registry. I just searched for 'java' and deleted all the entries that I deemed relevant to java runtime (so not the javascript, msjava, javavm, etc) entries, and it worked!

I got java runtime 7 installed now, works like a charm.

So if anyone else runs into this, might be worth trying to dig out the registry manually!

Alex

Posted 2012-02-05T18:27:34.040

Reputation: 224

2

I had this same problem when I removed and tried to re-install JRE 7.

I deleted the key HKEY_CURRENT_USER\Software\JavaSoft\FIUCancel to allow re-install.

balee

Posted 2012-02-05T18:27:34.040

Reputation: 21

This did it for me! – mekwall – 2013-03-05T11:47:05.337

1

I had the same problem with a later update. The uninstall would close and "Product: Java(TM) 6 Update 33 -- Removal failed." and "Removal success or error status: 1602." would appear in the event log.

I ran the Microsoft Fixit utility at http://support.microsoft.com/mats/Program_Install_and_Uninstall (thanks Moab). That allowed me to select Java 6 for uninstallation and the uninstallation completed successfully.

I also used the Fixit utility to remove Java 7 Update 6 which had the same problem.

Robin M

Posted 2012-02-05T18:27:34.040

Reputation: 143