The information in this article applies to:
SUMMARY
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. 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. Q147769 INFO: RegClean 4.1a Description and General IssuesRegClean.exe is a zipped file. When you double-click RegClean.exe, you will be prompted to unzip the file to a location of your choice. When you unzip RegClean.exe it will extract three files named Oadist.exe, ReadMe.txt and RegClean.exe. Notice that one of the three extracted files is the same name as the zipped file you downloaded, so you will have to put the extracted files in a different directory than the one into which you downloaded the original file. It is recommended that you place the three extracted files in your \Windows\Command or \WinNT\System32 subdirectory so that you may run this program from the command line. 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/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/java/resource/vm.htmIt 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://www.microsoft.com/data/download.htmThe correct link is in the lower half of the page and says "Download MDAC 2.1.2.4202.3 (GA)". 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. IMPORTANT: This document contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. 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.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: 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:
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:
NOTE: When you delete these files, you will be removing all MSDN preferences and favorites. 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:
NOTE: When you delete these files, you will be removing all MSDN preferences and favorites. 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: Q240350 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:
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. If you placed the RegClean files in your \Windows\Command or \WinNT\System32 subdirectory, click the Start menu and click Run. Type regclean and press ENTER to start the process. If you did not place RegClean in your \Windows\Command or \WinNT\System32 subdirectory, locate the extracted RegClean.exe and double-click it to start the process. When you run this utility, you will see either "waiting to fix errors" or "waiting to exit." If it finds errors, click Fix Errors. Then exit and run repeatedly until you have no more errors (usually two to four times). This clears up any registry errors before you proceed with the re-install of Visual Studio or its components. Reboot 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: Q243898 HOWTO: Visual InterDev 6.0 Installation TipsInstall 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://msdn.microsoft.com/vstudio/sp/vs6sp3/default.aspIf 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. Additional query words:
Keywords : kbsetup kbVS kbVS600 |
Last Reviewed: January 24, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |