PRB: Mosaic Setup Can Conflict with Visual C++ Setup

Last reviewed: January 18, 1996
Article ID: Q130472
The information in this article applies to:
  • Microsoft Visual C++ for Windows, versions 1.5, 1.51, and 1.52
  • Microsoft Visual C++ 32-bit Edition, versions 2.0, 2.1

SYMPTOMS

Installing Visual C++ on a machine that also has Mosaic (a World Wide Web navigation client for Windows) installed causes the setup program to issue this warning:

   Setup cannot open the destination file <fileName>. 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.

The user is allowed to dismiss the dialog box with Abort, Retry, or Ignore.

CAUSE

The problem is that Mosaic is compiled using Visual C++ and uses three of its redistributable DLLs (MSVCRT20.DLL, MFCANS32.DLL, and MFCUIA32.DLL). Mosaic installs these files with the read-only attribute, which causes the Visual C++ setup program to issue the warning when it attempts to overwrite them.

RESOLUTION

First, verify that there is not another application using the DLL by shutting down the other applications. Once you have done this, the easiest (and safest) solution is to remove the read-only attribute from the files by using File Manager or some other utility. Then switch back to the setup program and Retry the operation. This is especially important if you are installing Visaul C++ version 2.1 because the MSVCRT20.DLL file has been changed.

STATUS

NCSA has confirmed Mosaic installs these DLLs with the read-only attribute. It appears to be an oversight on their part because the program does not require the DLLs to have this attribute.


Additional reference words: 1.50 2.00 2.10 read only
KBCategory: kbsetup kb3rdparty kbprb
KBSubcategory: vc15setup vc20setup


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: January 18, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.