Changes

Jump to: navigation, search

Java

1,266 bytes added, 09:13, 6 October 2011
no edit summary
End If
Next
</source>
 
 
=Another Java 6 SDK Installer =
 
===Download===
 
Download the offline installer. I am using:
 
* jdk-6u27-windows-i586.exe
 
===Package definition===
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<packages>
 
<package
id="jdk6"
name="Java(TM) SE Development Kit 6"
revision="%version%"
reboot="false"
priority="100">
<variable name="version" value="27" />
<check type="uninstall" condition="exists" path="Java(TM) SE Development Kit 6 Update %version%" />
<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%\java\jdk-6u%version%-windows-i586.exe /s REBOOT=Suppress' />
<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%\java\jdk-6u%version%-windows-i586.exe /s REBOOT=Suppress' />
<upgrade cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Java\jre6\bin\jqs.exe" "%PROGRAMFILES%\Java\jre6\bin\jqs.exe" -unregister'>
<exit code='1' />
</upgrade>
<remove cmd='msiexec /qn /x {26A24AE4-039D-4CA4-87B4-2F832160%version%FF}' />
</package>
 
</packages>
 
</source>
Anonymous user

Navigation menu