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 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.0Retract this branch to the top.
Go to HKEY_CURRENT_USER and delete the following:
Retract this branch to the top.
Go to HKEY_USERS and delete the following:
Close the Registry Editor.
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.)
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:
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:
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:
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:
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.
If you have Windows 98:
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.
本文地址:http://com.8s8s.com/it/it41557.htm