/build/static/layout/Breadcrumb_cap_w.png
04/03/2019 234 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.


@ECHO OFF

%~dp0giga.exe /S /v/qn


Thanks!


Answer Summary:
2 Comments   [ + ] Show comments

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

0

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

1

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