aerain Posted November 25, 2004 Share Posted November 25, 2004 Hello, All!!I checked the forums and didn't see anything about a Java Silent Install so, after a little while, I came up with a working one! Here it is (this is used on the LATEST Java plug-in, v1.4.2.06):j2re-1_4_2_06-windows-i586-p-iftw.exe /S /v/qnEnjoy! Link to comment Share on other sites More sharing options...
BritishBulldog Posted November 25, 2004 Share Posted November 25, 2004 It has been mentioned somewherethis may be an older version but it installs only the core and Internet Explorer plugins.j2re-1_4_2_01-windows-i586.exe /s /v/qn ADDLOCAL=jrecore IEXPLORER=1"should be able to add it to the 1.4.2.06 versioncheck this out http://unattended.msfn.org/xp/applications/sunjava.htmand thishttp://java.sun.com/j2se/1.4.2/docs/guide/...ide/silent.html Link to comment Share on other sites More sharing options...
Coopy Posted March 4, 2005 Share Posted March 4, 2005 The command line (according to Sun) is:j2re-1_4_2_01-windows-i586.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"Here's the text from their site:JRE installation packages are built using InstallShield Developer 7. The JRE installation executables include built-in support for silent (unattended) installations. In general, to use the silent installation feature, run the JRE installation executable on the command line. Here is a sample silent installation command:j2re-1_4_2_06-windows-i586-p.exe /s /v"/qn IEXPLORER=1 ADDLOCAL=ALL UPDATE=1 /L C:\jre.log" Here is the command for silent installation of the JRE: <jre>.exe /s /v"/qn[ADDLOCAL=jrecore[,extra][,other_US] | ALL][iEXPLORER=1][NETSCAPE6=1][MOZILLA=1][iNSTALLDIR=<drive>:\<install_path>] [REBOOT=Suppress][JAVAUPDATE=1][EULA=1]"where<jre>.exe is the single executable installer for the JRE ADDLOCAL is either jrecore[,extra][,other_US] or ALLIEXPLORER=1 indicates that the JRE should be registered with the Internet Explorer browserNETSCAPE6=1 indicates that the JRE should be registered with Netscape 6 or later browsers MOZILLA=1 indicates that the JRE should be registered with Mozilla 1.1 and later browsers INSTALLDIR specifies the drive and path of the installationREBOOT=Suppress indicates that if locked files are encountered the computer should not be rebootedJAVAUPDATE=1 indicates that Java Update feature is enabledEULA=1 indicates that End User License Agreement will be displayed on first use and not during installation Please refer to the Java JRE 1.4.2 Developer Guide for detailed instructions on running the JRE installer executable on the command line.I'm using the following lines in my RunOnceEx.cmd:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\010 /VE /D "Sun Java" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\Install\SunJava\j2re-1_4_2_06-windows-i586-p.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress WEBSTARTICON=0 /L C:\jre.log\"" /fWhich, when added to the registry becomes the following command line:"C:\Install\SunJava\j2re-1_4_2_06-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress WEBSTARTICON=0 /L C:\jre.log"My problem is, this DOES NOT work for me. I have no idea why. It creates the jre.log file, but it's empty. No error messages, no nothing. No Java folder in Program Files either. I can run the attended setup with no prolem, but this silent install could make a preacher cuss. I don't want to have to repackage since this is supposed to work, and I don't repackage anything else.I've tried many combinations of switches, including EULA=1 (I thought that might be the issue).Here's the kicker -- It used to work! The only thing that I can think of that's different is that now I'm using source directly from the CD for XPCreate, whereas before I was using source that was modified by n-Lite.If anyone has any suggestions, I'd GREATLY appreciate the help. Link to comment Share on other sites More sharing options...
mickmack Posted March 4, 2005 Share Posted March 4, 2005 Use silent Java installer from RyanVM. it includes all the neccesary changes like removing yahoo ad, tray icon, autoupdate and works withous switches Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now