Help and Support

Article ID: 201357 - Last Review: September 25, 2003 - Revision: 3.0

ODE97: You Cannot Write to Wininet.dll or Urlmon.dll During the Installation of a Run-Time Application

This article was previously published under Q201357
Moderate: Requires basic macro, coding, and interoperability skills.

Expand all | Collapse all

SYMPTOMS

When you are installing a run-time application on a computer, you may receive the following error message:
Setup could not write to the file: 'C:\Windows\System\Wininet.dll'. This file is currently being used by another application. Close any open applications.
or
Setup could not write to the file: 'C:\Windows\System\Urlmon.dll'. This file is currently being used by another application. Close any open applications.
You then have the following options: Retry, Abort, and Ignore. The path to the files will be specific to your computer's Microsoft Windows System path.

CAUSE

The run-time application that you are installing contains a newer version of one or both of the files, Urlmon.dll or Wininet.dll. The Setup program always tries to overwrite older copies of files on a system that it is installing the files onto. The Setup program will not be able to successfully overwrite these files if the files are locked by the Windows operating system.

RESOLUTION

You can change the version of the Urlmon.dll and Wininet.dll files that are included in your disk images by changing an entry in two of the Setup Wizard tables.

For information about how to make these changes, see "Solution 3" in the following article:
174508  (http://support.microsoft.com/kb/174508/EN-US/ ) ODE: Installing Run-Time Application Breaks Microsoft Internet Explorer 3.x

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

At the time of this writing, if you click Ignore in the error message box, your application is successfully installed without any side effects to Microsoft Internet Explorer 4.0. However, Microsoft still recommends that you use the resolution described in the "Resolutions" section to resolve the error message completely.

REFERENCES

For additional information about other issues involving the Office 97 DeveloperEdition and Internet Explorer 4.0, click the article numbers below to view the articles in the Microsoft Knowledge Base:
174217  (http://support.microsoft.com/kb/174217/EN-US/ ) ODE97: Comcat.dll Can't Be Registered During Run-time Install
179011  (http://support.microsoft.com/kb/179011/EN-US/ ) ODE: Running Microsoft ODE97 on a Computer with Internet Explorer 4.0
For additional information about other issues involving the Office 97 DeveloperEdition and distributing applications, click the article numbers below to view the articles in the Microsoft Knowledge Base:
160870  (http://support.microsoft.com/kb/160870/EN-US/ ) ACC: VBA Functions Break in Database with Missing References
162884  (http://support.microsoft.com/kb/162884/EN-US/ ) ODE97: Troubleshooting ODE Setup Wizard Problems

APPLIES TO
  • Microsoft Office 97 Developer Edition
Keywords: 
kbbug kberrmsg kbnofix KB201357
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations