1) Download the Java SE Runtime Environment 6 Update 1 file from . The file should be named something like jre-6u1-windows-i586-p-s.exe.
2) Double-click on the EXE to begin the installation.
3) When the "Welcome" screen appears, DO NOT click next. Instead, browse to "C:\Documents and Settings\[username]\Application Data\Sun\Java\jre1.6.0_01\. There you will find the extracted "jre1.6.0_01.msi", which can be used for the installation rather than the EXE.
Create a transform (.MST) by editing a copy of the MSI,
Property Value [IEXPLORER] {0}->{1}
Property Value [JAVAUPDATE] {1}->{0}
Property Value [AUTOUPDATECHECK] {1}->{0}
Property Value [JU] {1}->{0}
Property Value [MOZILLA] {0}->{1}
Property Value [SYSTRAY] {1}->{0}
Property Value [mozilla] {0} -> {1}
I've always been annoyed that the installer did not uninstall previous versions. I figured out how to do this by stumbling on a Property / Value in the msi.
To remove previous java versions when you install, use an MSI editor (Orca or otherwise) and change the Property "MODIFYREMOVE" to remove instead of modify. I've generated a transform with this change and it worked with Java JRE 6.0 Update 12 (removed Update 11).
* <jre>.exe is the single executable installer for the Java Runtime Environment (JRE)
* /lang=<language ID>, if used, sets the localized language for the installer (see language IDs)
* /s, if used, specifies a silent installation
* INSTALLDIR, if used, specifies the drive and path of the installation
* If INSTALLDIR is not specified, the installation will go into C:\Program Files\java\jre6 (default location).
* REBOOT=Suppress, if used, indicates that if locked files are encountered the computer should not be rebooted. Most JRE installations will not ask for a reboot.
* STATIC=1, if used, specifies a static installation
Also to note is that I have had some Java installs not delete/update the deployment.properties file which is the file that websites use to check to see what version you are running. I use the following at the end of my batch script to delete this file and the next time Java runs, the new deployment.properties file is generated with the correct version.
IF EXIST "C:\Documents and Settings\user\Application Data\Sun\Java\Deployment\deployment.properties" del "C:\Documents and Settings\user\Application Data\Sun\Java\Deployment\deployment.properties" /f /q
To hide Update-tab in Java control panel, create a custom action, add the following VB-script and put the custom action in Install Exec Sequence: After PreloadJavaFX.
The script:
Option Explicit
const HKEY_LOCAL_MACHINE = &H80000002
Dim strComputer, strKeyPath, strValueName, oReg
I have also been using a custom action with a VBScript to set the EnableJavaUpdate setting to 0 in the registry.
This did not seem to work with the 64-bit version of Java, but after a lot of trying different things and research, I found the following information:
If you have a custom action with a script, you have to modify its Type value in the Custom Actions table.
See http://msdn.microsoft.com/en-us/library/aa367428(VS.85).aspx
and also reference http://msdn.microsoft.com/en-us/library/aa371538(VS.85).aspx to see what you need to set the Type value to.
The below steps guide you how to Install JRE 1.6.0_21.
1. Copy the media and when you try to run the setup.exe it will try to extract the Vendor Supplied .MSI with a random number under %temp% folder, note that only a Vendor .msi will be extractred but when you to run that it will ask you to point Data.cab file. You can get both Vendor msi with cab file under user specific AppDataFolder.
2. You can create a customized transform for the extracted .msi.
3. Couple of postings related to the Properties settings available customize as per your requirements.
4. For suppressing the JavaUpdates plese follow the below steps;
a) Though you made changes to the Vendor .MSI by changing the EnableJavaUpdates from "1" to "0" still it will try to overwrite at the End of Installation.
b) you can create a Custom Action(CA) by Path Referencing Directory and under Command Line the following parameters: "cmd.exe /c %windir%\System32\reg.exe ADD "HKLM\SOFTWARE\Wow6432Node\JavaSoft\Java Update\Policy" /v EnableJavaUpdate /t REG_DWORD /d 0 /f"
Plese note that, place the CA just before InstallFinalize. Doing this will try to overwrite the value before the Installation completes.
c) Note that application don't put entry under ControlPanel->Java(32)->Java->View tab, ONLY if we install on top of same version with lower update(eg., JRE1.6.0_15 etc)
**This is my First posting pls excuse Typos**
Thanks,
VD
Reviews related to Oracle Java Runtime Environment (Update 6)
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