Asymmetry Posted June 18, 2007 Share Posted June 18, 2007 Hello!I would like to silent install Java SE Runtime Enviroment 6 Update 1 through RunOnceEx.cmd.I made my RunOnceEx and it looks like this:----------------------------------cmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP2 SET CDROM=%%i:SET PP=%cdrom%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%15 /VE /D "Java SE Runtime Enviroment 6 Update 1" /fREG ADD %KEY%15 /V 1 /D "%PP%java6.exe /s" /f.......EXIT-------------------------But I didn't manage to get silent installer. Can someone help me? Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 18, 2007 Share Posted June 18, 2007 http://www.ryanvm.net/msfn/ <-- There is a silent installer for Java 6 update 1 here...Or you can use mine @ http://www.wpiw.net/downloads/jre6u1.exeBoth these are designed as silent installers and rewuire NO switches. Link to comment Share on other sites More sharing options...
Sonic Posted June 18, 2007 Share Posted June 18, 2007 Or you can use simply switchs like jre-6u1-windows-i586-p.exe /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 Link to comment Share on other sites More sharing options...
MadsRem Posted June 19, 2007 Share Posted June 19, 2007 I am trying to deploy jre to aprox. 500 users and I want to control when to update to newer versions. I have tried several suggestions, but with no luck. I have tried to use the command line as stated by Sonic, but java is still configured to autoupdate.Any suggestions are welcome. Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 19, 2007 Share Posted June 19, 2007 The package I put together and that is shown acouple of posts above does have the auto-update turned off.http://www.wpiw.net/downloads/jre6u1.exeSonic the reason why the switches you posted aren't working is because they aren't being passed on to the internal msi file.I made an admin install source of JRE and repackaged it with these switches --> /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 JAVAUPDATE=0 REBOOT=Suppress SYSTRAY=0 JU=0 Link to comment Share on other sites More sharing options...
MadsRem Posted June 19, 2007 Share Posted June 19, 2007 I would like to understand why the switches aren't beeing passed to the msi. I have also tried with the following vbs-script, which installes still with autoupdate, so I wonder if the syntacs is 100% correct.Option ExplicitOn Error Resume NextDim objShell : Set objShell = WScript.CreateObject("WScript.Shell")Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject")Dim objNetwork : Set objNetwork = WScript.CreateObject("WScript.Network")Dim strExec : strExec = "MSIEXEC /i " & Chr(34) & "\\Server\share\jre1.6.0_01.msi" & Chr(34) & " ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0"objShell.Run strExec,,1Set OpSysSet = NothingSet objShell = NothingSet objFSO = NothingWScript.QuitI have also tried with a batch-file:"M:\Generelt\Java (Sun) Offline installation\jre-6u1-windows-i586-p-s.exe" /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0Still no luck. I would very much like to understand why my scripts don't work, so I will be able to make correct scripts in the future (I have made a couple of scripts installing applications silently based on msi-packages with transforms and updates with no errors) Link to comment Share on other sites More sharing options...
Shark007 Posted June 19, 2007 Share Posted June 19, 2007 The commandline switches alone are not enough to truly disable auto update.more info hereshark Link to comment Share on other sites More sharing options...
thundernetbr Posted July 11, 2007 Share Posted July 11, 2007 Is this re-packaged Java SE a multilanguage installer, or only English ?Also, is there any link to the brand new JRE 6 Update 2 (also multilanguage) ?Thanks a lot !--ThundernetBR Link to comment Share on other sites More sharing options...
coolguy001 Posted December 28, 2009 Share Posted December 28, 2009 Or you can use simply switchs like jre-6u1-windows-i586-p.exe /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0works fine for JRE 6 Update 17 Link to comment Share on other sites More sharing options...
Martin H Posted January 3, 2010 Share Posted January 3, 2010 To disable the prefetching feature of the newer Java versions('Java Quick Starter' service), then add this extra command-line to your NT command script:"%programfiles%\Java\jre6\bin\jqs.exe" -unregister 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