imthemp3king Posted April 20, 2004 Posted April 20, 2004 I'm have looked through the forums and I have used this thread,http://www.msfn.org/board/index.php?showtopic=16892&hl=Javaand I have used this page for silent install switches for Java,http://java.sun.com/j2se/1.4.2/docs/guide/...ide/silent.htmland using both of those resources I am unable to get Java to install. Here is what I have tried so farREG ADD %KEY%\008 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\008 /V 1 /D %CDROM%\postinstall\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0" /fandREG ADD %KEY%\008 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\008 /V 1 /D "\"%CDROM%\postinstall\SunJava\j2re-1_4_2_04-windows-i586-p.exe\" /s /v \"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0\"" /fI also tried this variation as well,REG ADD %KEY%\008 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\008 /V 1 /D "%CDROM%\postinstall\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0"" /fbut both times, it gets skipped over very quickly during RunOnceEx. After the unattended install completes, I am able to install it using this command just finej2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0Please help as I am at my wits end trying to get this application to install.Thanks
RayOK Posted April 20, 2004 Posted April 20, 2004 You need to wrap the whole thing in normal quotes and put \" for any quotes needed in the string.. So for that, I would something like this, which is straight out of my working RunOnce.cmd, changed slightly for your options, path and filename..REG ADD %KEY%\008 /VE /D "Sun Java 1.4.2_04" /fREG ADD %KEY%\008 /V 1 /D "%CDROM%\postinstall\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=Suppress JAVAUPDATE=0 WEBSTARTICON=0\"" /f
imthemp3king Posted April 21, 2004 Author Posted April 21, 2004 Thanks for the reply. I will try that with my fingers crossed
imthemp3king Posted April 21, 2004 Author Posted April 21, 2004 THANK YOU THANK YOU THANK YOU! That worked like a charm! You don't know how many days of frustrating trial-and-error I went through before almost giving up. Thanks again for your help.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now