==Java Runtime Environment (JRE) 6 Update 7==
You are encouraged to upgrade for security reasons to Update 7: http://secunia.com/advisories/31010/. This requires the Windows Offline installation package available from Sun. You'll find more information about upgrading Java and what this Note that the java install package does in detail below in the sections of older not replace old versions, so JRE 1.5 and JRE 1.6 can coexist; all older 1.6 update versions(1.6.0 up to 1.6.0 Update 6) are tried to be removed.Notice how the path string in the uninstall check has changed from previous version.
<source lang="xml">
</source>
If Automatic updates can be disabled with JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 ; if these command line switches should not work for you, then you can alter the registry (read [[Adding Registry Settings]] for that) to disable autoupdate:
<source lang="reg">
</source>
==Java Runtime Environment (JRE) 6 Update 6==
You are encouraged to upgrade for security reasons at least to Update 5: http://www.kb.cert.org/vuls/id/223028.
Update 6 seems to just correct some minor bugs not related to security: http://java.sun.com/javase/6/webnotes/ReleaseNotes.html
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 up to 1.6.0 Update 5) 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.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 6" revision="6" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) 6 Update 6" />
<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='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160050}'><exit code='0' /><exit code='1605' /></install>
<install cmd='%SOFTWARE%\jre\jre-6u6-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='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160050}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='%SOFTWARE%\jre\jre-6u6-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-00B0D0160060}' />
</package>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==Java Runtime Environment (JRE) 6 Update 5==
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, 1.6.0 Update 3 and 1.6.0 Update 4) 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.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 5" revision="6" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) 6 Update 5" />
<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='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit code='1605' /></install>
<install cmd='%SOFTWARE%\jre\jre-6u5-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='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160040}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='%SOFTWARE%\jre\jre-6u5-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-00B0D0160050}' />
</package>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==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.
<source lang="xml">
<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>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==Java Runtime Environment (JRE) 6 Update 3==
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 and 1.6.0 Update 2) 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.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 3" revision="4" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) 6 Update 3" />
<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='%SOFTWARE%\jre\jre-6u3-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='%SOFTWARE%\jre\jre-6u3-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-00B0D0160030}' />
</package>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==Java Runtime Environment (JRE) 6 Update 2==
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 and 1.6.0 Update 1) 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.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 2" revision="3" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) 6 Update 2" />
<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='%SOFTWARE%\jre\jre-6u2-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='%SOFTWARE%\jre\jre-6u2-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-00B0D0160020}' />
</package>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==Java Runtime Environment (JRE) 6 Update 1==
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; older 1.6 update versions are tried to be removed.
Automatic updates can be disabled with JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0, but I'm not sure if it works at all.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 1" revision="2" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) SE Runtime Environment 6 Update 1" />
<install cmd='msiexec /qn /x {3248F0A8-6813-11D6-A77B-00B0D0160000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='%SOFTWARE%\jre\jre-6u1-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='%SOFTWARE%\jre\jre-6u1-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-00B0D0160010}' />
</package>
</source>
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html
==Java Runtime Environment (JRE) 6 ==
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.
Automatic updates can be disabled with JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0, but I'm not sure if it works at all.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6" revision="1" reboot="false" priority="100">
<check type="uninstall" condition="exists" path="Java(TM) SE Runtime Environment 6" />
<install cmd='%SOFTWARE%\jre\jre-6-windows-i586.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
<upgrade cmd='%SOFTWARE%\jre\jre-6-windows-i586.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-00B0D0160000}' />
</package>
</source>