卸载VC6.0后清理相关注册表的方法

卸载VC6.0后重新安装会出现一些问题,这些问题主要是由于注册表没有清理完全的缘故

手动卸载VS6.0清理相关注册表的方法http://support.microsoft.com/kb/248347/en-us/

Deleting Visual Studio-Related Registry Keys

This section contains information on the Visual Studio-related Registry keys that you need to delete so that you can attempt a "clean" installation of Visual Studio applications.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To access the Registry Editor, click the Start button, click Run, and type RegEdit. The key to be deleted is listed at the end of the path. For example, in the following lineDevstudio is the key to be deleted:
KEY_LOCAL_MACHINE\Software\Microsoft\Devstudio
					
Delete the following keys that exist on your machine: (You may not have all of these keys.) Go to HKEY_LOCAL_MACHINE and delete the following:
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Devstudio
  • HKEY_LOCAL_MACHINE\Software\Microsoft\HTML Help Collections
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Basic
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Component Manager
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Modeler
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Visual Studio
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Visual Studio 6.0
    -or-
    MSDN Library
    -or-
    other Visual Studio 6.0 components.
Retract this branch to the top.

Go to HKEY_CURRENT_USER and delete the following:
  • HKEY_CURRENT_USER\Software\Microsoft\Devstudio
  • HKEY_CURRENT_USER\Software\Microsoft\Visual Basic
  • HKEY_CURRENT_USER\Software\Microsoft\Visual Component Manager
  • HKEY_CURRENT_USER\Software\Microsoft\Visual Modeler
  • HKEY_CURRENT_USER\Software\Microsoft\Visual Studio
  • HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\StartMenu\&Programs\Microsoft Visual Studio 6.0
    -or_
    MSDN Library
    -or-
    other Visual Studio 6.0 components

Retract this branch to the top.

Go to HKEY_USERS and delete the following:
  • HKEY_USERS\S-1-5-21-2127521184-1604012920-1887927527-72713\Software\Microsoft\Visual Studio
  • HKEY_USERS\S-1-5-21-2127521184-1604012920-1887927527-72713\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\StartMenu\&Programs\Microsoft Visual Studio 6.0
    -or-
    MSDN Library
    -or-
    other Visual Studio 6.0 components

Close the Registry Editor.


Deleting Visual Studio-Related Directories

This section contains information on the Visual Studio-related directories that need to be deleted so that you can attempt a "clean" installation of Visual Studio applications.

The directory to be deleted is listed at the end of the path. For example, in the line C:\Program Files\Microsoft Visual Studio,Microsoft Visual Studio is the directory to be removed.

Open Windows Explorer and delete the following directories that exist on your machine. (You may not have all of these directories.)
  • C:\Program Files\Microsoft Visual Studio (or the directory where you installed Visual Studio)
  • C:\Program Files\Common Files\Designer
  • C:\Program Files\Common Files\Microsoft Shared\MSDesigners98
  • C:\Program Files\Common Files\Microsoft Shared\MSDN
  • C:\Program Files\Common Files\Microsoft Shared\Triedit
  • C:\Program Files\Common Files\Microsoft Shared\VS98
  • C:\Program Files\Common Files\Microsoft Shared\Wizards98

最后再在注册表中用查找功能查找出与Visual有关的项方法为:

1先点击注册表中左边框中的“我的电脑”(这样以便在整个注册表中进行查找),再按CTRL+F组合键

2在查找目标中输入Visual,在查看中选择“项”。其它的就不用选了。

3点击“查找下一个”,找到后还是一样要看找到的项的值是否是与VisualStudio6.(VisualC++6.0)有关,如果有关就删除掉,否则请不要删除).之后再按F3键来找到注册表中其它的与Visual有关的项,再进行判断是否删除,直到搜索完整个注册表为止。(在进行了前三个过程,此过程很快就可以完成的).

至此就可以了。关闭注册表编辑器。最后再次提醒只可删除与VisualStudio6.0(或VisualC++6.0等)有关的注册表项(方法是看它的键值就可以判断是否与之相关)。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章