PRB: Visual C++ 4.0 or 4.1 Setup Fails to Copy Shared DLLsLast reviewed: July 31, 1997Article ID: Q148882 |
The information in this article applies to:
SYMPTOMSWhen you install Visual C++ 4.x in either Windows 95 or Windows NT, it is possible for setup to fail while copying certain shared DLLs. The DLLs that don't copy successfully will most likely be one of these:
MSVCRT20.DLL MSVCRT40.DLL ODBCCP32.DLL ODBC32.DLL ODBCINT.DLLWhen setup fails, it displays a dialog box that looks similar to this:
Setup cannot open the destination file 'C:\Windows\System\Msvcrt20.dll'. The file may be in use by another application, or marked read-only. Close the application or change the file's read-only attribute and try again. -or- Cannot install file C:\Windows\System\Odbc32.dll. It might be in use. Try closing all applications and choosing Retry.Both dialog boxes offer a chance to Abort, Retry, or Ignore.
CAUSEMany applications use shared DLLs. If the setup program tries to copy a DLL over another DLL that has the same name while that DLL is in use by another program, the setup program will fail. For example, the Windows 95 Explorer uses Msvcrt20.dll, so if the Explorer is not closed before running Visual C++ 4.x setup, you could see the problem. You may also see the problem when running The Internet Information Server as it also uses some of these DLLs.
RESOLUTIONHere are several possible resolutions:
STATUSThis behavior is by design. Keywords : vc40setup kbenv kbsetup Version : 4.0 4.1 Platform : NT WINDOWS Issue type : kbprb |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |