December 21, 200421 yr Same switches as before for .msi-based install? I won't be able to test for about four more hours. (Grabbed the .msi from temp folder while installing on my work machine.)I'll edit to post results after I test it.EDIT: Yeah, the same switches work in this version as worked in the original 5.0 install.
December 21, 200421 yr @jrf2027 , i tried almost all switches that .msi installer recognizesto my suprise i found that /passive switch works and doesn't reboot PC.my batch looks something like this:ECHO.ECHO Installing Sun JavaECHO Please wait...start /wait %cdrom%\Install\Sun_Java\Java2_Runtime_Environment_5.0.msi /passive ECHO Installation Successful!My .msi is about 9.85mb
December 22, 200421 yr /passive is the command for Windows Installer v3.0 only.you can use this commandstart /wait jre5.msi /QB IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=SuppressIt will install plugin for IE, Netscape 6 and Mozilla 1.1 and later browsersmore command can be found form here.
December 22, 200421 yr /passive is the command for Windows Installer v3.0 only.you can use this commandstart /wait jre5.msi /QB IEXPLORER=1 NETSCAPE6=1 MOZILLA=1 REBOOT=SuppressIt will install plugin for IE, Netscape 6 and Mozilla 1.1 and later browsersmore command can be found form here.While what you posted is basically correct, you might want to reference the correct docs for the version you're using next time. One thing that's changed is that NETSCAPE6 is no longer a valid command.http://java.sun.com/j2se/1.5.0/docs/guide/...ide/silent.html
December 23, 200421 yr REG ADD %KEY%\007 /VE /D "Java 1.5.01" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\Java_1.5.01\jre-1_5_0_01-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 FIREFOX=1 INSTALLDIR=C:\Programme\Java_1.5.01 REBOOT=Suppressthats my... install path is german
December 24, 200421 yr so what's the advantage of using .msi file over the .exe w/ silent switch?smaller file size? is that all?
December 25, 200421 yr im guessing %tmp% EDIT: @ryanvm r u planning to make a switchless installer for this update too? so i know whether or not to go ahead with the normal way?
December 26, 200421 yr tried this update.. and it gives me 'run-time' error about 5 times a day, and when i visit certain sites (www.bananarepublic.com , victoriassecret.com ) it's 100% crashi went back to 1.5 and it's working finejust a heads up
December 26, 200421 yr @ryanvm r u planning to make a switchless installer for this update too? so i know whether or not to go ahead with the normal way?But of course
December 26, 200421 yr Ryan, you can also use this:jre50.msi /qb-! /passive REBOOT=ReallySuppress SYSTRAY=0 WEBSTARTICON=0 ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0This prevents the coffeecup in systray.And your site is offline.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now