/build/static/layout/Breadcrumb_cap_w.png

[SOLVED] Comprehensive List of Java 7.x Installation Switches & MSI Parameters

I'm trying to locate some sort of documentation that includes a comprehensive list of Java installation/uninstallation switches and MSI parameters valid for Java 7.x  I've kept a running list of all the options I've run across over the years...

  • STATIC
  • WEB_JAVA
  • AgreeToLicense
  • WEB_JAVA_SECURITY_LEVEL
  • ADDLOCAL
  • IEXPLORER
  • MOZILLA
  • REBOOT (likely MSI parameter)
  • WEBSTARTICON
  • JAVAUPDATE
  • JU
  • AUTOUPDATECHECK
  • SYSTRAY
  • EULA
  • /s (silent)
  • /L (log)
  • etc.

And not only would I like some validation that its correct, but also to know:

  • what is still valid for Java 7.x
  • what does each switch do; what does it correspond to in deployment.properties
  • what MSI parameters can be passed in addition to or in place of a switch (e.g.: if I'm using /l*vx do I need /L?)
Today, the Oracle website only shows a handful of switches "[/s] [INSTALLDIR=<drive>:\<JRE_install_path>] [STATIC=1] [WEB_JAVA=0/1] [WEB_JAVA_SECURITY_LEVEL=VH/H/M]" and there's no mention of any of those other switches which makes me wonder.
 
My current installation string is crazy long and if I'm using duplicate switches (like autoupdatecheck, javaupdate, ju) or switches are no longer necessary (maybe because its autodetected during installation etc), I'd like to clean it up!
 
Many thanks all - constructive criticism always appreciated! :)
 
 
 
References:
  • JDK 7 and JRE 7 Installation Guide - http://docs.oracle.com/javase/7/docs/webnotes/install/index.html#windows
  • JRE Installer Options - http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html
  • How do I arrange a silent (Unattended) Java installation? - http://java.com/en/download/help/silent_install.xml

0 Comments   [ + ] Show comments

Answers (5)

Answer Summary:
Posted by: SMal.tmcc 7 years ago
Red Belt
3

You have about covered it all.  The other switches are mentioned in http://wpkg.org/Java and when they were deprecated. You will have to comb thru it but it gives the history of the switches

 

Posted by: haxin 7 years ago
Orange Senior Belt
2

Thanks for the prompt response!  That site is incredibly useful - thank you for that.

I also just discovered something interesting:
In "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\Version\MSI" are a whole list of, what appear to be, MSI Parameters:

  • "JU"="1"
  • "OEMUPDATE"=""
  • "MODE"="C"
  • "JQS"=""
  • "FROMVERSION"="NA"
  • "FROMVERSIONFULL"=""
  • "PRODUCTVERSION"="7.0.210"
  • "INSTALLDIR"="C:\\Program Files\\Java\\jre7\\"
  • "PATCHDIR"=""
  • "WEB_JAVA_SECURITY_LEVEL"=""
  • "WEB_JAVA"=""
  • "EULA"="0"
  • "IEXPLORER"="0"
  • "MOZILLA"="0"
  • "JAVAUPDATE"="1"
  • "AUTOUPDATECHECK"="1"
  • "AUTOUPDATEDELAY"=""
  • "ImageCkSum"="4172486760"
  • "FullVersion"="1.7.0_21-b11"
 

Comments:
  • here is for uninstall strings
    http://www.itninja.com/blog/view/how-to-create-your-own-uninstall-strings-for-all-versions-of-java-6-and-7 - SMal.tmcc 7 years ago
Posted by: GeekSoldier 7 years ago
Red Belt
2

http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html#running

This link is the official and current documentation for CLI options concerning Java.

Posted by: anonymous_9363 7 years ago
Red Belt
1

>My current installation string is crazy long
Build a transform and use it with the extracted MSI.


Comments:
  • The install string isn't a bother for me because within major versions I usually only have to edit the version portion of the MSI name and the same string will continue to work (most of the time). When I do edit it's usually pretty minor. - GeekSoldier 7 years ago
    • Thanks you two. I'm not bothered that its crazy long - its fine and allows those that come behind me to quickly/easily see how we're executing the installation. - haxin 7 years ago
Posted by: pippo91 7 years ago
White Belt
0

1. Open the MSI with ORCA.exe from the Microsoft SDK.

2. Choose "Property"-Table on the left

3. Set your Properties! ;)

 
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