Scripting Question

Unable To Push Zip File through KACE

08/17/2015 3297 views

I'm having some trouble pushing a zip file as a managed install through our k1000 appliance, I created an MSI package to install a Firefox browser and the msi itself works. I then created a batch file to run the msi and place a shortcut of the Firefox browser on the public desktop using a vbs script. When I run the batch file itself it works: it runs the msi and places a shortcut on the public desktop. Here is the code in the batch file:

@echo off

msiexec /i FirefoxInstall.msi /qn /norestart

echo Set oWS = WScript.CreateObject("WScript.Shell") > CreateShortcut.vbs
echo sLinkFile = "C:\Users\Public\Desktop\Firefox.lnk" >> CreateShortcut.vbs
echo Set oLink = oWS.CreateShortcut(sLinkFile) >> CreateShortcut.vbs
echo oLink.TargetPath = "C:\Firefox\Firefox\firefox.exe" >> CreateShortcut.vbs
echo oLink.Save >> CreateShortcut.vbs
cscript CreateShortcut.vbs
del CreateShortcut.vbs

Here is what I have in the managed install itself:


What happens is the push places a blank shortcut on the desktop, and nothing from the msi is installed. The msi is supposed to simply place Firefox browser files on the C drive under C:\Firefox. I'm assuming its because KACE is not properly extracting the msi packaged inside of the zip file the batch file also sits in. This push used to work, and has suddenly stopped working. I thought that KACE automatically unzips zip files if it detects any? Please advise, I'm at a loss on this one. Thanks! 
Answer Summary:
0 Comments   [ + ] Show comments


Answer Chosen by the Author

uncheck delete downloaded files to help trouble shoot.  You then should find the install under C:\ProgramData\Dell\KACE\downloads\xxx where xxx is a numbered directory that corresponds to the id of the MI.
Answered 08/17/2015 by: SMal.tmcc
Red Belt

  • Thanks for the reply. It appears that the zip file is downloaded, and both the batch file and msi package are extracted. Nothing is actually installed, although a blank Firefox shortcut is still placed on the public desktop.
    • is this a x64 machine? if so try

      start /wait c:\windows\system32\msiexec /i FirefoxInstall.msi /qn /norestart
    • it could be a problem that the MI runs as system and needs a temp dir to run your msi in. If that is so you can just zip up the firefox files in a subdirectory named firefox and use these commands in place of the MSI

      md c:\firefox
      xcopy .\firefox\*.* c:\firefox /s /y
      • Thanks for the solution, works perfectly. If it needs a temp directory to run the msi in, I just think its interesting how it worked for awhile and stopped working. But I'll use this instead of building an MSI if I dont need to.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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