Well, I've finally managed to "brute force" JRE 6u43 to install (well, it kinda seems to be working), using something like the following process :
0. Install Kext, with "GetSystemWow64DirectoryA=z2e120" in the 'Kernel32.dll' section of 'Kstub822.ini'.
1. Delete the 'HKLM\Software\JavaSoft' registry key.
2. Run 'jre-6u43-windows-i586.exe', let it crash and die.
3. Navigate to the "%windir%\Application Data\Sun\Java\jre1.6.0_43" directory.
4. Copy or move the MSI and CAB files to a safer place.
5. Copy 'jre1.6.0_43.msi' to 'neutered.msi'.
6. Edit 'neutered.msi' in Orca and :
a. Delete all lines with string "SetReInstall".
b. Delete all lines in 'InstallExecuteSequence' with whole word 'rt'.
c. Delete all lines in 'InstallExecuteSequence' with whole word 'jsse'.
d. Delete all lines in 'InstallExecuteSequence' with whole word 'jaws'.
e. Delete all lines in 'InstallExecuteSequence' with whole word 'javaws'.
f. Delete all lines in 'InstallExecuteSequence' with whole word 'deploy'.
g. Delete all lines in 'InstallExecuteSequence' with whole word 'charsets'.
h. Delete all lines in 'InstallExecuteSequence' with whole word 'localedata'.
i. Save 'neutered.msi' (don't use "Save As", it's buggy).
7. Expand 'Data1.cab' into subdirectory 'Data1'.
8. Within that, expand 'core.zip' into subdirectory 'core'.
9. Install the REG file shown below.
10. Navigate back to 'neutered.msi' and run it.
11. Re-install the REG file shown below.
12. Right-click 'jre1.6.0_43.msi', then click "Repair".
13. If there's an error, don't acknowledge, force a reboot instead (double Ctrl-Alt-Del).
14. Re-install the REG file shown below.
15. Navigate to the 'Data1\core' subdirectory.
16. Copy everything there to '\Program Files\Java\jre6'.
17. Run the BAT file shown below.
18. Reboot just for the fun of it.
19. Repeat all or some of steps 9-18, as necessary.
The 'JavaSoft.reg' file looks like this (edit the drive letter and country code as necessary) :
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\JavaSoft]
"IERESTART"="1"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Update]
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Update\Policy]
"EnableJavaUpdate"=dword:00000001
"NotifyDownload"=dword:00000001
"NotifyInstall"=dword:00000000
"UpdateSchedule"=dword:00000008
"Frequency"=dword:01040000
"Country"="AU"
"UpdateMin"=dword:00000017
"PostStatusUrl"="https://sjremetrics.java.com/b/ss//6"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Prefs]
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Auto Update]
"AUVersion"="2.0.7.2"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment]
"CurrentVersion"="1.6"
"BrowserJavaVersion"="1.6.0_43"
"Java6FamilyVersion"="1.6.0_43"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.6.0_43]
"JavaHome"="E:\\Program Files\\Java\\jre6"
"MicroVersion"="0"
"RuntimeLib"="E:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.6.0_43\MSI]
"FullVersion"="1.6.0_43-b01"
"ImageCkSum"="1513967052"
"AUTOUPDATEDELAY"=""
"AUTOUPDATECHECK"="1"
"JAVAUPDATE"="1"
"MOZILLA"="0"
"IEXPLORER"="0"
"EULA"="0"
"SYSTRAY"="1"
"INSTALLDIR"="E:\\Program Files\\Java\\jre6\\"
"PRODUCTVERSION"="6.0.430"
"KERNEL"=""
"FROMVERSIONFULL"=""
"FROMVERSION"="NA"
"JQS"=""
"MODE"="C"
"OEMUPDATE"=""
"JU"="1"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Runtime Environment\1.6]
"JavaHome"="E:\\Program Files\\Java\\jre6"
"RuntimeLib"="E:\\Program Files\\Java\\jre6\\bin\\client\\jvm.dll"
"MicroVersion"="0"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in]
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Plug-in\1.6.0_43]
"JavaHome"="E:\\Program Files\\Java\\jre6"
"UseJava2IExplorer"=dword:00000001
"UseNewJavaPlugin"=dword:00000000
"HideSystemTrayIcon"=dword:00000000
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start]
"CurrentVersion"="1.6.0_43"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.6.0_43]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.2.0_01]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.2]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.0.1_04]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.0.1_03]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.0.1_02]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
[HKEY_LOCAL_MACHINE\Software\JavaSoft\Java Web Start\1.0.1]
"Home"="E:\\Program Files\\Java\\jre6\\bin"
The 'unpack_jars.bat' file looks like this (edit the drive letter as necessary) :
E:
cd \Progra~1\Java\jre6\lib
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log rt.pack rt.jar
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log deploy.pack deploy.jar
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log jsse.pack jsse.jar
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log javaws.pack javaws.jar
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log charsets.pack charsets.jar
..\bin\unpack200.exe -r -v -l %tmp%\java_install.log plugin.pack plugin.jar
cd ext
..\..\bin\unpack200.exe -r -v -l %tmp%\java_install.log localedata.pack localedata.jar
cd ..\..\bin
copy /b /y javacpl.cpl %windir%\System
copy /b /y java.exe %windir%
copy /b /y javaw.exe %windir%
copy /b /y javaws.exe %windir%
if exist plugin2_inhibit\*.* deltree plugin2_inhibit
ren plugin2 plugin2_inhibit
If you too have Error 1723 or 26011 when trying to install a recent version of Java 1.6 (6u10 or later, however, only 6u43 is considered "safe"), you might like to try the above. Good luck.
Joe.
Edit : Revised.
This post has been edited by jds: 08 April 2013 - 09:25 PM