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

Comments

Please log in to comment

Answers

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
Answered 11/30/2015 by: rockhead44
Tenth Degree Black Belt

Please log in to comment
0
can you modify your answer to include a screen shot of the script tasks area for task 2
Answered 11/30/2015 by: SMal.tmcc
Red Belt

Please log in to comment
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:


Answered 11/30/2015 by: taylor-madeak
Yellow Belt

  • 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
    • A delay, yes, but generally only a few days to a week.
      • typically we try to wait for patching but had to push an update for Java and also Adobe Flash a couple of times
Please log in to comment
Answer this question or Comment on this question for clarity

Share