Java 7 upgrade fails and wont easily reinstall or uninstall
993935Feb 28 2013 — edited Apr 16 2013Hi,
We are using w7en x64 with Java x86 (we only use ie x86) and we've so far upgraded Java three times. From 6u31 to 7u5, then to 7u7, 7u13 and now we are about to install 7u15. (Using Symantec Patch Management.)
But during all previous upgrades java has only installed "halfway" on a bunch of computers and reinstall, repair or uninstall wont work and you have to either install a newer version (if there is one) or clean the filesystem/registry from Java.
For this 7u15 upgrade, I activated the new patch on just 6 computers and the upgrade failed on 2 of them.
The problem seems to be because msvcr100.dll is in use?
From the Java_install_reg.log
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
-- Retrying RemoveInstalledFiles
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
-- Retrying RemoveInstalledFiles
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
-- Retrying RemoveInstalledFiles
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
-- Retrying RemoveInstalledFiles
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
-- Retrying RemoveInstalledFiles
-- RemoveInstalledFiles: DeleteFile(C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll) failed. (GetLastError=5)
From the Java_install.log
extracting: bin/msvcr100.dllError:fopen: while opening file <bin/msvcr100.dll>
(The log ends after that line, so the installer seems to quit.)
Is there a good way to make sure that this does not happen, and also to "repair" the java installation after it fails like this?