Changes

Java

2,169 bytes added, 16:21, 17 January 2008
Updated with: Java Runtime Environment (JRE) 6 Update 4
==Java Runtime Environment (JRE) 6 Update 4==
 
This requires the Windows Offline installation package available from Sun. Note that the java install package does not replace old versions, so JRE 1.5 and JRE 1.6 can coexist; all older 1.6 update versions (1.6.0, 1.6.0 Update 1, 1.6.0 Update 2, and 1.6.0 Update 3) are tried to be removed.
Notice how the path string in the uninstall check has changed from previous version.
Automatic updates can be disabled with JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0, but I'm not sure if it works at all.
 
<pre>
<package id="java6" name="Java Runtime Environment 6 Update 3" revision="5" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) 6 Update 4" />
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160010}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160020}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160030}'><exit code='0' /><exit code='1605' /></install>
<install cmd='%SOFTWARE%\jre\jre-6u4-windows-i586-p.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
<upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160010}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160020}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160030}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='%SOFTWARE%\jre\jre-6u4-windows-i586-p.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
<remove cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}' />
</package>
</pre>
 
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
 
==Java Runtime Environment (JRE) 6 Update 3==
152
edits