Article ID: 248347 - Last Review: August 7, 2007 - Revision: 6.3 How To Prepare for and Perform a Clean Installation of Visual Studio 6.0This article was previously published under Q248347 IMPORTANT: This article contains information about modifying the registry.
Before you modify the registry, make sure to back it up and make sure that you
understand how to restore the registry if a problem occurs. For information
about how to back up, restore, and edit the registry, click the following
article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/EN-US/
)
Description of the Microsoft Windows Registry
On This PageSUMMARY This article addresses some of the common causes of failed
installations of Visual Studio and some of the troubleshooting steps that are
commonly taken to resolve these issues. Many times after a failed installation, it is important to "clean up" registry entries and files before attempting another installation. It is recommended that you follow the steps in this article in the order listed to prepare your machine for a clean installation of Visual Studio 6.0. Although this document refers to Visual Studio, it should be noted that it also applies to the individual applications that come with Visual Studio (Visual Basic, Visual C++, and so forth). Most problems that occur within a Visual Studio setup can be avoided by disabling all applications and processes running in the background prior to starting the Visual Studio setup. MORE INFORMATION Some of the steps outlined in this article lead to your
being prompted by Windows to restart your computer. When you are prompted,
always allow Windows to restart so that your computer can be updated
successfully. Any third party plugins, objects, controls, service-packs, or projects related to Visual Studio applications should be backed up or uninstalled before following these instructions. There have been some cases where multiple installation attempts were not successful while anti-virus products were installed. After a successful installation of Visual Studio components and re-install of the anti-virus application, the products co-existed without complications. You'll have to make that decision for your own machine, but definitely close all anti-virus related applications prior to proceeding. Check the version number of the Vmhelper.dll file you have on your machine. To do this, click the Start button, point to Search, and click for Files or Folders, and search for the file. Right-click the file and select Properties and then click Version. The last four digits of the version indicates the build of the Microsoft virtual machine (Microsoft VM) that you have on your system. If you don't have this file, you don't have the VM on your machine. You can download the latest build from the following Web site: http://www.microsoft.com/mscorp/java/
(http://www.microsoft.com/mscorp/java/)
You will be instructed to install the VM later in this article.
If you are not familiar with the VM, you can read the Microsoft virtual machine
overview from the following Web site: http://www.microsoft.com/mscorp/java/
(http://www.microsoft.com/mscorp/java/)
It is also recommend that you have the latest Microsoft Data
Access Components (MDAC) on your machine. You can download the latest MDAC from
the following Web site: http://msdn2.microsoft.com/en-us/data/aa937695.aspx
(http://msdn2.microsoft.com/en-us/data/aa937695.aspx)
Visual Studio 6.0 requires that you have Internet Explorer
version 4.01 with Service Pack 1 or later, installed on your computer in order
to have access to the MSDN Library Help files. Internet Explorer version 4.72
is on the Visual Studio installation CD 1 in a folder called IE4. To install
Internet Explorer from this location, click the Start button, and click Run. Type in D:\IE4\ie4setup.exe in the text box (where "D" = the drive letter of your CD-ROM
drive), and click OK. If you have Internet Explorer 5 installed on your computer, you
of course meet this criterion already. If you are having any problems viewing
the MSDN Library Help files, I recommend that you uninstall and reinstall
Internet Explorer. You do not have this option if you have Windows 98 Second
Edition.Click the Start button, point to Settings, click Control Panel and double-click Add/Remove Programs. Uninstall any Visual Studio 6.0 applications or components that are listed by highlighting the entry to be removed, clicking the Add/Remove button and following the uninstall process. Repeat this for each entry to be deleted. Do the same for the MSDN Library. Backing Up Your Registry
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
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. 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.)
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:
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:
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
(http://support.microsoft.com/kb/240350/EN-US/
)
How To 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:
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:
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.
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. Installing Visual StudioNext, you may proceed with the installation of Visual Studio applications. Insert the Visual Studio CD into your CD-ROM drive. If Autorun is enabled on your system, the Setup program will launch automatically. If not, click Run from the Start button, and type D:\setup.exe in the text box (where "D"=the drive letter of your CD-ROM drive). Click OK.If you have had previous failed installation attempts and you are trying to install more than one Visual Studio application, try to install one application at a time. For instance after a successful Visual Basic installation, try installing Visual InterDev. Once you have completed the Visual Studio application installations, your machine will restart, and you will return to the Setup process where you can install MSDN, InstallShield or any server components that are needed. Please refer to Install.htm or the appropriate readme files located on your Visual Studio installation CD1 for more information about installing each application. For additional information on Visual InterDev installation, click the article number below to view the article in the Microsoft Knowledge Base: 243898
(http://support.microsoft.com/kb/243898/EN-US/
)
How To Visual InterDev 6.0 Installation Tips
Install the Visual Studio Service Pack 3 after
successfully completing the Visual Studio installations. If you do not have the
Visual Studio Service Pack 3, you can download it from the following Web site: http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx
(http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx)
If you have Windows 98:After a successful completion of the previous steps, click Run from the Start menu, and type msconfig. Press ENTER. Under the System Configuration Utility, click the General tab, and select Normal Startup and click OK. Click OK when prompted to restart your computer.
| Article Translations
|
Back to the top
