X-13 Posted January 21, 2015 Posted January 21, 2015 It has been that way for a few versions now. >_> Shows how often I bother with Java... Testing it out with the raw msi... No MST, no scripting. [Mostly because no Orca and I can't think of how to do an OS architecture check without it taking forever.]
LeMarchand Posted January 21, 2015 Posted January 21, 2015 it actually works if i make the same alterations i did to 7 and installs but unless a site is in an allowed list (or at least when using javatester.org you just get a java says no message so i need to work out how to drop security from high to allow things to work About 1/2 way down my "pending jobs" list is "Java Deployment: Whitelist". Luckily it's only a few Admin machines that I seem to need to tweak post install.
SHimmer45 Posted January 21, 2015 Posted January 21, 2015 id turn off the auto updating via a MST to stop the annoying pop up
smithson83 Posted January 21, 2015 Posted January 21, 2015 This is what I've been using - seems to work and doesn't involve messing about with the MSI: msiexec /i "\\f\Java\8.25\jre1.8.0_25.msi" JU=0 JAVAUPDATE=0 AUTOUPDATECHECK=0 RebootYesNo=No WEB_JAVA=1 /q Afternoon @LeMarchand, I've been testing a J8 silent install with those switches, but cannot get the auto update unticked in CP. Am I doing something wrong?
Arthur Posted January 21, 2015 Author Posted January 21, 2015 Am I doing something wrong? Yes. You need this instead... AUTO_UPDATE=0 2
LeMarchand Posted January 21, 2015 Posted January 21, 2015 Afternoon @LeMarchand, I've been testing a J8 silent install with those switches, but cannot get the auto update unticked in CP. Am I doing something wrong? Yes. You need this instead... AUTO_UPDATE=0 Obviously not working as well as I thought! *Goes to amend script prior to pushing out next version*
X-13 Posted January 21, 2015 Posted January 21, 2015 Just grabbed the free version of "Advanced Installer" to make some mst files... Changed reboot to suppressed and autoupdate to 0. Lets see if this works... [Worked fine raw.]
smithson83 Posted January 21, 2015 Posted January 21, 2015 Obviously not working as well as I thought! DW, we're all imperfect, despite what my cup says
Texnet Posted January 21, 2015 Posted January 21, 2015 (edited) Hi all, After a bit of playing around I managed to write the following script to deploy Java via GPO as a start-up script. I have tested this and this works without an issue thought i would share in case anyone else is having the same problems as I had. Get latest EXE from Oracle site for JRE and change java source directory, Install directories and file name below. Server location obviously is where you have the source files placed. You can remove the @echo OFF at beginning if you prefer as i did for testing purposes. @echo OFF IF EXIST "%programfiles(x86)%" (GOTO 64BIT) ELSE (GOTO 32BIT) :32BIT if exist "%programfiles%\Java\jre1.8.0_31\bin\java.exe" goto END if not exist "%programfiles%\Java\jre1.8.0_31\bin\java.exe" goto INSTALL32 :INSTALL32 title Installing Java echo Installing Java. . . set Java32="\\[sERVER LOCATION]\jre-8u31-windows-i586.exe" if not exist %Java32% set missing=%Java32% & goto ERR1 %Java32% /s REBOOT=Suppress goto END :ERR1 cls echo Unable to locate: %missing% echo. goto END :64BIT if exist "%programfiles(x86)%\Java\jre1.8.0_31\bin\java.exe" goto END if not exist "%Programfiles(x86)%\Java\jre1.8.0_31\bin\java.exe" goto INSTALL64 :INSTALL64 title Installing Java echo Installing Java. . . set Java32="[sERVER LOCATION]\jre-8u31-windows-i586.exe" if not exist %Java32% set missing=%Java32% & goto ERR1 %Java32% /s REBOOT=Suppress goto END :ERR1 cls echo Unable to locate: %missing% echo. goto END :END exit You can also add the removal of old java to the beginning of the script if required by getting the GUID and adding the following: msiexec /x {GUID OF OLD JAVA TO REMOVE} Hope this helps others. Edited January 21, 2015 by Texnet
bossman Posted January 21, 2015 Posted January 21, 2015 Just completed and tested in 5 mins deployed perfectly with all the auto-updates suppressed. Extracted the msi wrote a quick ini with all the switches and imported into RMMC as package, deployed to test machine et voila! Quickest one yet Happy days
dmatrix Posted January 28, 2015 Posted January 28, 2015 Bossman I started testing a deployment for Java 8 31 this week. I never had issues with Java 6 or 7, but I am with java 8. Could you share what you did?
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