/build/static/layout/Breadcrumb_cap_w.png

Using K1000 and Managed Install for Java 7u11 and getting pop ups during silent install.

"revocation information for the security certificate for this site is not available. do you want to proceed"

Comes up with sjremetrics.java.com as the source.  The install will not continue unless I install this certificate.  I need a way around this issue so I can get this patch deployed to my users.

Here is the command line I'm using in the K1000 "jre-7u11-windows-i586.exe" /s /v "/norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 IEXPLORER=1"


1 Comment   [ + ] Show comment
  • I am working on a silent installation of Java 8 u 25. When I try to extract the .msi, I do get the .msi in my appdata... folder, but not the CAB. Did they change something with version 8 u xx? - jfrasier 9 years ago

Answers (6)

Answer Summary:
Download and launch the Sun JRE Windows Offline Installion executable (.exe) file. Retrieve the ".msi" file from the LocalAppData folder (the user's Application Data folder). The LocalAppData folder will differ for each Windows platform. You can then run a batch file that kills running browsers, uninstalls the current version and installs 7u11. See below for an example.
Posted by: jverbosk 11 years ago
Red Belt
5

I pushed 7u11 today to my XP and Win7 clients, and it's going smoothly as usual.  I'm getting the MSI from the EXE using the following trick:

Download and launch the Sun JRE Windows Offline Installion executable (.exe) file.
    Retrieve the ".msi" file from the LocalAppData folder (the user's Application Data folder). The LocalAppData folder will differ for each Windows platform.

Win7 - C:\Users\username\Appdata\LocalLow\Sun\Java\%version%

There's no need to install Java to get the Data1.cab and jre1.7.0_11.msi files, btw.  Once I have those two files, I update my regular batch file as follows:

taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
msiexec.exe /x {26A24AE4-039D-4CA4-87B4-2F86417009FF} /qn
taskkill /F /IM iexplorer.exe
taskkill /F /IM iexplore.exe
taskkill /F /IM firefox.exe
taskkill /F /IM chrome.exe
taskkill /F /IM javaw.exe
taskkill /F /IM jqs.exe
taskkill /F /IM jusched.exe
msiexec.exe /i jre1.7.0_11.msi /qn
exit

This kills any browser instances and related Java processes, uninstalls the last version (for me, it was 7u9) and then installs 7u11.  For the MI, I zip all 3 files, upload the zip, set the Installation Command to "Configure Manually", enter the batch file name, and it's ready to go.  Users do get an empty command prompt box for a couple seconds, but this hasn't caused any issues with deployment.

For what it's worth, I've been deploying using this setup for several versions without problems.

Hope that helps!

John


Comments:
  • I'm going to give this a whirl. Thanks! - petelanglois 11 years ago
  • I am assuming this is to be ran as a distribution? If so, I have loaded the .bat, .msi, and offline.exe into a zip, uploaded as associated file, and set for manual install. I am not exactly sure what to put into the Installation Command:, so I put the batch file name, as is recommended above. Next I selected it to "execute anytime", on one test PC, and then saved. So far, this has not worked for me; any suggestions? - $ecurity 11 years ago
  • Did the machine run inventory? That's when the MI will execute (i.e. copy down the zip file, extract the contents and run the command). You are correct in specifying the batch file name in the Installation Command field.

    John - jverbosk 11 years ago
  • John, How come you have the taskkill /F twice in the bat file? - hjansari 10 years ago
  • Once to kill browsers before the uninstall command and once to kill before the install, in case a browser gets relaunched between the uninstall and install.

    John - jverbosk 10 years ago
  • John, I have to thank you, you have saved me from having to update all my machines by hand. Your batch file helped me as I have about 20 machines that must have the Cryptography files copied over in order to work and your batch file was the start of my batch file. I hope this can help anyone.

    Again Thanks very much John.
    ECHO OFF
    ECHO SHUTDOWN BROWSERS
    ::--to kill off all the browsers in order to update this.
    taskkill /F /IM iexplorer.exe
    taskkill /F /IM iexplore.exe
    taskkill /F /IM firefox.exe
    taskkill /F /IM chrome.exe
    taskkill /F /IM javaw.exe
    taskkill /F /IM jqs.exe
    taskkill /F /IM jusched.exe
    ::--start the uninstall
    ECHO UNISTALL PREVIOUS VERSIONS
    ::--to uninstall the previous versions of Java
    ::--to uninstall Java 6U35
    ECHO UNINSTALL JAVA 6U35x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216035FF} /qn
    ::--to uninstall Java 6U37
    ECHO UNINSTALL JAVA 6U37x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216037FF} /qn
    ::--to uninstall Java 6U41
    ECHO UNINSTALL JAVA 6U41x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216041FF} /qn
    ::--to uninstall Java 6U43
    ECHO UNINSTALL JAVA 6U43x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216043FF} /qn
    ::--to uninstall Java 6U45
    ECHO UNINSTALL JAVA 6U45x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83216045FF} /qn
    ::--to uninstall Java 7U17
    ECHO UNINSTALL JAVA 7U17x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217017F0} /qn
    ::--to uninstall Java 7U21
    ECHO UNINSTALL JAVA 7U21x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217021FF} /qn
    ::--to uninstall Java 7U21-64
    ECHO UNINSTALL JAVA 7U21x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86417021FF} /qn
    ::--to uninstall Java 7U25
    ECHO UNINSTALL JAVA 7U25x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217025FF} /qn
    ::--to uninstall Java 7U40
    ECHO UNINSTALL JAVA 7U40x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217040FF} /qn
    ::--to uninstall Java 7U45
    ECHO UNINSTALL JAVA 7U45x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217025FF} /qn
    ::--to uninstall Java 7U45-64
    ECHO UNINSTALL JAVA 7U45x64
    MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86417045FF} /qn
    ::--to uninstall Java 7U51
    ECHO UNINSTALL JAVA 7U51x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217051FF} /qn
    ::--to uninstall Java 7U55
    ECHO UNINSTALL JAVA 7U55x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83217025FF} /qn
    ::--to uninstall Java 7U67
    ECHO UNINSTALL JAVA 7U67x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F03217067FF} /qn
    ::--to uninstall Java 7U75
    ECHO UNINSTALL JAVA 7U75x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F03217075FF} /qn
    ::--to uninstall Java 8U25
    ECHO UNINSTALL JAVA 8U25x86
    MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F83218025F0} /qn
    ::--to uninstall Java 8U25-64
    ECHO UNINSTALL JAVA 8U25x64
    MsiExec.exe /x {26A24AE4-039D-4CA4-87B4-2F86418025F0} /qn
    ::--to uninstall Java 8U40
    ECHO UNINSTALL JAVA 8U40x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83218040F0} /qn
    ::--to uninstall Java 8U40-64
    ECHO UNINSTALL JAVA 8U40x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86418040F0} /qn
    ::--to uninstall Java 8U45
    ECHO UNINSTALL JAVA 8U45x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83218045F0} /qn
    ::--to uninstall Java 8U45-64
    ECHO UNINSTALL JAVA 8U45x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86418045F0} /qn
    ::--to uninstall Java 8U51
    ECHO UNINSTALL JAVA 8U51x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83218051F0} /qn
    ::--to uninstall Java 8U51-64
    ECHO UNINSTALL JAVA 8U51x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86418051F0} /qn
    ::--to uninstall Java 8U60
    ECHO UNINSTALL JAVA 8U60x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83218060F0} /qn
    ::--to uninstall Java 8U60-64
    ECHO UNINSTALL JAVA 8U60x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86418060F0} /qn
    ::--to uninstall Java 8U65
    ECHO UNINSTALL JAVA 8U65x86
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F83218065F0} /qn
    ::--to uninstall Java 8U65-64
    ECHO UNINSTALL JAVA 8U65x64
    MsiExec.exe /X {26A24AE4-039D-4CA4-87B4-2F86418065F0} /qn
    ::--to uninstall Java 8U66
    ECHO UNINSTALL JAVA 8U66x86
    MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218066F0} /qn
    ::--to uninstall Java 8U66-64
    ECHO UNINSTALL JAVA 8U66x64
    MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418066F0} /qn
    ::--to kill off all the browsers in case they opened back up.
    ECHO SHUTDOWN BROWSERS AGAIN
    taskkill /F /IM iexplorer.exe
    taskkill /F /IM iexplore.exe
    taskkill /F /IM firefox.exe
    taskkill /F /IM chrome.exe
    taskkill /F /IM javaw.exe
    taskkill /F /IM jqs.exe
    taskkill /F /IM jusched.exe
    ECHO INSTALL JAVA 8U66X68
    ::--to install Java 8U66
    CD .\
    PUSHD %~dp0
    ECHO %~dp0
    MsiExec.exe /i "%~dp0jre1.8.0_66.msi" /qnAUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1
    POPD
    ECHO MOVE SECURITY FILES OVER
    ::--To move cryptography policies from KACE dir
    CD "POLICIES"
    ECHO COPYING FOR 64-BIT MACHINES
    XCOPY local_policy.jar "C:\Program Files (x86)\Java\jre1.8.0_66\lib\security\" /E/F/V/Y
    XCOPY US_export_policy.jar "C:\Program Files (x86)\Java\jre1.8.0_66\lib\security\" /E/F/V/Y
    ECHO COPYING FOR 32-BIT MACHINES
    XCOPY local_policy.jar "C:\Program Files\Java\jre1.8.0_66\lib\security\" /E/F/V/Y
    XCOPY US_export_policy.jar "C:\Program Files\Java\jre1.8.0_66\lib\security\" /E/F/V/Y
    CD "C:\Program Files (x86)\dell\kace\
    START /WAIT runkbot.exe 3 0
    START /WAIT runkbot.exe 4.0
    ECHO DONE
    exit - hf13207 8 years ago
Posted by: c_brock 11 years ago
Third Degree Brown Belt
3

Here is a script that will remove the previous versions of Java and install Java 7 update 11!

http://www.itninja.com/blog/view/kace-install-java-7-update-11-using-a-script-removes-previous-versions

 

Posted by: GeekSoldier 11 years ago
Red Belt
2

http://www.itninja.com/question/anyone-have-to-push-java-7-update-11-yet

We've had some great answers posted here as well.

Posted by: worzie 11 years ago
Fourth Degree Brown Belt
2

I extract the cab and msi just as the others mentioned so this is my cmd:

msiexec.exe /i jre1.7.0_11.msi /qnAUTOUPDATECHECK=0 IEXPLORER=1 JAVAUPDATE=0 JU=0 MOZILLA=1
 I use /qn+ if I deploy it with user interaction for notification of when it finishes.
Posted by: jagadeish 11 years ago
Red Belt
1

Why don't you extract the msi from above exe and proceed with it..


Comments:
  • Thanks I got some info from John below on what I need to try to get this to work. - petelanglois 11 years ago
  • I used this script as a batch file, and included the offline file, and .msi as dependents in a scripted install, but it does not deploy successfully. Am I doing something wrong? - $ecurity 11 years ago
  • I've extracted the MSI and it will install silently with ease. The problem I have is that it doesn't always register with the browser and then I have to manually uninstall and reinstall Java. - GeekSoldier 11 years ago
  • This may be due to Java-related processes running at the time of the install, which is why I suggest killing them before deploying the MSI. I haven't tested to confirm this, but that would be my guess.

    John - jverbosk 11 years ago
Posted by: garza85 11 years ago
White Belt
1

Do you have to put any switch in front of the batch file name on the installation command line? Also, do you have ot include the ".bat" portion of the batch file name?


Comments:
  • You should be able to copy that right into a script in v5.4 for KACE. As a task in your script you can run a batch. It provides the space just drop in your instructions. - GeekSoldier 11 years ago
  • I just have "java7u11.bat" (no quotes) in the Installation Command field in my setup - just the name of the batch file is sufficient. Be sure to have the Configure Manually option selected.

    John - jverbosk 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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