/build/static/layout/Breadcrumb_cap_w.png

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

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

Answers (2)

Posted by: GAKIS 12 years ago
Fourth Degree Green Belt
1

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

Posted by: ekgcorp 5 years ago
10th Degree Black Belt
0

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.




 
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