MSFN Forum: Java Runtime Silent install switches - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Java Runtime Silent install switches Rate Topic: -----

#1 User is offline   piedus 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 04-February 06

Posted 08 February 2006 - 02:39 AM

Hi,

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.


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...


#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 08 February 2006 - 09:07 AM

View Postpiedus, on Feb 8 2006, 06:39 PM, said:

Hi,

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.


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...

Your Lang switch is does not look correct.
I do not use switches to suppress reboot or desktop icon as it is not required as no reboot or desktop icon creation happens.

#3 User is offline   Steam Trout 

  • Junior
  • Pip
  • Group: Members
  • Posts: 52
  • Joined: 11-January 06

Posted 04 April 2007 - 03:33 PM

I happen to have the same problem with install failing. That's what I use (through WPI):
%wpipath%\Install\jre.exe /s /v "/qn IEXPLORER=1 MOZILLA=1"
Tried with no space between /v and " and with /S instead of /s with no avail :\
File is jre-1_5_0_11-windows-i586-p-s.exe

EDIT: Figured it out. Install failed because the version of JRE on my VM was already the one being installed. Sorry for unnecessary thread necromancy.

This post has been edited by Steam Trout: 04 April 2007 - 03:50 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy