Create KACE Managed Installation using a ZIP folder
I am looking to install larger programs from a ZIP file using a managed install. Revit is the specific program I have been testing. I cannot figure out what the proper syntax is for how to create a managed install from the ZIP file. I tried various different commands and I could not get it to run the install. Any feedback would be much appreciated.
Answers (4)
What I have done with a ZIP Managed Install is include the install script / bat file in the ZIP. Then have the Managed install call the script / bat file using the override default installation option. see screenshots below for example
EDIT: just incase, In the past I would create a new software entry (Inventory > Software > Choose action > new) and upload the ZIP package first. Then create the Managed Install which would allow me to select the software. Not sure if maybe you missed that part or if it makes a difference trying to upload it directly from Managed installations
Just a side note, when we train customers to create zip based managed installations we remind them of the following. Always create the zip file using a proprietary zip program i.e. 7zip, or winzip or similar, never use a windows compressed folder.
Second, always name the zip file with a .zip extension, as KACE then knows that it has to unpack the zip before running the command line.
Finally make sure the structure of the zip file has all the files in the correct directory structure i.e. the setup or install file at the top level and whatever files it needs are also in the default positions that the install file knows.
I have had success doing exactly what TheITNooB above has outlined - it was just a bit counter intuitive to call the install bat from within the zip and not say folder\install.bat...
Having said that, when things get a little more complicated for an install and I need to do more, scripting is a great way to go about it. You could extract a zip locally to the machine and then have a bat run to install all while logging your success in-between or routing the tasks in another direction if something fails. And all this is achieved fairly easily and quick with an online kscript.
I get that sometimes it is nice to have all software installs in the MI, but I just like the extra functionality of using the scripting section.