Tachikoma Posted July 3, 2004 Posted July 3, 2004 HelloI'd like to install the Sun Java VM in RunOnceEx. The command though to install it has extra "%systemdrive%\install\Java\j2re-1_4_2_04-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"I could call it from an external batch, but is there a way to make it work in RunOnceEx?Thanks
Lost Soul Posted July 4, 2004 Posted July 4, 2004 try this it works fine for me REG ADD %KEY%\045 /VE /D "Sun Java VM 1.4.2" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn" /f
Caramel Posted July 4, 2004 Posted July 4, 2004 REG ADD %KEY%\030 /VE /D "Sun Java VM 1.5.0" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\SunJava\jre-1_5_0-beta2-windows-i586.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /fWorks for me - i found that i needed to suppress the reboot (and yes it is actually "reallysuppress") and i use qb cause i like to have the status displayedbtw you DO need the quotes around "/qb IEXPLORER=1 REBOOT=ReallySuppress"
Kanel Posted July 5, 2004 Posted July 5, 2004 REG ADD %KEY%\030 /VE /D "Sun Java VM 1.5.0" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\SunJava\jre-1_5_0-beta2-windows-i586.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /fWorks for me - i found that i needed to suppress the reboot (and yes it is actually "reallysuppress") and i use qb cause i like to have the status displayedbtw you DO need the quotes around "/qb IEXPLORER=1 REBOOT=ReallySuppress" Thank you very much for the switches!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now