Deleting Visual Studio-Related Registry KeysThis 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 line Devstudio 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 DirectoriesThis 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
Windows 95 and Windows 98 Users:
In your Windows directory, navigate to Application Data\Microsoft\Visual Studio and delete the Visual Studio folder. Use the following instructions to finish cleaning up the MSDN Library prior to a new installation:
From the Start button, point to Find, and click Files and Folders. Search for the following files: Hh.exe, Hh.dat, Hhcolreg.dat, Hhctrl.ocx, Itss.dll, Itircl.dll. Delete all occurrences of these files that you find.NOTE: When you delete these files, you will be removing all MSDN preferences and favorites. Windows NT 4.0 Users:
In your Windows NT directory, navigate to Profiles\ your login \Application Data\Microsoft and delete the Visual Studio folder. Follow these instructions to finish cleaning up the MSDN Library prior to a new installation:
From the Start button, point to Find, and click Files and Folders. Search for the following files: Hh.exe, Hh.dat, Hhcolreg.dat, Hhctrl.ocx, Itss.dll, Itircl.dll. Delete all occurrences of these files that you find.NOTE: When you delete these files, you will be removing all MSDN preferences and favorites. Windows 2000 Users:
Navigate to C:\Documents and Settings\ your login \Application Data\Microsoft and delete the Visual Studio folder. For additional information on cleaning up the MSDN Library prior to a new installation, click the article number below to view the article in the Microsoft Knowledge Base:
240350 HOWTO: Manually Uninstall the MSDN Library
All Users:
Check the file size of the Comcat.dll file that can be found in your Windows\System directory for Windows 95 and Windows 98 users or the WinNT\System32 directory for Windows NT 4.0 users. If the file size is not 22K, replace it with one of the Comcat.dll files from your Visual Studio installation CD 1. Note: This does not apply to Windows 2000 users. Use the following steps to replace Comcat.dll:
From the Start menu, click Run, and type regsvr32 /u comcat.dll. You should get a confirmation message that the file was successfully unregistered. Open Windows Explorer, go to your Windows\System or WinNT\System32 directory and rename Comcat.dll to Comcat.old. In Windows Explorer, go to D:\Common\Ide\Ide98\Redist (where "D" is the drive letter of your CD-ROM drive), and copy Comcat.dll to your clipboard. Go back to your Windows\System or WinNT\System32 directory and paste in Comcat.dll. From the Start, click Run, and type regsvr32 comcat.dll. You should get a confirmation message that the file was successfully registered.Delete all files in your Temp directory (typically, "C:\Windows\Temp"). You can do this from within Windows Explorer. If you have specified a different Temp directory, you will need to delete the files from this directory as well.
NOTE: To verify the location of your Temp directory click the Start menu, point to Programs, and click Command Prompt. Type set and press ENTER. Your system's environment settings will appear. Note the path to the folder for TEMP= and TMP=. Type exit at the Command Prompt or close the Command Prompt window and return to Windows Explorer. Delete the files from the directories specified as TEMP and TMP. For Windows 2000 users, click the Start button, point to Programs, and click Accessories and Command Prompt. Perform the same steps as described above.
Empty your recycle bin, and restart your machine.
Windows 95 and Windows 98 Users:
Some CD-ROM drives have difficulty reading some CDs. If this seems to be an issue on your machine, use the following steps to disable Direct Memory Access (DMA) on your CD-ROM drive:
From the Start button, point to Settings, and click Control Panel. Double-click the System icon. Click on the folder tab labeled Device Manager and find the icon for CD-ROM. Click the plus ("+") sign next to CD-ROM. The key will expand to show what model CD-ROM you have on your system. Next, highlight the CD-ROM model and click Properties, and Settings. Look for a check box labeled DMA. This box should be clear. If it is selected, clear it, and click OK. Next, click the Performance tab under System Properties and select File System, then CD-ROM. Set the Supplemental Cache Size to one notch above the lowest setting (far left) and set the Access Pattern to No Read Ahead. Click Apply and OK. Close System Properties and Control Panel. Windows prompts you to restart after you close Control Panel. If you have Windows 95:
It will be necessary to employ patience in performing these steps, as the computer will restart if you press CTRL+ALT+DEL more than one time per sequence, forcing you to repeat the procedure from the beginning after the system reboots.
Press CTRL+ALT+DEL keys to open the Close Program dialog box. Select (one at a time) each application listed in the box except for Explorer and Systray. Click End Task. The Close Program dialog box disappears. Press CTRL+ALT+DEL procedure to open the Close Program dialog box again. It is sometimes necessary to perform the End Task procedure more than once on certain applications. If a box pops up that prompts you to Wait or End Task, select End Task. Repeat the procedure until only Explorer and Systray remain in the window. The reason you need to do this is to unload all other processes from memory. Any running applications, especially anti-virus software, can cause problems with setup.If you have Windows 98:
From the Start menu, click Run. Type msconfig and press ENTER. Under the System Configuration Utility, General tab, select Selective Startup and clear all six options. Click OK. You will be asked to restart the computer. Click OK. When you return to Windows, the screen may look different than it did before because your computer is now in VGA mode. At the end of these instructions you will go to msconfig again and select Normal Startup.Windows NT4 Users:
Reboot your machine into VGA mode. Log on to the local machine as Administrator (not a user name with administrator privileges). Press CTRL+ALT+DEL, click Task Manager and End Task on all Applications and all Processes except Explorer and Taskmgr. This is particularly important in regards to anti-virus software or utilities packages (such as Norton Utilities) that run any system monitoring applications. When the processes give you a warning, click Yes. If you receive a message that states that you are not authorized to shut down that process, just go on to the next one.
Next, click the Start button, point to Settings, and double-click Control Panel, and click Services. Highlight any Server or other Service that could interfere with the installation and click Stop for each of them.
Windows 2000 Users:
Restart your machine, press F8 at the text screen and choose Safe Mode. Bring up the Task Manager by pressing CTRL+ALT+DEL. Click the Processes tab and End Process on everything except Explorer and Taskmgr. This is particularly important in regards to anti-virus software or utilities packages (such as Norton Utilities) that run any system monitoring applications. When the processes give you a warning, click Yes. If you receive a message that states that you are not authorized to shut down that process, just go on to the next one.
Next, click the Start button, point to Settings, and double-click Control Panel. Click Administrative Tools and select Services. Highlight any Server or other Service that could interfere with the installation and then click Action and Stop (or click the Stop Service button) for each of them.
All Users:
At this point, you should have all applications closed and be at the Windows Desktop. If there are any other applications open, close them now.
You can now update the Microsoft virtual machine, which was mentioned earlier in this document, if you desire.