/build/static/layout/Breadcrumb_cap_w.png

Unable To Push Zip File through KACE

Hi,

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:

vYOhWO.png

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! 

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: SMal.tmcc 9 years ago
Red Belt
3

Top Answer

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.

Comments:
  • 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. - PancakeScene 9 years ago
    • is this a x64 machine? if so try

      start /wait c:\windows\system32\msiexec /i FirefoxInstall.msi /qn /norestart - SMal.tmcc 9 years ago
    • 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 - SMal.tmcc 9 years ago
      • 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. - PancakeScene 9 years ago
 
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