Jump to content

Need Silent Install for Java 8


gotenks98

Recommended Posts


  • 1 month later...
  • 4 months later...

This is what I have and it seems to work with our applications to silently install Java and allow things to run. 

 

"%wpipath%\Install\Java\jre1.8.0_45_.msi" TRANSFORMS = "%wpipath%\Install\Java\Java8u45.mst"

{FILECOPY} "%wpipath%\Install\Java\deployment.config" "C:\Windows\Sun\Java\Deployment"

{FILECOPY} "%wpipath%\Install\Java\deployment.properties" "C:\Windows\Sun\Java\Deployment"

{FILECOPY} "%wpipath%\Install\Java\exception.sites" "C:\Windows\Sun\Java\Deployment"

 

I duplicate above for the 32bit version of Java and have a Java 64bit and Java32bit application to install. 

 

My deployment.config file contains the following lines and was created using Notepad:

####################

 deployment.system.config = file\:\C\:/Windows/Sun/Java/Deployment/deployment.properties

 deployment.system.config.mandatory = TRUE

####################

 

My deployment.properties file contains the following lines and was created using Notepad:

####################

 deployment.security.level=HIGH

 deployment.browser.path=C:\Program Files\Internet Explorer\IEXPLORE.exe

 deployment.user.security.exception.sites=C\:/Windows/Sun/Java/Deployment/exception.sites

 deployment.security.SSLv2Hello=TRUE
 deployment.user.security.exception.sites.locked

 deployment.security.level.locked

####################

 

my exception.sites file contains a list of the sites I needed added to the Site Exceptions per user in the Java Control Panel

 

https://somewebsites.com/

https://someotherwebsite.net/

https://www.anotherone.com/

 

The .MST was created using Orca which is in the Windows SDK

Edit the .msi with Orca

-       New Transform

-       Property

o   CHANGE:

§  AUTOUPDATECHECK = 0

§  Add row: IEXPLORER = 1

§  JAVAUPDATE = 0

§  Add row: JU = 0

§  RebootYesNo=No

§  Add row: REBOOT = R

§  Add row: SYSTRAY=0

§  Add row: WEB_JAVA=1

§  Add row: WEB_JAVA_SECURITY_LEVEL=H

-       Generate Transform

 

So that's how I did it, and it's working! Good Luck

Link to comment
Share on other sites

  • 1 year later...

Here is the switch for a newer Jave 8:


jre-8u121-windows-i586.exe  /s INSTALL_SILENT=1 STATIC=1 AUTO_UPDATE=0 WEB_ANALYTICS=0 REBOOT=0 NOSTARTMENU=1 SPONSORS=0 /L C:\Windows\Temp\Install_SDC_Oracle_JavaRE_1.8.1.21_01.00_EN_x64.log
 

Just replace the build nr. and see if it works for you.

Found this here: http://www.itninja.com/software/oracle/java-8/8-update-66

Edited by UtCollector
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...