BUG: Setup Doesn't Ask to Register Environment Variables

Last reviewed: July 14, 1997
Article ID: Q168403
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2, 5.0

SYMPTOMS

Setup does not ask to register environment variables while doing a CDROM installation. While installing Visual C++ in Windows NT, setup should ask if you want the environment variables registered through a check box in a setup screen, irrespective of the type of installation selected. During the CDROM installation, this check box is not displayed and you do not get the opportunity to register the environment variables.

NOTE: This check box will not be displayed in any type of installation in Windows 95.

RESOLUTION

Run the Vcvars32.bat file in the ..\BIN directory found in the installed directory under ..\MSDEV or ..\DevStudio\VC. This file contains the environment variables required to run build tools from a command prompt.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

During setup, a screen with the following message is displayed:

   For your convenience, the environment variables required to run build
   tools from a command prompt are saved in VCVARS32.BAT in your BIN
   directory.

This message is followed by a check box for "Register Environment Variables."

The message shown below appears after you select the check box:

   Turn on this option to register environment variables for running
   Microsoft Visual C++ tools from the command line."

NOTE: In Visual C++ 5.0, the Profiler may not run from Developer Studio if the environment variables are not registered. For additional information, please see the following article(s) in the Microsoft Knowledge Base:

   ARTICLE-ID: Q167804
   TITLE     : BUG: Source Profiler in Visual C++ 5.0 Does Not Execute
 

	
	


Keywords : kbsetup vc40setup vc50setup vcbuglist500
Version : 4.0 4.1 4.2 5.0
Platform : NT WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 14, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.