Sun Java

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

Silent install package file for Sun J2SE Runtime Environment 5.0 Update 9.

<package
  id="java"
  name="Sun Java"
  revision="1"
  reboot="false"
  priority="10">
  <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 5" />
  <install cmd='%SOFTWARE%\java\jre-1_5_0_09-windows-i586-p-s.exe /s /v"/qb IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 REBOOT=ReallySuppress JAVAUPDATE=0 WEBSTARTICON=0"' /> 
  <upgrade cmd='%SOFTWARE%\java\jre-1_5_0_09-windows-i586-p-s.exe /s /v"/qb IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 REBOOT=ReallySuppress JAVAUPDATE=0 WEBSTARTICON=0"' />
  <remove cmd='MsiExec.exe /qb /x {3248F0A8-6813-11D6-A77B-00B0D0150090}' />
</package>

{3248F0A8-6813-11D6-A77B-00B0D01500x0} - x is a number of update

See also Java.