NOTE: The bug that Visual Studio Service Pack 3 fixes concerns the error message. Service pack 3
does not install an updated version of DCOM. You must still install DCOM from the locations listed in the
RESOLUTION section above.
In service pack 3, the error message now reads:
The ODBC drivers need DCOM95, which does not appear to be installed. DCOM 95 is available from the Microsoft Web site.
We highly recommend you click Yes to exit now, install DCOM95, and run this setup again. Terminate setup?
Two buttons titled
Yes and
No appear below the message. If you select
Yes, the setup terminates.
If you choose
No, the setup continues to run. At the end of the setup routine, you see the following message:
MSDADC.DLL was unable to register itself in the system registry.
The setup program then terminates.
The Msdadc.dll file supports Visual FoxPro's ODBC functions and is
installed in the Windows\System directory, by the Setup Application. The
Msdadc.dll file has dependencies in the Ole32.dll file, and registration of
the Msdadc.dll file fails if it is not supported by the existing version of
the Ole32.dll file. Installation of either DCOM for Windows 95 or Internet
Explorer 4.0 updates the version of the Ole32.dll file on the target
computer.
Steps to Reproduce Behavior
- Create a project and add a program file containing the following code:
WAIT WINDOW "This Application is Running"
- Build the project into an executable.
- Run the Setup Wizard and select ODBC Drivers in step 2.
- Install the .exe file on a Windows 95 computer that has Ole32.dll
version 2.1.
RESULTS: Setup proceeds normally until registry updates occur. Then, the
following message appears:
MSDADC.DLL was unable to register itself in the system registry.
Setup then terminates with the following message:
Setup was not completed successfully.