jinnantonnixx Posted March 18, 2014 Posted March 18, 2014 (edited) I have a specific time-period in which I need to download and update Java on Windows machines. The machines will then be re-frozen by DeepFreeze. The machines wake up via a BIOS feature at a set time on Sundays, so this will need to be done completely automatically. The Java client (GUI) has a feature to download updates, but it asks before updating. The script will be run by a feature of DeepFreeze, but it must be DOS batch, or at least something started by DOS batch. I need a way of doing this completely automatically, from a command line. can this be done? Edited March 18, 2014 by jinnantonnixx
strawberry Posted March 18, 2014 Posted March 18, 2014 jre-7u45-windows-i586.exe /s /passive /norestart AUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 EULA=0 REBOOT=Suppress should do the trick, it just installs a new version rather than run an update. 1
jinnantonnixx Posted March 19, 2014 Author Posted March 19, 2014 Found this for reference. https://www.java.com/en/download/help/silent_install.xml Command Line Install The Java SE 7 Windows offline installer command has following syntax: .exe [/s] [iNSTALLDIR=:\] [sTATIC=1] [WEB_JAVA=0/1] [WEB_JAVA_SECURITY_LEVEL=VH/H/M/L] where .exe is the single executable installer for Java /s, if used, indicates silent installation INSTALLDIR, if used, specifies the drive and path of the JRE. If INSTALLDIR is not specified, the installation will go into C:\Program Files\java\jre (default location). STATIC=1, if used, specifies a static installation. This option is available in the 6u10 release and above. For more information see Static Installation. WEB_JAVA=0, if used, disables any Java application from running in the browser. WEB_JAVA=1, the default, enables Java applications in the browser. This field is available as of the 7u10 release. For more information see Setting Security Levels of the Java Client.. WEB_JAVA_SECURITY_LEVEL: if used, sets the security level of unsigned Java apps running in a browser. The possible values for this field are V (very high), H (high), M (medium, the default) or L (low). This field is available as of the 7u10 release.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now