How do I add new software executable to the KACE_Install directory?
Answers (2)
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.