I created a script .VBS to remove Zango and Shopping Report. It first kills the processes I have in the applist, then deletes files, then subfolders up to the main folder. It works great but to delete Zango, I need to run it twice. It deletes some files but not all untill the next round. Any ideas?
appList = "iexplore.exe,Weather.exe,ZangoSA.exe,OEAddon. exe"
For Each app In Split(appList, ",")
Set objProcs=GetObject("winmgmts:\\.\root\cimv2").Exec Query("select * from Win32_Process where Name='" & app & "'")
For Each process In objProcs
process.Terminate
Next
Next
on error resume next
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\arrow.ico")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\CntntCntr.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\copyright.txt")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\CoreSrv.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\HostIE.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\HostOE.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\HostOL.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\link.ico")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\OEAddOn.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\Srv.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\Toolbar.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\Wallpaper.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\Weather.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\WeSkin.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\ZangoSA")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\ZangoSADF.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\ZangoSAHook.dll")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\ZangoUninstaller.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\firefox\extensions\chrom e.manifest")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\firefox\extensions\insta ll.rdf")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\firefox\extensions\compo nents\npclntax.xpt")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\Zango\bin\10.3.75.0\firefox\extensions\plugi ns\npclntax_ZangoSA.dll")
Dim FSO, Folder
set FSO=CreateObject("Scripting.FileSystemObject")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\ShoppingReport\Uninst.exe")
Set objFSO = CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile("C:\Program Files\ShoppingReport\Bin\2.5.0\ShoppingReport.dll" )
Folder="C:\Program Files\ShoppingReport\Bin"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\ShoppingReport"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango\bin\10.3.75.0"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango\bin"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango\bin\10.3.75.0"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango\bin"
FSO.DeleteFolder(Folder)
Folder="C:\Program Files\Zango"
FSO.DeleteFolder(Folder)