Help and Support

PRB: SETUP.EXE File Linked to Missing Export OLEAUT32.DLL:185

Article ID:194754
Last Review:May 13, 2003
Revision:2.0
This article was previously published under Q194754

SYMPTOMS

When running a setup program that was created using the Package and Deployment Wizard (PDW), you receive the following error message:
The SETUP.EXE file is linked to missing export OLEAUT32.DLL:185.
When you click OK, you receive the following error message, where <Path> is the location of Setup.exe:
<Path>\Setup.exe
A device attached to the system is not functioning.

Back to the top

CAUSE

Setup packages built with the Package and Deployment Wizard will not run on the original version of Windows 95 due to lack of support for an API function in the file Oleaut32.dll, version 2.1. The failure does not occur on later versions of Windows 95, Windows 98, Windows Me, or any versions of Windows NT 4.0 or Windows 2000. Further, this failure does not occur if another program installation, such as installation programs for Microsoft Office 97, Internet Explorer 3.0, or Internet Explorer 4.0, has updated Oleaut32.dll to a newer version.

Back to the top

RESOLUTION

To resolve the problem, the latest Automation files must be installed onto the client machine before SETUP.EXE can run successfully. The latest Automation files may be installed by using VBRUN60.EXE. VBRUN60.EXE installs the Microsoft Visual Basic 6.0 run-time library (MSVBVM60.EXE) and updates required Automation files used by Visual Basic 6.0 applications (including OLEAUT32.DLL).

After VBRUN60.EXE is run successfully, the SETUP.EXE program may be run to install your Visual Basic application successfully. VBRUN60.EXE may be located on your Visual Basic 6.0 installation CD-ROM or it may be downloaded from the Microsoft Web Site.

Back to the top

REFERENCES

For additional information, please see the following articles in the Microsoft Knowledge Base:
192461 FILE: VBRUN60.EXE Installs Visual Basic 6.0 Run-Time Files (http://support.microsoft.com/kb/192461/EN-US/)

190046 INFO: VB6 Readme: Part 6 Wizard Issues (http://support.microsoft.com/kb/190046/EN-US/)

158238 HOWTO: Determine the Version of Windows 95/98/Me in Use (http://support.microsoft.com/kb/158238/EN-US/)

Back to the top


APPLIES TO
Microsoft Visual Basic 6.0 Learning Edition
Microsoft Visual Basic 6.0 Professional Edition
Microsoft Visual Basic 6.0 Enterprise Edition

Back to the top

Keywords: 
kbappsetup kbprb kbwizard KB194754

Back to the top

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.