Allan Lyons wrote:
> Hi,
>
> I was looking at updating the sun-jre.bat script to the latest update of 
> Java.  (Latest version 
> has different behaviour for updates and a different style of browser plugin.)
>
> The current script downloads an MSI file.  Does anyone know if the MSI is 
> directly available or 
> would I be better off recoding for the .EXE installer?

Just use the exe.  I use WPKG for installing Java, but here are the
commands:

jre-6u11-windows-i586-p.exe /s IEXPLORER=1 MOZILLA=1
REBOOT=ReallySuppress JAVAUPDATE=0 WEBSTARTICON=0

"%ProgramFiles%\Java\jre6\bin\jqs.exe" -unregister

regedit /s java6-noupdate.reg

The registry file is:

Windows Registry Editor Version 5.00
 
 [HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy]
"EnableAutoUpdateCheck"=dword:00000000
"EnableJavaUpdate"=dword:00000000
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"SunJavaUpdateSched"=-


More info is available here:

http://wpkg.org/Java


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to