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.
Answers (2)
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 12 years ago
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.