How to use batch files to install software in KACE K1000 ?
02/28/2018 2392 views
Ok so I am new to KACE. I've been using SCCM and manually creating installation packages, most of which use batch files to make additional changes/customizations for our environment. An example that I'm working on right now is VLC Player 2.2.8. I use a batch file to install it and then delete the desktop icon. How would you do this in KACE? I've read some other threads and I haven't understood them all that well. Some people say "just zip it and use managed install" but can someone explain all the steps to actually do that and then how to tell KACE to run the batch file, if that's the answer? Or there is another way you can run an exe or msi + add additional command prompt commands? Thanks!
Answer Chosen by the Author
Please log in to answer
Here is my general process for creating a managed install:
- Create your batch file to perform all of the installation steps.
- Place the batch file in the same folder as all necessary installer files (e.g. the VLC installer)
- Run the batch file on a test machine and verify that it installed correctly
- Force an inventory update on the test machine
- Find the new software title in the test machines list of installed software
- Select the installation files (e.g. your batch file and other necessary files like the installer) and place them in a zip file.
Note, it is important that you select the files and not the folder containing the files. If you select the folder containing the files, the extracted zip file will contain that folder structure and this makes the paths more complicated.
- Upload the zip to the software title
- Create a new managed install by selecting the appropriate software title
- Set the installation command appropriately. For an install that uses a batch file, select Override default installation, enter the name of your batch file, and check the "Don't prepend msiexec.exe" box.
Answered 03/02/2018 by: chucksteel