Jump to content

Sun Java VM in RunOnceEx


Recommended Posts

Hello

I'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

Link to comment
Share on other sites


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" :)

Link to comment
Share on other sites

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"  :)

Thank you very much for the switches! :rolleyes:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...