MSFN Forum: Java 6 update 20 silent install with Auto update off not working - 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 6 update 20 silent install with Auto update off not working Rate Topic: -----

#1 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 26 June 2010 - 08:45 AM

What am I doing wrong? it installs silently just fine, but I need to turn of the auto update as well.

jre-6u20-windows-i586-s.exe /s /v /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 AUTOUPDATECHECK=0 SYSTRAY=0 REBOOT=Suppress


#2 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 26 June 2010 - 10:15 AM

Hello!

Have you downloaded the good version for an installation offline?
JAVA
Choose the good one!
1) I think you can delete: "AUTOUPDATECHECK=0"

Works fine for me like this:( With Se7en_UA; I've rename the file: Java6u20.exe)

"CMD /C Start /Wait %SystemDrive%\APPS\SunJava\Java6u20.exe /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0"
"REGEDIT /S %SystemDrive%\APPS\SunJava\6u20.reg" /f
"CMD /C REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v \"SunJavaUpdateSched\" /f" /f""

6u20.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]

[HKEY_CURRENT_USER\Software\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=hex:01,00,00,00,d0,8c,9d,df,01,15,d1,11,8c,7a,00,c0,4f,\  
c2,97,eb,01,00,00,00,9e,9b,bf,c2,27,b9,97,4f,9e,f0,76,37,a6,00,59,2b,00,00,\  
00,00,1c,00,00,00,50,00,61,00,73,00,73,00,77,00,6f,00,72,00,64,00,20,00,44,\  
00,61,00,74,00,61,00,00,00,10,66,00,00,00,01,00,00,20,00,00,00,dc,20,72,03,\  
cd,3e,fb,cf,34,34,20,b4,69,52,58,ce,54,aa,93,6e,ed,44,31,b7,64,70,e3,1e,67,\  
3a,81,c5,00,00,00,00,0e,80,00,00,00,02,00,00,20,00,00,00,19,16,10,6f,3a,80,\  
e2,41,b7,60,ac,08,9b,3e,ca,86,ac,d8,6a,a2,ef,46,80,3b,ff,c8,f2,07,00,8c,23,\  
a3,10,00,00,00,66,88,0e,7c,44,3c,ef,7b,ab,f0,2e,9a,87,17,34,48,40,00,00,00,\  
6d,e8,dc,6a,1a,a5,5c,41,c5,d8,dc,6d,7d,c7,45,c3,3b,e5,57,d8,33,c5,ba,3c,9e,\  
16,15,38,30,d7,1b,d0,93,b0,e0,24,9a,44,ba,39,c5,aa,e4,cc,71,53,8b,b2,ba,f8,\  
e5,02,0d,d0,a5,be,e4,db,30,a0,aa,e4,5d,fc

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=dword:00000000
"EnableJavaUpdate"=dword:00000000
"NotifyDownload"=dword:00000000
"NotifyInstall"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-


Tutorial Silent install

2) You can also try: works fine!

start /Wait %systemdrive%\Install\Java\jre-6u20-windows-i586-s.exe /s /v "/qn" 

You need to be carefull with the quotes and keep the space just after the letter v !

This post has been edited by myselfidem: 26 June 2010 - 11:45 AM


#3 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 26 June 2010 - 10:49 AM

Thank you.

I have the offline install and the silent install works fine but I can't get the auto updating to turn off.

I tried that regkey

It doesn't turn it off.

This post has been edited by clivebuckwheat: 26 June 2010 - 11:08 AM


#4 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 26 June 2010 - 11:08 AM

Weird! Works fine for me.

Have you tried to delete also this reg file?:
"CMD /C REG DELETE HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v \"SunJavaUpdateSched\" /f" /f""

You can try to add: JAVAUPDATE=0
start /Wait %systemdrive%\Install\Java\jre-6u20-windows-i586-s.exe /s /v "/qn" ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0


I think that the value [AUTOUPDATECHECK=0] isn't available for Silent installation for Java Sun! I've don't seen this value inside the tutorial InstallShield for Java!

This post has been edited by myselfidem: 26 June 2010 - 11:38 AM


#5 User is offline   clivebuckwheat 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 562
  • Joined: 07-November 05

Posted 26 June 2010 - 04:33 PM

neither worked to turn off the auto update feature.

#6 User is offline   krose 

  • Junior
  • Pip
  • Group: Members
  • Posts: 78
  • Joined: 05-September 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 26 June 2010 - 05:24 PM

