Microsoft KB Archive/97048

= How To Restore Corrupt or Deleted Visual C++ Group File =

Article ID: 97048

Article Last Modified on 7/1/2004

-

APPLIES TO


 * Microsoft Visual C++ 1.0 Professional Edition
 * Microsoft Visual C++ 1.5 Professional Edition
 * Microsoft Visual C++ 2.0 Professional Edition
 * Microsoft Visual C++ 2.1
 * Microsoft Visual C++ 4.0 Standard Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 5.0 Professional Edition

-



This article was previously published under Q97048





SUMMARY
If the Microsoft Visual C++ (MSVC) program group in Microsoft Windows Program Manager becomes corrupted or if it is deleted, you can use the MSVC Setup program to restore the group.



MORE INFORMATION
If you specify the /F option switch on the MSVC Setup command line, Setup does not copy any files. It only updates the MSVC group in Program Manager and the SYSTEM.INI and TOOLS.INI files. To create or restore the MSVC group, perform the following five steps:  Insert Microsoft Visual C++ Disk 1 into a floppy disk drive or insert the Microsoft Visual C++ CD into your CD-ROM drive. The following instructions assume that this drive is drive X. In the Program Manager, choose Run from the File menu. If you are using Visual C++ for Windows 1.0 or 1.5 or Visual C++ 32-bit Edition version 1.0, enter the following command line in the Run dialog box:

x:setup /F

Note: The &quot;F&quot; must be an uppercase letter.

In Visual C++ 2.0, the setup program does not accept the /F parameter. Use the following command in the Run dialog box instead:

x:\msvc20\vcsetup /f

In Visual C++ 4.0, the AUTOVC.EXE program does not accept any parameters. Instead, use the following command line in the Run dialog box:

x:\msdev\setup /F

In Visual C++ 5.0, use the following command line in the Run dialog box:

x:\DevStudio\Vc\setup /F

 Click OK. Specify information about your system according to the instructions in the Setup program. When Setup runs, it does not copy any files but it does create the appropriate program groups and icons. Toward the end of the process, accept the default option to write the SYSTEM.INI and TOOLS.INI files to a different name if asked (to prevent the new information from overwriting the current files). When Setup is complete, it is not necessary to restart Windows.

Even though Setup does not copy any files, it displays every screen (checking for available disk space, and so on). Furthermore, the Visual C++ for Windows NT Setup program prompts the user to register environment variables (which is one method to register the environment variables if you have not already done so).

Additional query words: icon

Keywords: kbhowto kbsetup KB97048

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.