Difference between revisions of "Java"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (link to duplicate page)
m (simpler formating)
Line 5: Line 5:
 
note that "install cmd" should be in one line; it was wrapped because it was too long to fit here!
 
note that "install cmd" should be in one line; it was wrapped because it was too long to fit here!
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
<package>
    <package<br>
+
    id="jre"
        id="jre"<br>
+
    name="Java Runtime Environment 1.5.0_05"
        name="Java Runtime Environment 1.5.0_05"<br>
+
    revision="1"
        revision="1"<br>
+
    reboot="true"
        reboot="true"<br>
+
    priority="9">
        priority="9"><br>
+
    <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 5" />
        <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 5" /><br>
+
    <install cmd='msiexec /q /i \\server\admin\msi\Java\jre1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'>
        <install cmd='msiexec /q /i \\server\admin\msi\Java\jre1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'><br>
+
        <exit code="0" />
            <exit code="0" /><br>
+
    </install>
        </install><br>
+
    <remove  cmd='MsiExec.exe /q /x{3248F0A8-6813-11D6-A77B-00B0D0150050}' />
<br>
+
    <upgrade cmd="" />
        <remove  cmd='MsiExec.exe /q /x{3248F0A8-6813-11D6-A77B-00B0D0150050}' /><br>
+
</package>
<br>
+
        <upgrade cmd="" /><br>
+
<br>
+
    </package><br>
+
</blockquote>
+
  
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
+
<package>
    <package<br>
+
    id="jdk"
        id="jdk"<br>
+
    name="Java Development Kit 1.5.0_05"
        name="Java Development Kit 1.5.0_05"<br>
+
    revision="1"
        revision="1"<br>
+
    reboot="true"
        reboot="true"<br>
+
    priority="9">
        priority="9"><br>
+
    <check type="uninstall" condition="exists" path="J2SE Development Kit 5.0 Update 5" />
        <check type="uninstall" condition="exists" path="J2SE Development Kit 5.0 Update 5" /><br>
+
    <install cmd='msiexec /q /i \\server\admin\msi\Java\jdk1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'>
        <install cmd='msiexec /q /i \\server\admin\msi\Java\jdk1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'><br>
+
        <exit code="0" />
            <exit code="0" /><br>
+
    </install>
        </install><br>
+
    <remove  cmd='MsiExec.exe /q /x{32A3A4F4-B792-11D6-A78A-00B0D0150050}' />
<br>
+
    <upgrade cmd="" />
        <remove  cmd='MsiExec.exe /q /x{32A3A4F4-B792-11D6-A78A-00B0D0150050}' /><br>
+
</package>
<br>
+
        <upgrade cmd="" /><br>
+
<br>
+
    </package><br>
+
</blockquote>
+
  
 
See also [[Sun Java]]
 
See also [[Sun Java]]
  
 
[[category:Silent Installers|JAVA]]
 
[[category:Silent Installers|JAVA]]

Revision as of 07:52, 26 April 2006

This is a silent installer and uninstaller for J2SE Runtime Environment 5.0 Update 5.

First download the EXE package from java.sun.com, install it, and find an MSI package on your drive. Then use this MSI to distribute Java to other machines. note that "install cmd" should be in one line; it was wrapped because it was too long to fit here!

<package>
    id="jre"
    name="Java Runtime Environment 1.5.0_05"
    revision="1"
    reboot="true"
    priority="9">
    <check type="uninstall" condition="exists" path="J2SE Runtime Environment 5.0 Update 5" />
    <install cmd='msiexec /q /i \\server\admin\msi\Java\jre1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'>
        <exit code="0" />
    </install>
    <remove  cmd='MsiExec.exe /q /x{3248F0A8-6813-11D6-A77B-00B0D0150050}' />
    <upgrade cmd="" />
</package>
<package>
    id="jdk"
    name="Java Development Kit 1.5.0_05"
    revision="1"
    reboot="true"
    priority="9">
    <check type="uninstall" condition="exists" path="J2SE Development Kit 5.0 Update 5" />
    <install cmd='msiexec /q /i \\server\admin\msi\Java\jdk1.5.0_05.msi allusers=1 REBOOT=Suppress CUSTOM=1 IEXPLORER=1 MOZILLA=1 NETSCAPE6=1 JAVAUPDATE=0 ADDLOCAL=ALL'>
        <exit code="0" />
    </install>
    <remove  cmd='MsiExec.exe /q /x{32A3A4F4-B792-11D6-A78A-00B0D0150050}' />
    <upgrade cmd="" />
</package>

See also Sun Java