• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

How to uninstall an application on LAN clients over the network.

What we are looking for is a script that will allow us to uninstall an application on all connected LAN clients. For the purpose of this question, I will use WinZip as an example. The end result would be that every installation of WinZip could be detected and uninstalled without the end user being able to stop it or even know that anything is going on.
0
ETC_IT
Asked:
ETC_IT
  • 6
  • 4
1 Solution
 
FriarTukCommented:
generally i use tweakui to get the uninstall routine of the pgm, then add to the login script something like:

if exist  "C:\PROGRAM FILES\WINZIP\WINZIP32.EXE"  "C:\PROGRAM FILES\WINZIP\WINZIP32.EXE" /uninstall
0
 
ETC_ITAuthor Commented:
I looked at TweakUI but saw nothing about getting the uninstall routine of an application. The ideal way would be to have a user login script that would run the native "Uninstall WinZip" option that is in the Start>All Programs>WinZip folder. I'm not experienced in creating these logon scripts (VBS would be best), which brings me to EE for feedback.
0
 
FriarTukCommented:
the native (add/rem) uninstall for winzip is the same uninstall information listed in the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinZip
which is the same as the 2nd part of what i listed after seeing if it exists on that pc first
"C:\Program Files\WinZip\WINZIP32.EXE" /uninstall
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
FriarTukCommented:
sorry, tweakui for 98 did list uninstall info but i guess MS$ left that out on the xp version
0
 
ETC_ITAuthor Commented:
http://www.experts-exchange.com/help.jsp#hi63

I haven't had the time to test this yet. Other things came up that trump this issue. If I am in any way a waste of your time, please let me know.
0
 
FriarTukCommented:
no I don't mind, but if you don't check back weekly or every 2 weeks, EE may close your question for you - so when you get a chance let me know
0
 
ETC_ITAuthor Commented:
Would putting the ["C:\Program Files\WinZip\WINZIP32.EXE" /uninstall] in the logon script field of a users Active Directory account be the right way to admin this over my network? I'm not very familiar with logon/off scripts, hence the question.
0
 
FriarTukCommented:
i would use it in a batch file, then add it to the login script

if you want to make sure it exists first, before trying to uninstall, otherwise it will run the uninstall everytime a user logs in

copy that line & test it as it on a pc with winzip installed, if it works, then try putting it into a batch file & test it in a script
0
 
ETC_ITAuthor Commented:
Thanks for your help....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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