今天想把本机的ArcGIS的版本从9.2更新到10.1。安装软件已经搞到手了,于是开始卸载ArcGIS 9.2 。
一开始是采用手动卸载,即删除文件目录和注册表等等。但在安装ArcGis10.1的时候总是说本机存在更低的9.2版本,不能安装。
采用他自带的版本呢卸载工具是一直报错,可能是有哪个地方没有卸载干净,但能找的地方都找了,于是想直接删除安装记录,使他检测不到以前的版本。在网上下载了一个叫 Windows Installer Clean Up 的工具来清除安装记录。
在安装记录里删除了9.2版本记录成功后,再次打开ArcGIS10.1的卸载工具,果然检测不到以前的版本了,小惊喜一把。可问题又来了,安装ArcGIS Desktop时,仍然报存在另外一个版本9.2,不能进行安装。
于是在万能的谷歌里面用英文搜了一出现的问题,搜到有位大神列出手动删除ArcGIS时需要清理的所有文件了注册表的地方。
按照一下列表进行一一清理,果然可以正常安装了。下面是列表:
原话:I advise a clean, manual uninstall of existing ArcGIS programs. Note: Paths may vary according to operating system. Also uninstall any third-party GIS programs that you may have installed.
Rename or delete following folders:
Rename: C:\Program Files (x86)\ArcGIS
Rename: C:\Program Files (x86)\Esri
Rename: C:\Program Files (x86)\Common Files\ArcGIS
Rename: C:\Program Files (x86)\Common Files\Esri
Rename: C:\Program Files\ArcGIS
Rename: C:\Program Files\Esri
Rename: C:\Program Files\Common Files\ArcGIS
Rename: C:\Program Files\Common Files\Esri
Rename: C:\Program Data\Esri
Rename: C:\Program Data\ArcGIS
Rename: C:\Program Data\FLEXnet
Rename: C:\Users\<USERNAME>\AppData\Local\ESRI
Rename: C:\Users\<USERNAME>\AppData\Local\ArcGIS
Rename: C:\Users\<USERNAME>\AppData\Roaming\ESRI
Rename: C:\Users\<USERNAME>\AppData\Roaming\ArcGIS
Rename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ArcGIS
Rename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Esri
Go to regedit and rename/delete the following (if they exist):
Rename/Delete HKEY_LOCAL_MACHINE\SOFTWARE\ESRI
Rename/Delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ESRI
Rename/Delete HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Flex LM License Manager
Rename/Delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\<Delete Any Folder that contains ArcGIS or Esri>
Rename/Delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ArcGIS Server
Rename/Delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\<Delete Any Folder that contains ArcGIS or Esri within>
Rename/Delete HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\FLEXnet Licensing Service
Rename/Delete HKEY_CLASSES_ROOT\Installer\Products\<Delete Any Folder that contains ArcGIS or Esri within>
Rename/Delete HKEY_CLASSES_ROOT\Installer\Assemblies\<Delete Any Folder that contains ArcGIS or Esri within>
Rename/Delete HKEY_CLASSES_ROOT\<Delete and Folder that contains ArcGIS or Esri within>
Rename/Delete HKEY_CLASSES_ROOT\Installer\Assemblies\Global\<Delete all Keys beginning with ESRI or ArcGIS>
Next, Open Local Security Policy MMC
Go to Security Settings -> Local Policies -> Security Options
Locate "User Account Control: Run all administrators in Admin Approval" and change the setting from Enabled to Disabled
Uninstall: C:\Windows\assembly\Esri.* (This can be hundreds of files)
Uninstall: C:\Windows\assembly\ArcGIS.* (This can be hundreds of files)
如果以上办法还不行的,那就只能重装系统了。。。