I´m making an w2k ui cd, founde this remark at sun java website:
Quote
Here is the command line for installing in silent mode:
<jre>.exe [/L<language ID>]/s /v "/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [NETSCAPE6=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [WEBSTARTICON=0]"
where
<jre>.exe is the single executable installer for the Java Runtime Environment (JRE); /L<language ID> , if used, sets the localized language for the installer (see language IDs); ADDLOCAL, if used, is either jrecore[,extra][,other_US] or ALL; IEXPLORER=1, if used, indicates that the Plug-in should be registered with the Internet Explorer browser; NETSCAPE6=1, if used, indicates that the Plug-in should be registered with Netscape 6 or later browsers; MOZILLA=1 indicates that the Plug-in should be registered with Mozilla 1.1 and later browsers; INSTALLDIR, if used, specifies the drive and path of the installation; REBOOT=Suppress, if used, indicates that if locked files are encountered the computer should not be rebooted; JAVAUPDATE=0, if used, indicates that the Java Update feature should be disabled (the Update tab in the Java Plug-in Control Panel will not appear); and WEBSTARTICON=0, if used, tells the installer to not create the Java Web Start icon on the desktop.
<jre>.exe [/L<language ID>]/s /v "/qn [ADDLOCAL=jrecore[,extra][,other_US] | ALL] [IEXPLORER=1] [NETSCAPE6=1] [MOZILLA=1] [INSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress] [JAVAUPDATE=0] [WEBSTARTICON=0]"
where
<jre>.exe is the single executable installer for the Java Runtime Environment (JRE); /L<language ID> , if used, sets the localized language for the installer (see language IDs); ADDLOCAL, if used, is either jrecore[,extra][,other_US] or ALL; IEXPLORER=1, if used, indicates that the Plug-in should be registered with the Internet Explorer browser; NETSCAPE6=1, if used, indicates that the Plug-in should be registered with Netscape 6 or later browsers; MOZILLA=1 indicates that the Plug-in should be registered with Mozilla 1.1 and later browsers; INSTALLDIR, if used, specifies the drive and path of the installation; REBOOT=Suppress, if used, indicates that if locked files are encountered the computer should not be rebooted; JAVAUPDATE=0, if used, indicates that the Java Update feature should be disabled (the Update tab in the Java Plug-in Control Panel will not appear); and WEBSTARTICON=0, if used, tells the installer to not create the Java Web Start icon on the desktop.
so I now use following command in my runonceex:
REG ADD %KEY%\zz39 /VE /D "Java Runtime" /f
REG ADD %KEY%\zz39 /V 1 /D "%systemdrive%\install\j2re-1_4_2_10-windows-i586-p.exe /1031 /s /v "/qn IEXPLORER=1 MOZILLA=1 REBOOT=ReallySuppress WEBSTARTICON=0" /f
Somehow this doesn´t work, can somebody have a look what i´m doing wrong?
Note the "WEBSTARTICON=0". I saw a lot of "cleanup.cmd´s" doing that manually...



Help
Back to top










