Java 6 (Any Update Level) 6.x
Company: Sun Microsystems, Inc.
Setup Type: Native Windows Installer setup (MSI)
Package Difficulty Rating: Somewhat Difficult (4) [ Rate It or View Ratings ]
Most Commonly Reported Method: Windows Installer (with Custom Transform)
Record Created On: 10/12/2009
Number of Views: 12,992
 
  
 
Software Knowledge Base: The software knowledge base contains details on over 60,000. The closest record matching this software package is displayed here. Browse the Software KB directly to find similar records.

No record in the Software KB was found to match this package.

 
 
Command Lines: Command line details for installation and removal of this software. Details may include available command line arguments and/or public properties.

Example:
jre-6uXX-windows-i586-s.exe /s AgreeToLicense=YES IEXPLORER=1 MOZILLA=1 REBOOT=Suppress JAVAUPDATE=0

That installed the environment for Mozilla or IE, supresses the reboot, Supresses EULA, and disables updates.


I've found that the update software from previous versions may still be active so I also remove the registry entries and delete the updater program:
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v SunJavaUpdateSched /f

IF EXIST "C:\Program Files\Java\jre6\bin\jusched.exe" DEL "C:\Program Files\Java\jre6\bin\jusched.exe"



Supported command argumants from java.com:
ADDLOCAL is either jrecore[,extra][,other_US] or ALL

IEXPLORER=1 indicates that the JRE should be registered with the Internet Explorer browser

NETSCAPE6=1 indicates that the JRE should be registered with Netscape 6 or later browsers

MOZILLA=1 indicates that the JRE should be registered with Mozilla 1.1 and later browsers

INSTALLDIR specifies the drive and path of the installation

REBOOT=Suppress indicates that if locked files are encountered the computer should not be rebooted

JAVAUPDATE=1 indicates that Java Update feature is enabled

EULA=1 indicates that End User License Agreement will be displayed on first use and not during installation

Above Entry Provided on 10/13/2009 by cblake
Rate It
Rating
11

jre-6u16-windows-i586-s.exe /s IEXPLORER=1

Above Entry Provided on 10/13/2009 by dallius
Rate It
Rating
2
 
 
Notes: Shared "notes from the field" covering how to handle the automated installation of this software.

Be aware that if you run "jre-6u17-windows-i586-s.exe /?" you will see the normal msi options window, giving you the impression that you can use msi options on the installer. They do work but the installer will finish and execute another installer, which will give the impression that the installer has finished before it actually has.

Run "start /wait jre-6u17-windows-i586-s.exe /qb /norestart" to see for yourself.

Above Entry Provided on 11/6/2009 by iammacgyver
Rate It
Rating
2

http://java.com/en/download/help/6000070500.xml

Follow these steps to extract the .msi file from the Sun JRE installer for deployment through Active Directory based network:

1.Download and launch the Windows Offline Installation executable (.exe) file.

2.Navigate to LocalAppData folder (the user's Application Data folder). The location of the LocalAppData folder differs for each Windows platform.
•Windows Vista
C:\Users\</user>\AppData\LocalLow\Sun\Java\jre1.6.0_05\jre1.6.0_05.msi
•Windows XP
C:\Documents and Settings\</user>\Local Settings\ApplicationData\Sun\Java\ jre1.6.0_05\jre1.6.0_05.msi</user>
•Windows 2000
C:\Documents and Settings\</user>\ApplicationData\Sun\Java\jre1.6.0_05\ jre1.6.0_05.msi

3.From there, you can use Active Directory to distribute the Java Runtime Environment msi file to as many client Windows platforms as you want.

Above Entry Provided on 11/17/2009 by nate630
Rate It
Rating
2

Get Installation (tested with Java(TM) 6 Update 18):

1. Download: http://www.java.com/nl/download/windows_ie.jsp?locale=nl
2. Start installation.
3. Check: Change Destination Folder (the setup will stop).
4. Copy the instaltion from:
C:\Documents and Settings\<USER>\Application Data\Sun\Java\jre1.6.0_18
5. Cancel installation.

Configuration:
I use the MST 1033.mst to edit
Property (*=default)
SYSTRAY = 0 (1*=On;0=Off) (Icon in SystemTray)
MOZILLA = 0 (1=Support;0*=Not supported)
JAVAUPDATE = 0 (1*=On; 0=Off)
AUTOUPDATECHECK = 0 (1*=On; 0=Off)
JU = 0 (1*=On; 0=Off) = Overruled Update Settings

Install:
msiexec /i jre1.6.0_18-c.msi transforms=sp1033.MST /qb

Test sites:
http://www.playtopia.nl
http://www.java.com/nl/download/installed.jsp

Above Entry Provided on 1/29/2010 by bertman
Rate It
Rating
5

Java 6.0.180.79 - Finding MSI and MST files.

After downloading the installer, open your browser and naviget to:
(XP): c:\documents and settings\<username>\local settings\Temp

Start Java installation.
In the temp folder, sort by date, and notice the 6 files on the top, included 1 MSI file and 1 MST file.
I have experienced that the MSI and MST file are changing name, and my files are: 1586b005.msi and 1586b006.mst

I'm adding some registry entrys in the MST file:
Windows Registry Editor Version 5.00

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

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6.0_18\MSI]
"JAVAUPDATE"="0"
"AUTOUPDATECHECK"="0"
"MOZILLA"="1"


running it with:
msiexec /qn /i "1586b005.msi" TRANSFORMS="1586b006.mst"

It works, and there are no goolge toolbar with this installation :) I like...

Above Entry Provided on 3/10/2010 by lansti
Rate It
Rating
1
 
 
Virtualization: Information regarding how to work with this software in creating a virtual deployment package for products like Altiris SVS and Microsoft SoftGrid.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Terminal Services: Notes on how to address problems working with this software in a Terminal Services session as with Citrix shared environments.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Related Links: Additional resources to reference in regards to the deployment and configuration of this software.
 
Security Information: Details covering which files, directories and/or registry entries must be opened to standard users for operation in a locked down environment.

No information at this time. Discuss this package in the forum or click here if you have something to contribute!

 
 
Discussion threads: Discussion topics in the AppDeploy message boards that have been linked as relevant information to this entry.

 


Report a problem
  Printer Friendly Version