You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Arvind Chhabra <ch...@earthlink.net> on 1998/08/25 18:18:00 UTC

os-windows/2902: Get error on file MSVCRT when installing Apache

>Number:         2902
>Category:       os-windows
>Synopsis:       Get error on file MSVCRT when installing Apache
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Aug 25 09:20:01 PDT 1998
>Last-Modified:
>Originator:     chhabra@earthlink.net
>Organization:
apache
>Release:        1.31
>Environment:
Windows NT 4.0 Buld 1381, Service Pack 3
>Description:
I downloaded the latest version (1.3.1) of Apache for Win32. When trying
to Install the WebServer, I get an error message "file error: -3" regarding
the file "C:\WINNT\System32\MSVCRT.1" when it is trying to copy the DLL
"MSVCRT.DLL" in that directory. When I click OK, the Install program exits
(I am assuming that the installation is not complete).

The MSVCRT.DLL is in use by Windows and the install program is
unable to overwrite it. I tried to Unload the DLL by using WPS.EXE but
for some reason WPS.EXE does not see this DLL.

There are two earlier bugs in the database regarding this issue. Those bugs
are 1736 and 1676.
>How-To-Repeat:

>Fix:
The possible fixes are:

Fix 1: Modify the install program so that if the file MSVCRT.DLL exists,
it does not try to overwrite it.

Fix 2: Modify the install program so that if copying of a file fails, it
continues with the rest of the installation. It keeps the files in some temp
area so that they can be copied when the machine is rebooted next time.
Hopefully at that time the DLLs will not be in use.

Personally I like the Fix 1 but Microsoft has known to be very bad in keeping
the DLLs backword compatible so Apache may work only with certain versions of
this DLL.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]