MSFN Forum: Java SE Runtime Enviroment 6 Update 1 silent install - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Java SE Runtime Enviroment 6 Update 1 silent install Rate Topic: -----

#1 User is offline   Asymmetry 

  • Newbie
  • Group: Members
  • Posts: 30
  • Joined: 19-May 07

Posted 18 June 2007 - 02:52 AM

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 Off

FOR %%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\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%15 /VE /D "Java SE Runtime Enviroment 6 Update 1" /f
REG 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?


#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2007 - 03:09 AM

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/...oads/jre6u1.exe

Both these are designed as silent installers and rewuire NO switches.

#3 User is offline   Sonic 

  • Sonic
  • Group: Patrons
  • Posts: 1,595
  • Joined: 04-December 03

Posted 18 June 2007 - 05:36 AM

Or you can use simply switchs like
jre-6u1-windows-i586-p.exe /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0


#4 User is offline   MadsRem 

  • Group: Members
  • Posts: 2
  • Joined: 19-June 07

Posted 19 June 2007 - 01:24 AM

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.

#5 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 19 June 2007 - 02:06 AM

The package I put together and that is shown acouple of posts above does have the auto-update turned off.

http://www.wpiw.net/...oads/jre6u1.exe

Sonic 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

#6 User is offline   MadsRem 

  • Group: Members
  • Posts: 2
  • Joined: 19-June 07

Posted 19 June 2007 - 04:18 AM

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 Explicit
On Error Resume Next

Dim 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,,1

Set OpSysSet = Nothing
Set objShell = Nothing
Set objFSO = Nothing

WScript.Quit


I 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=0

Still 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)

#7 User is offline   Shark007 

  • Repackaging Specialist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,154
  • Joined: 07-January 04

Posted 19 June 2007 - 05:04 AM

The commandline switches alone are not enough to truly disable auto update.

more info here


shark

#8 User is offline   thundernetbr 

  • Junior
  • Pip
  • Group: Members
  • Posts: 62
  • Joined: 03-November 03

Posted 11 July 2007 - 11:27 AM

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

#9 User is offline   coolguy001 

  • Group: Members
  • Posts: 4
  • Joined: 28-December 09

Posted 28 December 2009 - 05:08 PM

View PostSonic, on Jun 18 2007, 06:36 AM, said:

Or you can use simply switchs like
jre-6u1-windows-i586-p.exe /s ADDLOCAL=ALL REBOOT=Suppress JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0


works fine for JRE 6 Update 17

#10 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 02 January 2010 - 06:08 PM

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


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy