Software Deployment Question

Trying to deploy Java 7u7 using the following .bat file

09/07/2012 8489 views

REM This will automatically close IE if open
taskkill /f /im iexplore.exe /t

REM This will install Java 7 update for IE
msiexec /i "%~dp0jre1.7.0_07.msi" /qb /norestart AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0


It works when I execute the .bat file but will not deploy via SCCM 2007. Any assistance would be greatly appreciated as I am not completely familiar with all switches. I also have the CAB file included in the folder.

Answer Summary:
0 Comments   [ + ] Show comments


All Answers


Now I have get so far that i get it to work if I accept the "License agreement" when I verify Java at java.com (You get java installed, do you want accept licens agremant)

Answered 09/10/2012 by: SaiTech
Orange Senior Belt

  • If I test the JAVA on this page http://www.java.com/en/download/testjava.jsp I get the correct version 7u7. but if I use http://www.java.com/en/download/installed.jsp
    this page I have to accept the licens agrement before show me an installed JRE 7u7.

The script itself looks correct from what I can see. To test this further I would recommend adding /l*v c:\javainstall.log to the end of the msi command. This way we can see if the install actually runs, and if it does, where it gets hung up.


Answered 09/07/2012 by: Ben M
9th Degree Black Belt

  • Thanks Ben!

    I actually just got it to work using the following in the Command Line:
    msiexec.exe /i "jre1.7.0_07.msi" /qn

    Alson with the CAB file in the folder as well.
  • Cool, glad you got it figured out.
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