See the next note for updated information based on b27.
While testing the PIP for promoted build, I see the file mismatch error when patching from 6u11 to 6u12 if 6u5 is on the system.
The steps to reproduce the error
1. Install 6u5
2. Install 6u10 jre
http://jre.sfbay/java/re/jdk/6u10/promoted/beta/b25/bundles/windows-i586/
3. Install 6u11
http://javadl.sun.com/webapps/download/GetFile/1.6.0_11-b325/windows-i586/jre-6u11-windows-i586-p-iftw.exe
4. Try to install 6u12, You will get the file mismatch error complaining jusched.exe. Please see attached screen shot.
http://javadl.sun.com/webapps/download/GetFile/1.6.0_12-b325/windows-i586/jre-6u12-windows-i586-p-iftw.exe
The 6u10 to 6u11 worked OK. The issue only happens for 6u11 to 6u12.
If I uninstall 6u5. Then everything works OK(6u10 to 6u11, 6u10 to 6u11 to 6u12, 6u10 to 6u12).
Updated with 2 scenarios for b27:
Scenario A:
1. Install 6u10 JRE.
(http://j2se.east/arc/1.6.0_10/pit/2008-06-19/)
2. Start jusched.exe. Jusched will start when users reboot because it is in HKLM\Software\Microsoft\Windows\CurrentVersion\Run
3. Patch to 6u11.
(http://j2se.east/arc/1.6.0_10/pit/2008-06-19.12_25/windows-i586/jre-6u11-windows-i586-p-iftw.exe)
Scenario B:
1. Install 6u5 or 6u6 JRE.
2. Install 6u10 JRE.
(http://j2se.east/arc/1.6.0_10/pit/2008-06-19/)
For some reason, installing 6u10 starts jusched when 6u5 or 6u6 is installed.
3. Patch to 6u11.
(http://j2se.east/arc/1.6.0_10/pit/2008-06-19.12_25/windows-i586/jre-6u11-windows-i586-p-iftw.exe)
Actual behavior in both scenarios:
After installation of 6u11, the 6u10 version of jusched is running, until reboot and PendingFileRenameOperations applied to delete and replace jusched.exe.
The setup complete dialog says nothing about a reboot required (see attachment).
The PendingFileRenameOperations value is:
>reg query "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager" /v PendingFileRena
meOperations
! REG.EXE VERSION 3.0
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
PendingFileRenameOperations REG_MULTI_SZ \??\C:\PROGRA~1\Java\jre6\bin\jusched.exe\0\0
\??\C:\PROGRA~1\Java\jre6\bin\jusched.exe\0\0\??\C:\PROGRA~1\Java\jre6\bin\RTA04
520\0\??\C:\PROGRA~1\Java\jre6\bin\jusched.exe\0\0
If you try to install the b27 dummy 6u12 without reboot, "Error 25025. A previous Java uninstallation was never completed. You need to restart your computer before installing Java." is displayed and the install is blocked.
6u12: http://j2se.east/arc/1.6.0_10/pit/2008-06-19.15_16/windows-i586/jre-6u12-windows-i586-p-iftw.exe