/build/static/layout/Breadcrumb_cap_w.png
03/22/2018 528 views
I have a Script batch file that removes all version of Adobe Reader DC. I also have a Script that installs Adobe Reader DC 18 and then a Script that loads the latest patch MSP file to bring Adobe Reader DC to the latest patch level. Independently they work fine, but if I combine them into one Offline KScript by adding each as a new step on the On Success section of a Task, it only uninstalls the older versions of Adobe Reader DC and then stops. It shows Successful in the Run Now Status, and downloads the install files, but just stops with no error or message.

What is the secret to combining Scripts together and make one nice Script file, that does it all at once, to get all my users on the same version of Adobe Reader DC?

P.S. I am new to KACE 1000 and learning as I go. I appreciate the help!

1 Comment   [ + ] Show comment

Comments

  • I forgot to mention that when the combined Script stops, it never gets to the second phase of the script that actual installs the Adobe Reader DC version 18. It only runs the batch file that removes the Adobe Reader


Community Chosen Answer

1
After talking with Quest support, they pointed me to the "Add Task" option at the bottom of Task 1, and create a new Task for each job. That seemed to do the trick for me.
Answered 03/22/2018 by: amrjohnson
White Belt

All Answers

0
A way to hack this together without duplicating scripts/steps is to invoke runkbot to call scripts within scripts. You can call any script by using "Launch a program...", set "Directory" as "$(KACE_APP_DIR)", set "File" as "runkbot.exe" (or just "runkkbot" for Mac) and in parameters put "{script id} 0" (the zero means "get the latest version of this script"). This is not the most elegant solution but it works. 
Answered 05/16/2018 by: JasonEgg
Red Belt

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