Error 25025.  A previous Java uninstallation was never completed.  You need to restart your computer before installing Java.

CustomAction CheckPendingFileRenameOperations returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Action ended 9:55:26: CheckPendingFileRenameOperations. Return value 3.

I'm trying to Upgrade JRE to 7U25 it works fine on XP but then i get a 1603 on some of the machines with the following message while uninstalling. Command line I'm using msiexec.exe /x {ProductCode} /qn ALLUSERS=1 REBOOT=REALLYSUPPRESS /L*V "C:\TEMP\LOGS\J7U25.log"

"A previous Java uninstallation was never completed. You need to restart your computer before installing Java"

 

Can someone tell me how to go about fixing this? Please advise

1 Comment   [ + ] Show Comment

Comments

  • Maybe you have a 32bit and a 64 bit Version installed? And you have just uninstalled one of that? Check the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Please log in to comment

Answers

0

I would check and see if there is something in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run or RunOnce just to verify what Java Exe is waiting for a Reboot. If not here, then check same keys in HKCU.

Did you try and reinstall previous version, reboot, and then try the previous versions Uninstall?

Also check this post... I did a search on CheckPendingFileRenameOperations. Return value 3

http://bugs.sun.com/view_bug.do?bug_id=6963169

See if HKLM\Software\JavaSoft\Java Runtime Environment\[JDK_VERSION]\MSI OEMUPDATE is =1 Try setting it to nothing and see if uninstall will run.

Answered 08/08/2013 by: ekgcorp
Tenth Degree Black Belt

Please log in to comment
0

1603 is just a MSI Installer Error like Fatal Error, this error can be everything like a wrong path or a pending reboot. @ochintela every registry entry have to be checked twice. Do you have a msi log file so we have more information about the issue?

Answered 11/16/2013 by: tecrumors
Sixth Degree Black Belt

Please log in to comment
-1

We noticed this issue when the following registry value's data contained Java-related values:

Key: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager
Value: PendingFileRenameOperations
Type: REG_MULTI_SZ

Be careful when modifying/deleting the value or its data. It's presence means that one or more installers have requested file system changes on the next reboot.

After knowing the value's data only contained Java-specific data and value was deleted, the installation was able to complete successfully.

Answered 11/16/2013 by: Ochtinlea
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity