imthemp3king Posted April 20, 2004 Share 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 Link to comment Share on other sites More sharing options...
RayOK Posted April 20, 2004 Share 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 Link to comment Share on other sites More sharing options...
imthemp3king Posted April 21, 2004 Author Share Posted April 21, 2004 Thanks for the reply. I will try that with my fingers crossed Link to comment Share on other sites More sharing options...
imthemp3king Posted April 21, 2004 Author Share 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. Link to comment Share on other sites More sharing options...
RayOK Posted April 21, 2004 Share Posted April 21, 2004 Now you're OK too.. Link to comment Share on other sites More sharing options...
ecsantos Posted April 28, 2004 Share Posted April 28, 2004 and what about J2SE ? can ne1 help? 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