ODE: Run-Time Application Built on IE 4.0 Computer Breaks IE 3.x

Last reviewed: February 26, 1998
Article ID: Q174508
The information in this article applies to:
  • Microsoft Office 97 Developer Edition Tools
  • Microsoft Internet Explorer versions 3.0, 3.01, 3.02

SYMPTOMS

Novice: Requires knowledge of the user interface on single-user computers.

When you use the Setup Wizard in Microsoft Office 97 Developer Edition Tools to create disk images on a computer that is running Microsoft Internet Explorer version 4.0, and then you use the disk images to install the application on a computer running Microsoft Internet Explorer 3.x, Microsoft Internet Explorer 3.x no longer works. When started, Microsoft Internet Explorer 3.x does not display pages correctly.

CAUSE

Two of the files installed during setup are incompatible with Microsoft Internet Explorer 3.x. These files are Urlmon.dll and Wininet.dll.

RESOLUTION

Solution 1

Novice: Requires knowledge of the user interface on single-user computers.

Replace the following files in your Windows\System folder with earlier versions that are compatible with Microsoft Internet Explorer version 3.x:

   Urlmon.dll
   Wininet.dll

You can obtain these files from the Windows\System folder of a computer that is running Microsoft Internet Explorer version 3.x, but is not running Internet Explorer version 4.0. Versions of these files that are compatible with Internet Explorer 3.x are also located on the Microsoft Office 97 CD in the OS\System folder. To replace the files, follow these steps:

  1. Open Windows Explorer on a computer that has Microsoft Internet Explorer version 3.x installed and working properly.

  2. Navigate to the Windows\System folder, or to the Windows\System32 folder if you are using Microsoft Windows NT.

  3. Copy the files Urlmon.dll and Wininet.dll to a floppy disk.

  4. On the computer where Internet Explorer 3.x is not working properly, rename the files Urlmon.dll and Wininet.dll, which are located in the Windows\System or Windows\System32 folder.

  5. Copy Urlmon.dll and Wininet.dll from the floppy disk or from the Microsoft Office 97 CD into the Windows\System or Windows\System32 folder.

    Microsoft Internet Explorer 3.x should now display pages correctly.

Solution 2

Novice: Requires knowledge of the user interface on single-user computers.

You should run the Setup wizard and build your disk images on a computer that does not have Microsoft Internet Explorer 4.0 installed. Images built on a computer without Microsoft Internet Explorer version 4.0 will allow Microsoft Internet Explorer 3.x to function properly on the target computer, regardless of the version of Microsoft Internet Explorer that is installed, because the version of Urlmon.dll and Wininet.dll that is distributed with Microsoft Internet Explorer 3.x will only overwrite older versions of those files.

If you distribute an application using the Microsoft Office 97 Developer Edition and Microsoft Internet Explorer version 4.0 from Microsoft Windows 95, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q174217
   TITLE     : ODE: Comcat.dll Can't register Itself If Image Built on IE
               4.0 Computer

Solution 3

Moderate: Requires basic macro, coding, and interoperability skills.

NOTE: A file is available for download from the Microsoft Software Library (Mdtupdtr.exe) that automatically carries out the manual steps listed below for Solution 3. For more information, please see the following article in the Microsoft Knowledge Base:

    ARTICLE-ID: Q179567
    TITLE     : SetupWizard Template Files Updater Available on MSL

It is possible to change the version of Urlmon.dll and Wininet.dll that is included in your disk images by changing an entry in two of the Setup Wizard's tables.

WARNING: Because the following solution will modify the Setup Wizard's default tables, you should back up these tables for reference. If you completed a default installation of the Office 97 Developer Edition, navigate to the following folder

   C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Msaccomp

and make copies of these files in a different folder:

   01Microsoft Access Run-Time Version.MDT
   09Microsoft Replication Manager.MDT

After you have made the backups of these two tables, follow these steps:

  1. Copy a version of Wininet.dll and Urlmon.dll that will register correctly into the C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Redist folder on your development computer.

    NOTE: Version 4.70.1300, which is on both the Office 97 Professional CD-ROM and the Microsoft Access 97 CD-ROM, will work.

  2. Open Microsoft Access.

  3. In the Microsoft Access dialog box, select Open An Existing Database and then select More Files in the list box. Click OK.

  4. In the Open dialog box, select All Files (*.*) in the Files Of Type box and move to the following folder:

          C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Msaccomp
    

  5. Select and open the file 01Microsoft Access Run-time Version.MDT.

  6. Open the SHAREDINET table and find the line with the following values:

          LineID: add Urlmon_dll
          Param2: $(WinSysPath)
          Param3: C:\Windows\System\URLMON.DLL
    

    Change it to this:

          LineID: add Urlmon_dll
          Param2: $(SwizSetupFilesPath)
          Param3: C:\Program Files\Microsoft Office\ODETools\Setup Wizard\
    
                  Redist\URLMON.DLL
    
    

  7. Find the line with the following values:

          LineID: add Wininet_dll
          Param2: $(WinSysPath)
          Param3: C:\Windows\System\WININET.DLL
    

    Change it to this:

          LineID: add Wininet_dll
          Param2: $(SwizSetupFilesPath)
          Param3: C:\Program Files\Microsoft Office\ODETools\Setup Wizard\
    
                  Redist\Wininet.DLL
    
    

  8. Close the database.

  9. Select and open the file 09Microsoft Replication Manager.MDT and repeat steps 6 and 7.

STATUS

Microsoft has confirmed this to be a problem. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

For more information about other issues involving the Office 97 Developer Edition and Internet Explorer 4.0, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q174217
   TITLE     : ODE: Comcat.dll Can't register itself if image Built on IE
               4.0 Computer

For more information about other issues involving the Office 97 Developer Edition and distributing applications, please see the following articles in the Microsoft Knowledge Base:

   ARTICLE-ID: Q160870
   TITLE     : ACC: VBA Functions Break in databases with missing
               references

   ARTICLE-ID: Q162884
   TITLE     : ODE97: Troubleshooting ODE Setup Wizard Problems


Additional query words: pra ie4
Keywords : OdeGen kbsetup
Version : WINDOWS:3.0,3.01,3.02,97
Platform : WINDOWS
Hardware : x86
Issue type : kbbug
Solution Type : kbworkaround


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