Changes

Jump to: navigation, search

Java

260 bytes added, 07:00, 18 August 2009
SECURITY: upgrade to Java Runtime Environment (JRE) 6 Update 16.
==Java Runtime Environment (JRE) 6 Update 1516==
Sun has skipped 3 update versions and has released Update 10 as the versions replacing Update 7.
Actually, with Update 10 and later Sun has introduced as default the so called "patch in place" update mechanism (see: http://java.sun.com/javase/6/docs/technotes/guides/jweb/otherFeatures/jre_install.html) which automatically removes the previous version of the same Java family (unless you turned off patch-in-place using the installer). So the line that tries to remove a previously installed Update 10 (msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83216010FF}) is not strictly necessary (if you installed a 'Family JRE' and not a 'Static JRE').
The following installs JRE Update 15 16 and then removes the "Java Quick Starter" service; if you want to keep "Java Quick Starter" service then just remove the line with "jqs.exe -unregister", but remeber to stop/kill JQS before uninstallation.
<source lang="xml">
<package id="java6" name="Java Runtime Environment 6 Update 1516" revision="1516" reboot="false" priority="100"> <check type="uninstall" condition="exists" path="Java(TM) 6 Update 1516" />
<!-- Cleaning old java versions-->
<install cmd='msiexec /qn /norestart /x {7148F0A8-6813-11D6-A77B-00B0D0142000}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216013FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216014FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216015FF}'><exit code='0' /><exit code='1605' /></install>
<install cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe'><exit code='0' /><exit code='1' /><exit code='128' /></install>
<install cmd='%SOFTWARE%\jre\jre-6u156u16-windows-i586.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
<install cmd='%PROGRAMFILES%\Java\jre6\bin\jqs.exe -unregister'><exit code='1' /></install>
<upgrade cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216013FF}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216014FF}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='msiexec /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F83216015FF}'><exit code='0' /><exit code='1605' /></upgrade>
<upgrade cmd='taskkill /f /im jqs.exe /im iexplore.exe /im firefox.exe' ><exit code='0' /><exit code='1' /><exit code='128' /></upgrade>
<upgrade cmd='%SOFTWARE%\jre\jre-6u156u16-windows-i586.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0' />
<upgrade cmd='%PROGRAMFILES%\Java\jre6\bin\jqs.exe -unregister'><exit code='1' /></upgrade>
<remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F83216015FF2F83216016FF}' />
</package>
</source>
152
edits

Navigation menu