/build/static/layout/Breadcrumb_cap_w.png

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login
Views: 80.7k  |  Created: 10/14/2014 by: gurugabe

Average Rating: 0
Java 8 has 0 inventory records, 13 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (5)

Most Common Setup Type
Windows Installer (MSI)
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 4 ratings
Most Commonly Reported Deployment Method
Vendor Provided Command Line (switch driven)
4
Note

get the MSI-file from the EXE-file:

To unpack the .msi file, first launch the EXE file. In the first that appears query the MSI file is then in one of the following directories:

XP: C:\Dokumente und Einstellungen\<user>\Anwendungsdaten\Sun\Java\jre1.8.0_25
Windows Vista and Windows 7: C:\Users\<user>\AppData\LocalLow\Sun\Java\jre<version_number>

 

########## Uninstall the previous version #################

echo Uninstall Java 7 Update 25:  . . . 7025FF
%WINDIR%\system32\msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217025FF}
 
echo Uninstall Java 7 Update 51:  . . . 7051FF
%WINDIR%\system32\msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217051FF}
 
echo Uninstall Java 7 Update 55:  . . . 7055FF
%WINDIR%\system32\msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217055FF}
 
echo Uninstall Java 7 Update 60:  . . . 7060FF
%WINDIR%\system32\msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217060FF}
 
echo Uninstall Java 7 Update 65:  . . . 7065F
%WINDIR%\system32\msiexec.exe /qn /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217065FF}
 
echo Uninstall Java 7 Update 67:  . . . 7067FF
%WINDIR%\system32\msiexec.exe /qb!- /norestart /x {26A24AE4-039D-4CA4-87B4-2F03217067FF}
 
echo Uninstall Java 8 Update 25:  . . . 8025F0
%WINDIR%\system32\msiexec.exe /qb!- /norestart /x {26A24AE4-039D-4CA4-87B4-2F83218025F0}
########## Uninstall the previous version #################


########## launch a siltent installation #################

start /wait %WINDIR%\system32\msiexec.exe /i X:\jre1.8.0_25.msi INSTALLCFG=X:\java-install.cfg /qb!-

########## launch a siltent installation #################

 


######## X:\java-install.cfg  ###################

AUTO_UPDATE=Disable
REBOOT=Disable
WEB_ANALYTICS=Disable

######## X:\java-install.cfg  ###################

http://docs.oracle.com/javase/8/docs/technotes/guides/install/config.html#using_config_file

 

########  RegEdit /S "X:\REG\REG32bit.reg"  ##############################

REGEDIT4

// Registry file generated by the Application Launcher.

[HKEY_LOCAL_MACHINE\SOFTWARE]

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update]

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

########  RegEdit /S "X:\REG\REG32bit.reg"  ##############################

 

Silent Installation; JAVA 8; JRE; command line switches; Parameter

 

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
  • This good stuff. Do you know where the latest version of Java is hiding the MSI? The msi is not in the Windows 7: C:\Users\<user>\AppData\LocalLow\Sun\Java\jre<version_number> folder anymore - Sven10075 8 years ago
    • check in the uninstall registry key for InstallSource. - apptopack 8 years ago
  • C:\Users\<USERNAME>\AppData\LocalLow\Oracle\Java\<version_number>\jre<version_number>.msi - bam 8 years ago
1
Command Line
jre-8u25-windows-i586.exe INSTALL_SILENT=1 STATIC=0 AUTO_UPDATE=0 WEB_JAVA=1 WEB_JAVA_SECURITY_LEVEL=H WEB_ANALYTICS=0 EULA=0 REBOOT=0
Setup Information:
Setup Type: Windows Installer (Delivered as an EXE)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: unspecified
Platform(s): Windows
1
Note
No need to overcomplicate things. The registry entries can be added inside a transform along with any other wanted settings that you would put inside the .cfg-file. The command line builds perfectly fine either way you chose. I'm not sure which properties we used to have in Java 7 are still needed, but I have included them anyway.

jre1.8.0_25.mst:
[New properties]
AUTO_UPDATE 0
EULA 0
IEXPLORER  //Still necessary?
INSTALL_SILENT 1
JU  //Still necessary?
NOSTARTMENU 1
REBOOT 0
STATIC 0
WEB_ANALYTICS 0

[Changed properties]
AUTOUPDATECHECK 0 //Still necessary?
JAVAUPDATE 0 //Still necessary?

[New registry entries]
a_notifyreg 2 SOFTWARE\JavaSoft\Java Update\Policy NotifyDownload #0 jz
a_updatereg 2 SOFTWARE\JavaSoft\Java Update\Policy EnableJavaUpdate #0 jz
a_updatereg0 2 SOFTWARE\JavaSoft\Java Update\Policy EnableAutoUpdateCheck #0 jz

If you, like me, want an installation with your countries regional settings the command line would then be:

msiexec.exe /i jre1.8.0_25.msi TRANSFORMS=:1053;jre1.8.0_25.mst /qb-!
Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Windows Installer with Custom Transform (MST)
Deployment Difficulty: Somewhat Easy
Platform(s): Windows
This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.
This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.
0
Note
Here is how I deployed Java 8 u25 via a managed install.

1.) Create a new distrubuition for Java 8 u25
2.) Upload the MSI
3.) Select configure manually
4.)  Input this command      msiexec /i jre1.8.0_25.msi JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q
5.) Select "Don't Prepend"

This will silently install java 8 u25 for you. (note I did this after I removed the old versions of java)
Setup Information:
Setup Type: Windows Installer (MSI)
Deployment Method Used: Vendor Provided Command Line (switch driven)
Deployment Difficulty: Somewhat Easy
Platform(s): Windows
0
Note

Just a piece of advice, it appears in this release (and presumably future releases) Oracle have stopped using the following autoupdate settings :

deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked=


which previously could be entered into a system-wide deployment.config file and which used to be a neat way to disable automatic updating.  Naturally this doesn't seem to be documented by Oracle anywhere and so I found out the hard way.

Spartacus


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s):

Inventory Records (0)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Questions & Answers (13)

Questions & Answers related to Oracle Java 8

0
ANSWERS
2
ANSWERS
2
ANSWERED
0
ANSWERS
2
ANSWERED
2
ANSWERS
9
ANSWERED
0
ANSWERS
0
ANSWERS
1
ANSWERS
4
ANSWERS
1
ANSWERED

Blogs (0)

Blog posts related to Oracle Java 8

Reviews (0)

Reviews related to Oracle Java 8

 
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