/build/static/layout/Breadcrumb_cap_w.png

How can I combine mutiple Scripts into one

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
  • 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 - amrjohnson 6 years ago

Answers (2)

Posted by: amrjohnson 6 years ago
White Belt
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.
Posted by: JasonEgg 5 years ago
Red Belt
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. 

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