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! 
Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answer Chosen by the Author

3
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.
Please log in to comment

Answers

Answer this question or Comment on this question for clarity