Help - Search - Members - Calendar
Full Version: Sun Java VM in RunOnceEx
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
Tachikoma
Hello

I'd like to install the Sun Java VM in RunOnceEx. The command though to install it has extra "

CODE
%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
try this it works fine for me
QUOTE
REG ADD %KEY%\045 /VE /D "Sun Java VM 1.4.2" /f
REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Applications\SunJava\j2re-1_4_2_04-windows-i586-p.exe /s /v/qn" /f
ZoSTeR
You have to add an escape character:

CODE
" becomes \"
Tachikoma
Thanks people!

Cheers
Caramel
CODE
REG ADD %KEY%\030 /VE /D "Sun Java VM 1.5.0" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\SunJava\jre-1_5_0-beta2-windows-i586.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f


Works 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 displayed

btw you DO need the quotes around "/qb IEXPLORER=1 REBOOT=ReallySuppress" thumbup.gif
Kanel
QUOTE (Caramel @ Jul 4 2004, 05:47 AM)
CODE
REG ADD %KEY%\030 /VE /D "Sun Java VM 1.5.0" /f
REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\SunJava\jre-1_5_0-beta2-windows-i586.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f


Works 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 displayed

btw you DO need the quotes around "/qb IEXPLORER=1 REBOOT=ReallySuppress"  thumbup.gif

Thank you very much for the switches! smile.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.