/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Tg7JpS.pngHi,

I am trying to create a software package that is going to be made into a managed installation for K1000. I created a batch file to go along with the .exe and imported that into K1000's software inventory and then created the managed installation. Once pushed out to my target machine, I can see that the machine downloaded the package under C:\Programdata\quest\kace\downloads, but the package did not actually deploy. To do some troubleshooting, I tried to manually run the .exe from a cmd window with the silent switch /s, nothing happens, no tasks are created or anything. If I remove the /s, it begins the Install Shield Wizard window like it normally would simply clicking on the .exe. I tried some more parameter combinations hoping to get a different result and also created the log file.

I know it is said that this log file might not be much help, which brings me here I suppose. Here is the log file (no matter what parameters I use, this is the output:)
[InstallShield Silent]
Version=v7.00
File=Log File
[ResponseResult]
ResultCode=-5

I know that code -5 means that the file was not found, but everything is indeed there where it needs to be. I ran the batch file as well and that did nothing, so I've really just been trying to rule out different possibilities at this point. This .exe is intended to install document camera software.

I attached a screenshot. BTW, I changed the name of the file just to test if that was the problem (because under the file properties it says Setup.exe even though it was called Luna_setup.exe)

I am wondering if maybe because this is an .exe not an .msi, there is something I am doing wrong with the commands.

Thanks, Alex

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

1
First off, if the manufacturer of the exe file did not provide a silent switch then you may struggle to install the application silently. 

Second off, why did you not just connect the exe file to the software item to use in the managed installation, is it because you also need additional files to complete the installation?

If that is the case wrap up all the files you need in a compressed zip file, make sure it is called xxxx.zip and is created using a proprietary zip application i.e. winzip or 7zip and then attach the zip file to the software item to create the managed installation. The command line in the managed installation only needs to be xxx,exe with any switches you can apply. 

KACE will then download the zip file, unpackage it into a temp location on the target and then run the command line.
Answered 06/29/2018 by: Hobbsy
Red Belt

  • Yeah I don't think this is going to install silently. I just created a test software item with just the executable and then tried to add the silent switch on the managed install detail page, it still doesn't install. Remove the silent switch, the installshield window will appear as normal. and install fine. I went the route where I have the batch file do all of the execution out of habit, I have struggled with KACE's default installation/override parameters option in the past with other packages.
    • if the provider of the exe don't provide a silent option (it would the second software I am aware of, the first is VeraCrypt) the most effective way would the AppDeploy Repackager:
      https://www.itninja.com/community/dell-kace-appdeploy-repackager

All Answers

0
If the installer is InstallShield-script based, it will require an ISS file in order to run silently. I won't document how this is done, as there are quadzillion examples available.

Be aware, however, that (too) many vendors don't test their installers in every scenario so it's easy to end up with an ISS that doesn't handle every dialog and/or every item/option on those dialogs. In these cases, you'll need to repackage.

Oh and you can ignore the advice that the installer will use the file 'setup.iss' if it sees it alongside the set-up EXE. I've had too many instances of that simply not being the case that I *always* specify the name of and path to the ISS.
Answered 07/02/2018 by: VBScab
Red Belt