/build/static/layout/Breadcrumb_cap_w.png

Update Java through Dell Kace, script does not execute both tasks when run

Good morning,

We're using the Dell Kace devices to deploy both operating systems and software to our client machines. We're currently trying to update software such as Java in such a way that the users won't notice it. I've created an Online Kscript with two tasks configured to do this, but it doesn't execute both tasks. Any suggestions would be greatly appreciated. If you know a better way to update the software I'm open to suggestions!

Task #1:
Verify that the directory "C:\Program Files (x86)\Java\jre1.8.0_65" exists.
On succes: not configured
Remediation: Launch "****\software\java\latest\latest.cmd" with params "".

Task #2:
Verify that the directory "C:\Program Files (x86)\Java\jre1.8.0_65" exists. 
On succes: Install "Uninstall old versions" with arguments "". 
Remediation: not configured

Basically we check if the directory for the version we want to install exists. If it does we run a .cmd file that installs this version. This works like we hoped it would. The second task is to uninstall the older versions once the directory has been detected. If the directory was not found on task #1, the software is installed but task #2 is not run. If the directory was found, task #2 will complete succesfully. I want to run this on a schedule to run 1x per week and preferably not 2x in a row to limit network/client load.

Any suggestions would be greatly appreciated!

Kind regards,
Dennis Lans


0 Comments   [ + ] Show comments

Answers (3)

Posted by: rockhead44 8 years ago
Red Belt
0
I manage my Java installs via Smart Labels. I create a Smart Label to identify machines that do not have Java 8 Update xx

I then target that Smart Label with a Managed Install. The installer runs a .bat file that is zipped up with the .msi file. I upload that installer to the Software Inventory record for the version of Java I wish to deploy. 

The .bat file uses instructions found widely here and in other places to kill tasks for all browsers, uninstall any old versions, kill browser tasks again then call the .msi
Posted by: SMal.tmcc 8 years ago
Red Belt
0
can you modify your answer to include a screen shot of the script tasks area for task 2
Posted by: taylor-madeak 8 years ago
Yellow Belt
0
Is there a reason you have chosen not to handle this with KACE patching?  The patch feeds do supply patches for Oracle products, including Java:



Comments:
  • there can be a delay in Java showing up in the patch list and you do not to wait for it to get there. I ran a Java install distribution prior to it showing in the patch list here then just disabled it when it showed - SMal.tmcc 8 years ago
    • A delay, yes, but generally only a few days to a week. - taylor-madeak 8 years ago
      • typically we try to wait for patching but had to push an update for Java and also Adobe Flash a couple of times - SMal.tmcc 8 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