ITNinja Question

Java6 Update 31: How to install using [STATIC=1] with no user intervention?

05/17/2012 5683 views

We have an app that requires a specific version of Java to be installed on our windows workstations to run properly. To prevent users from auto updating and breaking the app like they have done in the past, we wanted to take adavantage of the new(ish) STATIC switch make sure that version wasnt touched in the event they added a newer version themselves.

When we try to deploy it, we found that by adding the [STATIC=1] switch, all other behavior switches are ignored. As I recall, the /passive and /q* switches are ignored (it runs normally requiring user input), and the /s switch throws the list of msi switches window as if /s isnt supported. All of the switches work if you omit the static variable.


Anyone else figure out how to deploy these newer versions static AND quiet/silent with no user intervention?

0 Comments   [ + ] Show comments


Community Chosen Answer


Try this:

"%~dp0jre-6u31-windows-i586.exe" /qn ADDLOCAL=ALL SYSTRAY=0 EULA=0 IEXPLORER=1 JAVAUPDATE=0 AUTOUPDATECHECK=0 JU=0 REBOOT=ReallySupress STATIC=1

Answered 05/17/2012 by: GAKIS
Fourth Degree Green Belt

All Answers


I found that Static does not work on an extracted MSI.

To fix this, simply edit the Directory table within the MST to show the name of the version your installing. This will mimic what the STATIC option is doing.

Answered 06/04/2019 by: ekgcorp
10th Degree Black Belt

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