Sunday, 27 May 2018

Uninstalling ArcGIS extensions from earlier version after ArcGIS upgraded?


I uninstalled ArcGIS 9.3.1 (server, desktop, engine), then installed ArcGIS10.0 (Server, Desktop, engine).


When I tried to uninstall some arcmap extensions, I got error 1001 "unable to get installer types".


In other words, I forgot to heed this advice:



Please note that you must uninstall the custom component before you attempt to uninstall ArcGIS. The reason for that is that custom components need to loaded at install/uninstall time.



Does anyone know how to cleanly uninstall this without uninstalling 10.0 and reinstalling 9.3.1?



Update: I think I've cleaned things up using Revo Uninstaller, then cleaning the registry using CCleaner.



Answer



I'd second Mapperz suggestion of the Revo-Unistaller, as with the defunct COM Explorer, the freeware version will get the job done. But the Pro version gets routinely updated and while it will work in trial mode, it is such a useful tool you should probably purchase it to have available. http://www.revouninstaller.com/download-professional-version.php


If the 3rd party extensions with ArcGIS version dependencies that you are interested in removing laid down registry entries correctly you should be able to track the components manually in the registry edits.


Do a registry backup first and then start by disabling any orphaned services from the extensions.


I'd start looking the HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall


You want the Product Code CSLIDs listed as Product Code or in the UnistallString, and make a note of any other associated CSLIDs


If the package install was MSI based try to uninstall with the indicated msiexec /x for the Product Code's CSLID. If the installer is intact--everything should come off cleanly.


If extension was not MSI based, see if installer executable is intact and when executed has an uninstall option and run it.


Unfortunately, if either installer is corrupted (missing components from the extension or from the ArcGIS uninstall/upgrade) you'll only achieve a partial removal and with the list of CSLIDs you'll need to chase things down manually in the registry and the file system and doing deletions as you go.



The Revo-Unistaller reliably automates most of this.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...