Solved

How do I completely remove CounterSpy agent with VBScript?

Posted on 2008-10-03
4
848 Views
Last Modified: 2013-11-14
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
Comment
Question by:cjg1979
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:lodar123
ID: 22638945
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
 

Author Comment

by:cjg1979
ID: 22641312
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
 
LVL 5

Accepted Solution

by:
lodar123 earned 500 total points
ID: 22641723
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
 

Author Comment

by:cjg1979
ID: 22641847
Thanks, I'll look into that this afternoon.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
This script will sweep a range of IP addresses (class c only, 255.255.255.0) and report to a log the version of office installed. What it does: 1.)      Creates log file in the directory the script is run from (if it doesn't already exist) 2.)      Sweep…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now