Scripting Question

KACE logfile

04/03/2019 487 views

Trying to install a program through kace, doesn't work, here are the relevant logfile bits:

loy:CMIPackageMgr::PreProces] KDeploy    PreprocessPackage:DownloadPackageFileFromKBOXtoKaceDLdir, verifying checksum for giga.zip

kbot[6:1287144000] @ 2019-04-03T11:49:18 (output) [2019-04-03.11:49:16][KDeploy:CMIPackageMgr::PreProces] KDeploy    PreprocessPackage:Unzip FAILED (C:\ProgramData\Quest\KACE\downloads\870\giga.zip) exit 2.

kbot[6:1287144000] @ 2019-04-03T11:49:18 (output) [2019-04-03.11:49:16][KDeploy:CMIPackageMgr::InstallSw] KDeploy    InstallSwitch (MI): package download failure, or missing 'full command' if MI is a .zip file

kbot[6:1287144000] @ 2019-04-03T11:49:18 (output) [2019-04-03.11:49:18][KDeploy:main                    ] KDeploy    ----- Ending KDeploy.exe -----

It's a zipfile with an install.bat and the exe to install.

If you call the .bat from the commandline it installs the program silently with no problems.

The only thing I found online was that the path might exceed 255 characters, which is not the case here.

Anyone have an idea?

Here's the content of the .bat file, but like I said, it works if called through cmd.


%~dp0giga.exe /S /v/qn


Answer Summary:
2 Comments   [ + ] Show comments


  • when i look in the kace download folder, there's only the zipfile and the .bat file.

    Is the .exe supposed to get unzipped too? If so, that might be the cause? Why does it not get unzipped then though..
  • Make sure prepend msiexec is not enabled. Also make sure you zipped the file with normal compression, not extreme compression.

Answer Chosen by the Author


Turns out that it doesn't work with 7zip for some reason -> "unzip unsuccessful".

If you use winrar with normal compression then it works.

Answered 04/03/2019 by: itzauberer
White Belt

  • for any zip I upload I just use the basic win 10 built in zip. Select files and right click, choose send to zip. that method has never given me a problem.

All Answers


When you click and open the zip file are all the files showing in it?  You should be able to just upload a zip and then run the bat command, nothing else needed.

this is a different software but same type of calls used:

Answered 04/03/2019 by: SMal.tmcc
Red Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