[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 860
  • Last Modified:

How do I completely remove CounterSpy agent with VBScript?

I'm attempting to write a VBScript to do a "complete removal" of the CounterSpy agent from some remote machines.  The problem I have is that the default option is not complete removal.  All of the script executes great, but when the reinstallation of the new Vipre client happens, it installs CounterSpy because it didn't completely remove it in the first place.  Simply doing a quiet uninstall chooses the default options on the uninstall, and does not perform the complete removal.  Is there a way to choose a different option in VBScript or specifically modify the MSI so that the default option is a complete removal?
0
cjg1979
Asked:
cjg1979
  • 2
  • 2
1 Solution
 
lodar123Commented:
not really, though if you know what is needed to be removed after the uninstall, you can remove it manually through the script.. like registry entries or files etc.
Also if its a MSI, you can create a MST file that gives instruction for the MSI to follow.
0
 
cjg1979Author Commented:
I like your idea of creating an MST.  Hadn't thought about deleting registry entries manually.  What utilities are good for creating MST files?  
0
 
lodar123Commented:
I'd suggest that you start with the MSDN help files

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/applying_transforms.asp
MST are created via the Orca tool from the Windows Installer SDK
0
 
cjg1979Author Commented:
Thanks, I'll look into that this afternoon.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now