I have always just used the switches

/s ADDLOCAL=jrecore IEXPLORER=1 MOZILLA=1

plus a regfile

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableJavaUpdate"=dword:00000000

Works fine for me.

Edit: I checked and I also stop java update scheduler from starting by the regfile

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-

This post has been edited by krose: 26 June 2010 - 05:28 PM


#7 User is offline   hj_fr 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 09-August 04

Posted 27 June 2010 - 02:48 PM

myselfidem> AUTOUPDATECHECK is available in java installer.
You can check available variable for java installer at REG : [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_xx\MSI]

For java installer, I use :
jre-6u20-windows-i586.exe /s IEXPLORER=1 MOZILLA=1 ADDLOCAL=ALL JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0 JQS=0 SYSTRAY=1 EULA=0 REBOOT=Suppress /L C:\Temp\java16u20.txt

and to disable JQS :
"%PROGRAMFILES%\Java\jre6\bin\jqs.exe" -unregister


My regfile for java :
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.6.0_20]
"HideSystemTrayIcon"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableJavaUpdate"=dword:00000000
"EnableAutoUpdateCheck"=dword:00000000
"NotifyDownload"=dword:00000000
"NotifyInstall"=dword:00000000
"Frequency"=dword:01110000
"UpdateSchedule"=dword:00000000
"PromptAutoUpdateCheck"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-


#8 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 27 June 2010 - 03:16 PM

Thanks hj_fr for those explainations! :rolleyes:
For me the silent install works fine!
Sure it's useful!

This post has been edited by myselfidem: 27 June 2010 - 11:15 PM


#9 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 16 July 2010 - 07:34 PM

I have two reg files that disable the auto updater from running at startup.

x86
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-

x64
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-


#10 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 153
  • Joined: 23-December 07

Posted 17 July 2010 - 11:12 AM

There are two different files being installed here. The first is:
jre-6u20-windows-i586-s.exe
(used by clivebuckwheat)

and the second is
jre-6u20-windows-i586.exe
(used by hj_fr)

What's the difference between the file WITH "-s" and WITHOUT "-s" in the filename?

The latest version is now 6u21 and both of these files can be downloaded from Java.com.
If you want WITH "-s", it's http://javadl.sun.com/webapps/download/AutoDL?BundleId=40916
If you want WITHOUT "-s" it's http://javadl.sun.com/webapps/download/AutoDL?BundleId=40917

but I still don't know why there are two versions.

Both are for 32-bit systems, because there are other downloads for 64-bit. So, what's the difference between these two?

.

#11 User is offline   Shepper01 

  • Group: Members
  • Posts: 1
  • Joined: 05-August 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 05 August 2010 - 09:01 AM

Up :angel !

jre-6u20-windows-i586-s.exe
This generates a registry key "YahooPartnerToolbar" and proposes the installation of the toolbar
"HKCU \ Software \ YahooPartnerToolbar"

Bye

#12 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 153
  • Joined: 23-December 07

Posted 05 August 2010 - 11:07 AM

So, the normal download from java.com tries to add a toolbar as well as Java.

One more thing to avoid (or suppress), along with the quick-starter, the updater, the notifications ("phone-home") back to Sun/Oracle.....

Thanks.

#13 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 05 August 2010 - 02:04 PM

View PostJames_A, on 17 July 2010 - 11:12 AM, said:

There are two different files being installed here. The first is:
jre-6u20-windows-i586-s.exe
(used by clivebuckwheat)

and the second is
jre-6u20-windows-i586.exe
(used by hj_fr)

What's the difference between the file WITH "-s" and WITHOUT "-s" in the filename?

The latest version is now 6u21 and both of these files can be downloaded from Java.com.
If you want WITH "-s", it's http://javadl.sun.com/webapps/download/AutoDL?BundleId=40916
If you want WITHOUT "-s" it's http://javadl.sun.com/webapps/download/AutoDL?BundleId=40917

but I still don't know why there are two versions.

Both are for 32-bit systems, because there are other downloads for 64-bit. So, what's the difference between these two?

.

I've found some help here:
http://wpkg.org/Java

Extract:

Quote

Java Runtime Environment (JRE) 6 Update 21
There are various versions of the installer:

Those from a http://java.sun.com/...loads/index.jsp which are aimed at developers or ISVs.
We want the 'Windows Offline Installation' version with a filename of jre-6u21-windows-i586.exe.
Also available here are 'Windows Online Installation' (jre-6u21-windows-i586-iftw-rv.exe) and 'Windows Kernel Installation' (jre-6u21-windows-i586-iftw-k.exe).

