(imported topic written by PKLumos)
Long story short, I have a program running on a few hundred box that I need to upgrade. However, prior to upgrading I need to uninstall the old version as an in-place upgrade will not work. All Office apps must not be running for either of these steps to occur as some integration features are involved. When I first set out to do this, I simply wrote a batch file to test the process on a local machine. That batch file is as follows:
echo off
taskkill /IM winword.exe
taskkill /IM excel.exe
taskkill /IM outlook.exe
taskkill /IM powerpnt.exe
taskkill /IM msaccess.exe
wmic product where name=“IQ Client” call uninstall /nointeractive
“C:\Program Files\Softland\novaPDF OEM 7\unins000.exe” /verysilent
msiexec /i client.msi /quiet ADDLOCAL=OfficeConnectorFeature,IQDesktopFeature,IQPrinterFeature,ExplorerConnectorFeature
This worked perfectly.
However, when attempting to deploy this via TEM I am getting a “Succeeded” result…but it’s not uninstalling the old versions at all, nor is it installing the new version.
My action script looks like this:
download http://XXXXXXXX.XXXXXXXX.XXX:52311/Uploads/56ad82cd3f5223ba24de12c961e918bfa4a5efd7/IQ11.tmp
continue if {(size of it = 17464524 AND sha1 of it = “56ad82cd3f5223ba24de12c961e918bfa4a5efd7”) of file “IQ11.tmp” of folder “__Download”}
extract IQ11.tmp
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM winword.exe
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM excel.exe
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM outlook.exe
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM msaccess.exe
waithidden “{pathname of client folder of site “BESSupport”}\taskkill.exe” /F /IM powerpnt.exe
waithidden “{pathname of system folder & “\cmd.exe”}” /c wmic product where name=“IQ Client” call uninstall /nointeractive
waithidden “{pathname of system folder & “\cmd.exe”}” /c “C:\Program Files\Softland\novaPDF OEM 7\unins000.exe” /verysilent
wait “{pathname of system folder & “\msiexec.exe”}” /i “{(pathname of client folder of current site) & “__Download\client.msi”}” /quiet ADDLOCAL=OfficeConnectorFeature,IQDesktopFeature,IQPrinterFeature,ExplorerConnectorFeature
All the taskkills work properly, but anything past that seems to run according to the logs on the client PC…but they never actually do anything.
The logs state:
At 13:29:34 -0400 -
ActionLogMessage: (action 275) Non-Distributed - DownloadsAvailable
ActionLogMessage: (action 275) starting action
At 13:29:34 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Using download manager collected file) download http://XXXXX.XXXXXXXX.XXX:52311/Uploads/56ad82cd3f5223ba24de12c961e918bfa4a5efd7/IQ11.tmp (fixlet 275)
At 13:29:47 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (evaluated true) continue if {(size of it = 17464524 AND sha1 of it = “56ad82cd3f5223ba24de12c961e918bfa4a5efd7”) of file “IQ11.tmp” of folder “__Download”} (fixlet 275)
At 13:29:49 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded extract IQ11.tmp (fixlet 275)
Command started - waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM winword.exe (fixlet 275)
At 13:30:19 -0400 -
Report posted successfully.
At 13:30:20 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=128) waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM winword.exe (fixlet 275)
At 13:30:21 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command started - waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM excel.exe (fixlet 275)
At 13:30:29 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=128) waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM excel.exe (fixlet 275)
Command started - waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM outlook.exe (fixlet 275)
At 13:30:30 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=128) waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM outlook.exe (fixlet 275)
At 13:30:31 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command started - waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM msaccess.exe (fixlet 275)
Command succeeded (Exit Code=128) waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM msaccess.exe (fixlet 275)
Command started - waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM powerpnt.exe (fixlet 275)
At 13:30:38 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=128) waithidden “C:\Program Files\BigFix Enterprise\BES Client__BESData\BES Support\taskkill.exe” /F /IM powerpnt.exe (fixlet 275)
At 13:30:39 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command started - waithidden “C:\windows\system32\cmd.exe” /c wmic product where name=“IQ Client” call uninstall /nointeractive (fixlet 275)
At 13:30:43 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=0) waithidden “C:\windows\system32\cmd.exe” /c wmic product where name=“IQ Client” call uninstall /nointeractive (fixlet 275)
At 13:30:50 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command started - waithidden “C:\windows\system32\cmd.exe” /c “C:\Program Files\Softland\novaPDF OEM 7\unins000.exe” /verysilent (fixlet 275)
At 13:30:51 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=1) waithidden “C:\windows\system32\cmd.exe” /c “C:\Program Files\Softland\novaPDF OEM 7\unins000.exe” /verysilent (fixlet 275)
At 13:30:52 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command started - wait “C:\windows\system32\msiexec.exe” /i “C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite__Download\client.msi” /quiet ADDLOCAL=OfficeConnectorFeature,IQDesktopFeature,IQPrinterFeature,ExplorerConnectorFeature (fixlet 275)
At 13:30:53 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Command succeeded (Exit Code=1603) wait “C:\windows\system32\msiexec.exe” /i “C:\Program Files\BigFix Enterprise\BES Client__BESData\actionsite__Download\client.msi” /quiet ADDLOCAL=OfficeConnectorFeature,IQDesktopFeature,IQPrinterFeature,ExplorerConnectorFeature (fixlet 275)
At 13:30:54 -0400 -
ActionLogMessage: (action 275) ending action
At 13:30:54 -0400 - actionsite (http://XXXXX.XXXXXXXX.XXX:52311/cgi-bin/bfgather.exe/actionsite)
Not Relevant - Software Distribution - Deploy: ImaqeQuest V11 Deployment (fixlet:275)
At 13:31:26 -0400 -
Report posted successfully.
At 13:36:41 -0400 -
Report posted successfully.
It appears that it’s getting hung up on my 2 uninstall lines, which prevents the installation of the new version from taking place. Any ideas? I’m new to fixlet authoring and am struggling a bit here. Thanks.