ArcGIS Desktop – How to Uninstall Any and All ArcGIS Products

arcgis-desktoparcgis-platforminstallation

What it is the simplest and most straightforward way to uninstall any and all ArcGIS products more or less in one go that might be present on a Windows machine? perhaps scriptable?

Add/Remove Programs from the Control Panel is straightforward, but when there a several products installed it's a process of click-click-click, wait for product 1 to be uninstalled, which could take some time, then click-click-click for #2, and so on. This is okay for one machine but when there are several it's real pain.

Best Answer

I do it with a batch file. You could write the code below as a single line, or by updating locations you could create a loop of paths/installers.

SET INSTALL_PATH=\\myNetworkShare\InstallerLocation\

MSIEXEC.EXE /X %INSTALL_PATH%\setup.msi /QB

The following KB articles provide a good starting place:

Install/Uninstall using Batch files

Silent Uninstall

Edit: just to clarify, using the 2nd article, you can use the GUID, so then you dont need to reference the original installer. I guess one method will make more sense for your script/batch file

Related Question