(imported topic written by rdamours91)
Just wondering what is th best way to see if my uninstall is successful…and to see if I’m writing the fixlet like a monkey.
I’ve got a task written to uninstall Quickbooks Basic Edition 2003 targeting XP and 2000 PC’s and meet the following criteria
Here is the relevence…should execute if it’s true
(name of operating system = “Win2000” OR name of operating system = “WinXP”) AND Exists key whose (value “DisplayName” of it as string contains “QuickBooks Basic Edition 2003”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry
The action is the following. The run command is a executable that will execute and stay in memory to push mouse clicks to this busted Intuit uninstall that follows.
download http://bigfix.epsb.ca:52311/Uploads/6211b2b205051b69539d71b8b542b32a1ad422fd/big12A.tmp
continue if { (size of it = 178109 and sha1 of it = “6211b2b205051b69539d71b8b542b32a1ad422fd”) of file “big12A.tmp” of folder “__Download”}
extract big12A.tmp
Run __Download\2003BASICUNINSTALLKEYS.exe
Wait {value “UninstallString” of key whose (value “DisplayName” of it as string contains “QuickBooks Basic Edition 2003”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry}
My custom success criteria is the following…which should be false when the action is successful
Exists key whose (value “DisplayName” of it as string contains “QuickBooks Basic Edition 2003”) of key “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall” of registry
Just wondering if I should be checking the existence of the uninstallstring for a successful uninstall or is there a better way…or am I on the right track.