/build/static/layout/Breadcrumb_cap_w.png

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

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.


0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: SaiTech 11 years ago
Orange Senior Belt
0

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)


Comments:
  • 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. - SaiTech 11 years ago
Posted by: Ben M 11 years ago
9th Degree Black Belt
0

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.

 


Comments:
  • 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. - Degra 11 years ago
  • Cool, glad you got it figured out. - Ben M 11 years ago
 
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