Problems installing a .msi with a .bat file KACE
Answers (7)
start /wait wmic product where "name like 'Aspera Connect 3%%'" call uninstall
echo "%cd%" > C:\Temp\kacelog.txt
start /wait c:\windows\system32\msiexec /i "AsperaConnect-ML-3.6.1.111228.msi" /qn ALLUSERS=1
Comments:
-
They are. Ill try adding start /wait when I'm back at work on monday, thanks. - Leffe 9 years ago
Comments:
-
Tried this, unfortunately no luck. Thanks anyway :) - Leffe 9 years ago
I have deployed so many versions of Aspera Connect by using msiexec /i"AsperaConnect-ML-X.X.X.msi" /qn ALLUSERS=1 in Kace Managed Installations. However, I had trouble deploying version 3.6.1.111228.msi. At the end this is what I did to successfully deploy it.
Ran the following Online KScript to clean up failed installations.
Run As: Local System
Attach dependency AsperaCleanup.bat
@ECHO OFF
cls
TITLE Aspera Connect Cleanup
wmic product where "name like 'Aspera%%'" calluninstall /nointeractive
exit
Task 1
Verify:
Verify that the directory “$(KACE_DEPENDENCY_DIR)”exists.
On Success
Launch “$(KACE_DEPENDENCY_DIR)\AsperaCleanup.bat”
Created a Custom Inventory rule in Software.
Software Name: Aspera Connect 3.6.1.111228 (Custom)
FileExists(C:\Program Files (x86)\Aspera\AsperaConnect\lib\3.6.1\npasperaweb_3.6.1.111228.dll)
Attached File: AsperaConnect-ML-3.6.1.111228.msi
Managed Install (With user logged in)
Override Default Install>
Select Don't Prepend msiexec.exe
Full Command Line:
msiexec.exe /i AsperaConnect-ML-3.6.1.111228.msi WIX_APP_FOLDER=WixPerMachineFolder ALLUSERS=1 REBOOT=REALLYSUPPRESS /qn