卸載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等)有關的註冊表項(方法是看它的鍵值就可以判斷是否與之相關)。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章