| | | Junior 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... |
| | | | New 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.
|
| | | | Junior 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... |
| | | | 
Senior Forum Moderator
         
Group: Moderators Last Login: 8/9/2008 10:14 AM Posts: 29,548, Visits: 54,734 |
| | |
|
|