/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


How do I add new software executable to the KACE_Install directory?

04/04/2017 954 views
I have an existing script and want to create a new one.
0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1

In our environment, we ZIP up the EXE files (and any associated/needed files with it) and inside the script, we attached it via the Dependencies.  From there, we can use a Task to run a batch file to execute the EXE/MSI with parameters and KACE should run it form the KBOT folder where the Zip files reside. 

However I have seen many times where the task to run the batch file tries to execute before the zip file has completed it's upload (Mostly on slow network connections), so I will add a task before the batch file to Unzip a file.  For the directory, I use $(KACE_DEPENDENCY_DIR)

That will take the file directly from the KBOT folder the ZIP file uploads to.  Then I have it unzip it into a Sub folder on the C: (For example C:\AppInstalls) and use the batch file to call the EXE/MSI from that folder. 

This seems to work very well for us and it makes a good troubleshooting step if the script doesn't appear to be running by verifying the file exists in the folder. 

Answered 04/04/2017 by: DaveMT
4th Degree Black Belt

All Answers

0
If you have the software and your script (batch file or what?) you can zip them together and upload the zip file as a new script as a dependency

From there you can call your batch (for example) and have that execute your executable. With both being zipped, they will unzip within C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots and execute. 

Or, you could upload the zipped file as a new software record and create a Managed Install that calls the dsoftware record and executes. 
Answered 04/04/2017 by: rockhead44
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

 
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