how to uninstall software through script or batch file
 
  Tweaks.com
 Home    Members    Calendar    Who's On        Main Site
 




how to uninstall software through script or...Expand / Collapse
Author
Message
Posted 11/14/2008 6:30 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/8/2008 9:05 AM
Posts: 241, Visits: 550
how to uninstall software through script or batch file...

I want to uninstall like google talk some tool bars etc...

Please help me...
Post #245344
Posted 11/14/2008 9:28 AM
New Member

New MemberNew MemberNew MemberNew MemberNew MemberNew MemberNew MemberNew MemberNew MemberNew Member

Group: Forum Members
Last Login: 11/14/2008 9:10 AM
Posts: 1, Visits: 0
Silently uninstalling through a script is easy only if the vendor included a silent switch for their uninstall routine.

Good places to find the uninstall string is to look for the uninstall registry entry for the application, if it exists.

HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
NOTE: Some groups will actually include their silent uninstall string in here!

Look at the install routine, see what application was used to create teh installation program and see if there are any published uninstall switches.

The AppDeploy web site has good information as well.

Look through Microsoft's MSI articles on command line switches. Little annoyances with MSIEXEC like:
REBOOT=ReallySuppress (WHY?! If I say suppress just suppress it already!)
Must supply the GUID instead of the application name sometimes.

Also, you can sometimes uninstall parts of something by the GUID when you only want to remove specific things.

Look at the Wise and InstallShield application knowledgebases for command line switches.

Your fallback is to use things like Script-O-Matic to automate a manual uninstall process. Can you anticipate every possible response required? Maybe.

Or dig deeper to see exactly what was installed, configured, added to the registry, registered as DLLs, WMI, services, etc and manually roll your own uninstaller. Ugly.

Also, don't forget to log what is going on in your script as well as log the uninstall. A good thing to log is the ErrorLevel value returned after a process.

Post #245359
Posted 11/19/2008 6:24 AM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/8/2008 9:05 AM
Posts: 241, Visits: 550
If user has installed in other drive its difficult to search. so I want strict procedure to uninstall the software regardless on which partition its installed..

please some body help me...
Post #245499
Posted 11/19/2008 6:45 AM


Senior Forum Moderator

Senior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum ModeratorSenior Forum Moderator

Group: Moderators
Last Login: 8/9/2008 10:14 AM
Posts: 29,548, Visits: 54,734
You might want to consider using a third party application to do the job,but they're not free:

PC Network Deploy:
http://www.remotepctools.com/pc_network_deploy/features.html

NetStaller:
http://www.net-staller.com/index.html


_______________________________________________


ASAP & UNITE member since 2006





Spreadfirefox Affiliate Button Get Thunderbird!
Post #245500
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse

All times are GMT -6:00, Time now is 4:49pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.076. 12 queries. Compression Enabled.