(imported topic written by slybel)
Good morning all.
Hi to Brolly. We had training last January of this year up north in Canada!
Here’s our problem. We need to uninstall 3rd party applications that do not have MSIs. The MSIs with msts are easy to uninstall. I have looked everywhere… sites, forums etc…
Here’s what we have right now.
TASK: _Deploy Entrust 7.0 - QA
Actions:
download http://server/Uploads/0a5252791acea6608cad57debb3fbccf3e901ecd/big20.tmp
continue if { (size of it = 16221203 and sha1 of it = “0a5252791acea6608cad57debb3fbccf3e901ecd”) of file “big20.tmp” of folder “__Download”}
extract big20.tmp
wait __Download\EntrustSetup\Entrust7.exe /s
Relevance:
(name of operating system = “WinXP”) AND TRUE AND (exists file “msiexec.exe” of system folder) and (not exists file “entell50.exe” whose (version of it = “7.0.0.548”) of folder “C:\Program Files\Entrust\Entelligence” )
This works like a charm.
But here is the not working uninstall:
TASK: _Uninstall Entrust 7.0 - QA
Actions:
download http://server/Uploads/0a5252791acea6608cad57debb3fbccf3e901ecd/big20.tmp
continue if { (size of it = 16221203 and sha1 of it = “0a5252791acea6608cad57debb3fbccf3e901ecd”) of file “big20.tmp” of folder “__Download”}
extract big20.tmp
wait {(value “UninstallString” of keys whose (exists value “displayname” of it AND value “displayname” of it as string as lowercase contains “entrust” AND exists value “UninstallString” of it) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry as string) & " /uninst"}
Relevance:
(name of operating system = “WinXP”) AND TRUE AND (exists file “msiexec.exe” of system folder) and (exists file “entell50.exe” whose (version of it = “7.0.0.548”) of folder “C:\Program Files\Entrust\Entelligence” )
qna:
q:(value “UninstallString” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Entrust” of registry)
A: C:\WINDOWS\etuninst.exe
T: 0.094 ms
I: singular registry key value
And the same goes for this application as well:
Task: _Uninstall FirstClass 8.0 - QA
Actions:
download http://server/Uploads/664b0532f793b2af911204c048c377a0e383d548/big102.tmp
continue if { (size of it = 5952303 and sha1 of it = “664b0532f793b2af911204c048c377a0e383d548”) of file “big102.tmp” of folder “__Download”}
extract big102.tmp
wait RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\09\01\Intel32\Ctor.dll,LaunchSetup “C:\Program Files\InstallShield Installation Information{5B35C417-2649-11D6-83D1-0050FC01225C}\Setup.exe” -l0x9 -uninst
qna:
q: value “UninstallString” of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{5B35C417-2649-11D6-83D1-0050FC01225C}” of registry
A: RunDll32 C:\PROGRA~1\COMMON~1\INSTAL~1\PROFES~1\RunTime\09\01\Intel32\Ctor.dll,LaunchSetup “C:\Program Files\InstallShield Installation Information{5B35C417-2649-11D6-83D1-0050FC01225C}\Setup.exe” -l0x9 -uninst
T: 0.102 ms
I: singular registry key value
thank you !!!