Symptom: Trying to use the “Install a Software Package step” in a script and the software doesn’t install.
The following script output showed it tried to execute a zip file from a specific sofware package:
Installing: cd 'C:\Program Files\KACE\KBOX\downloads\726\unzipped'; 'Nx040kbox.zip' '';
Using the "Install a Software Package" in a script uses a specific Software Package to deploy to the client machine.
The "gotcha" is if the files are zipped up, the install arguments for the installation must be specified in the script step in order for the installation to work.
For Example, trying to install TextPad5.0.3 package:
1. If the files for TextPad 5.0.3 are not zipped up in the attachment of the Software Package, it can run the Install a Software Package without any arguments.
2. But, if the installation files are zipped up the into the file: TextPad5.zip, it will unzip the file or files into the download directory, but it will not be able to execute the installation until the installation argument is input:
Example: To install the TextPad5 using msi command
msiexec /i TextPad5.msi
So in the script step of using "Install a Software Package", the “Install Args” needs to be entered.
So, for this example, enter "msiexec /i TextPad5.msi" for the "Install Args" parameter