WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

How To
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Uninstalling Software


Question:

I would like to uninstall a software(not installed with an MSi, manually installed by clicking setup.exe). so uninstall from add/remove programs. I do not want to use the down keys to select the program, because it will differ from machine to machine. IS there a way to pass the application name to be removed.

Answer:

Try this
AddExtender("WWWNT34i.DLL")
if DirExist ("C:\Program Files\Adobe\Photoshop 7.0") then Run("msiexec", "/X{E9EFEAA2-CF2E-43C7-92A3-8AFEB10140C5} /qn") 
You will need to go into the regedit and goto HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ locate the app that you want to uninstall and use the information from within the UninstallString.

Or check out: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/Installation~Licensing~Setup+Add~Remove~Programs~Example.txt


Article ID:   W16483
File Created: 2014:07:18:09:51:38
Last Updated: 2014:07:18:09:51:38