/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Java Not installing

09/21/2016 862 views
I have looked through the forms for awhile, and cant seem to get this to work.  I am running KScript with WMIC commands to uninstall old versions of java.  I am then trying to install the latest version of java with a dependency.  This is the line that I have, nothing is getting installed.  BUT the uninstall parts of the script work. 

Launch  $(KACE_DEPENDENCY_DIR)\c:\windows\system32\msiexec.exe with params /i Java%208.101_x32.msi INSTALL_SILENT=1 AUTO_UPDATE=0 WEB_JAVA=1 /qn”.

Any help would be appreciated. 
1 Comment   [ + ] Show comment

Comments

  • This content is currently hidden from public view.
    Reason: Removed by member request For more information, visit our FAQ's.
  • Here : $(KACE_DEPENDENCY_DIR)\c:\windows\system32\msiexec.exe
    I'm not sure that c:\windows\system32\msiexec.exe is under the KACE_DEPENDENCY_DIR

    Shouldn't it be :
    Launch “c:\windows\system32\msiexec.exe” with params “/i $(KACE_DEPENDENCY_DIR)\Java%208.101_x32.msi INSTALL_SILENT=1 AUTO_UPDATE=0 WEB_JAVA=1 /qn”.


Community Chosen Answer

1
Someone else had the same issue a few days ago, the problem was with the command line, you can't use set the AUTO_UPDATE property and have it work with the SYSTEM account - go figure.

Use a transform as that should fix it or what VBScab suggested.
http://www.itninja.com/question/deploying-java-8-update-101-with-sccm
Answered 09/21/2016 by: rileyz
Red Belt

All Answers

This content is currently hidden from public view.
Reason: Removed by member request For more information, visit our FAQ's.
0
Answered 09/21/2016 by: SMal.tmcc
Red Belt

  • This does not work. Runstatus shows stuck on running.
    • make sure the msi is being copied to the client script repository
      • Thank you for the fast replies! It is listed as a dependency on the script. Is there another way to check?
      • on the main script page point your mouse at the script name and look at the lower left corner of the browser and you will see the script id. go to the machine it is failing on and look in C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\### where ### is the number of the script and the msi should be there.
      • 32bit and 64bit is being copied to the directory
        Still not being installed.

        Agent Command Que

        Run Process [6, 0] runkbot 494 1474492165r2 0;; 0000-00-00 00:00:00 Received
 
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