Those from http://www.java.com/...load/manual.jsp which are aimed at consumers.
The versions available here are 'Windows 7/XP/Vista/2000/2003/2008 Online' (same as the 'Windows Online Installation' above) (jre-6u21-windows-i586-iftw-rv.exe) and 'Windows 7/XP/Vista/2000/2003/2008 Offline' (not the same as the 'Windows Offline Installation' above) (jre-6u21-windows-i586-s.exe).

In versions prior to update 19 or maybe 18 the installer filename ending in -s.exe tried to download the Google Toolbar so this may still be the case with this version.
"Java Quick Starter" is described as a prefetching service that should make java applications start faster. But it has a drawback: it must be killed before uninstallation or installation fails, and uninstallation via msiexec does not seem to be smart enough to do this.


Silent installation:
http://www.oracle.co...ent-136552.html

I hope that will help you!

This post has been edited by myselfidem: 05 August 2010 - 02:06 PM


#14 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 153
  • Joined: 23-December 07

Posted 05 August 2010 - 03:35 PM

That page at wpkg http://wpkg.org/Java

WPKG said:

... this page is for the Oracle Java Runtime Environment, previously known as the Sun Java Runtime Environment.
is quite the most comprehensive set of instructions I've seen for installing the JRE.

Thanks for the reference.

I've used the "-s" variation previously in the past to install the JRE, without being bothered by the toolbar installation, because the test install computer was disconnected from the network at the time. So, I guess, as the WPKG page says "... tried to download the Google Toolbar ..." means really that, if it can't download actually during the install process, it doesn't get installed.

Secondly, as you can see from my original two links, both versions of the file are available from the "consumer" site, but Oracle/Sun only publish one of the two links on the web page itself.

.

#15 User is offline   andykn 

  • Group: Members
  • Posts: 1
  • Joined: 28-June 10
  • OS:none specified

Posted 06 August 2010 - 07:56 AM

I found that, with 6u20, the updater is a separate install within the .exe.

So if you uninstall the updater after installing the JRE the updater is gone:

start /wait jre-6u20-windows-i586-s.exe /s REBOOT=suppress SYSTRAY=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 JU=0
start /wait msiexec /x {4A03706F-666A-4037-7777-5F2748764D10} /qb-


The GUID appears to be the same for u21 ({4A03706F-666A-4037-7777-5F2748764D10}). For future versions you can check in the registry for HKLM\Software\Microsoft\Windows\Current Version\Uninstall for "Java Auto Updater" or similar

#16 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 153
  • Joined: 23-December 07

Posted 06 August 2010 - 01:26 PM

View Postandykn, on 06 August 2010 - 07:56 AM, said:

I found that, with 6u20, the updater is a separate install within the .exe.


The WPKG page (see link earlier) uses the same solution:

WPKG said:

Since approximately 1.6.18 / 6.0 update 18, Sun has included Java Auto Updater as a separate package that is automatically installed with the JRE. You can disable automatic updates by uninstalling the Java Auto Updater after the JRE is installed or upgraded, by adding the following to your package definition:

msiexec /qn /x {4A03706F-666A-4037-7777-5F2748764D10}


So it looks like the same GUID is used for JRE updates 18 through 21, so far.

.

This post has been edited by James_A: 06 August 2010 - 01:26 PM


#17 User is offline   radix 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 732
  • Joined: 08-February 07
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 August 2010 - 04:16 AM

You should look here.


#18 User is offline   James_A 

  •  
  • PipPip
  • Group: Members
  • Posts: 153
  • Joined: 23-December 07

Posted 25 August 2010 - 12:43 AM

View Postradix, on 14 August 2010 - 04:16 AM, said:

You should look here.


Thanks. Didn't know Kelsenellenelvian had made an installer.


.

#19 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,395
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 25 August 2010 - 03:23 AM

View PostJames_A, on 25 August 2010 - 12:43 AM, said:

View Postradix, on 14 August 2010 - 04:16 AM, said:

You should look here.


Thanks. Didn't know Kelsenellenelvian had made an installer.


.

Yes, really nice! Works without silent switchers and also with localised Windows versions!

#20 User is online   Kelsenellenelvian 

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

Posted 25 August 2010 - 06:07 PM

:P

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 - 2013 msfn.org
Privacy Policy