When you delete Visual Studio without authorization, this will happen when you reinstall it. This situation is as follows:
When the installation is complete, you will be prompted that your installation is not complete. The system prompts you to go to the Microsoft official website to find and modify the relevant error information. The solution to this type of problem is to completely and cleanly Delete Visual Studio. Perform the following steps:
Step 1 Delete Registry Information
Click "start", click "run", type regedit, and click an item in the Registry you want to delete.
Or you can enter Regedit.
To open the Registry Editor.
Find a specific item in the Registry in the directory order, and then press the delete key to delete it.
The above describes two methods to delete one of the Registry. The items you want to delete are listed below:
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/visualstudio
HKEY_LOCAL_MACHINE/software/Microsoft/Windows/CurrentVersion/uninstall/visual
Maxcompute Studio 6.0
-Or-
Msdn Library
-Or-
Visual maxcompute 6.0 Components
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 maxcompute 6.0 Components
HKEY_USERS/S-1-5-21-2127521184-1604012920-1887927527-72713/software/Microsoft/Visual Studio
S-1-5-21-2127521184-1604012920-1887927527-72713/HKEY_USERS
/Software/Microsoft/Windows/CurrentVersion/Explorer/menuorder/startmenu/& programs/Microsoft Visual Studio 6.0
-Or _
Msdn Library
-Or-
Other Visual maxcompute 6.0 Components
Step 2 Delete the Directory
C:/program files/Microsoft 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
For Windows2000 users
Find C:/Documents and Settings/your login/Application Data/Microsoft to delete the Visual Studio folder.
Step 3: delete the DLL file of the Dynamic Link Library
Click "start" -- à to search for files and folders
Search for the following files and delete them.
Hh.exe, HH. dat, hhcolreg. dat, hhctrl. ocx, itss. dll, itircl. dll
Step 4 check the comcat. dll file
Find the comcat. dll file in the Windows/system or WINNT/system32 directory. If the file size is not 22k, perform the following operations:
Click "start", click "run", and enter regsvr32/u comcat. dll.
Find the comcat. dll file in the Windows/system or WINNT/system32 directory and delete it.
Copy the/common/IDE/ide98/redist/comcat. dll file from the Visual Studio installation disk to the Windows/system or WINNT/system32 directory.
Click "start", click "run", and enter regsvr32 comcat. dll.
After the preceding four steps, Visual Studio is completely deleted from the system. You only need to reinstall Visual Studio.
Supplement:
The actual operation indicates that the directory c:/program files/common files/Microsoft shared/triedit can not be deleted. In fact, it cannot be deleted because it indicates that the system is in use.
How to completely delete Visual Studio before VC ++ reinstalls