[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?)
- 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
Answers (5)
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 11 years ago
>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 11 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 11 years ago