Microsoft KB Archive/217754

= How To Control Which MDAC Version the Package and Deployment Wizard (PDW) Distributes =

Article ID: 217754

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Data Access Components 2.0
 * Microsoft Data Access Components 2.1
 * Microsoft Data Access Components 2.5
 * Microsoft Data Access Components 2.6
 * Microsoft Data Access Components 2.7

-



This article was previously published under Q217754



SUMMARY
The purpose of this article is to help you understand how the Visual Basic 6.0 Package and Deployment Wizard (PDW) distributes the Microsoft Data Access Components (MDAC) in order to allow you to control which version of MDAC is distributed with your application.



MORE INFORMATION
When you reference ActiveX Data Objects (ADO) in your Visual Basic 6.0 project, and use the Package and Deployment Wizard to build the install, the wizard uses the MDAC_Typ.exe file in the ...\Wizards\PDWizard\Redist directory.

If you install Visual Basic 6.0 and then later install MDAC 2.1 or later through the SQL Server 7.0 Client utilities or some other method and make no other changes, then MDAC 2.0 is distributed with your application. In order to distribute MDAC 2.1 or later with your application, you need to replace the version of MDAC_Typ.exe that resides in the ...\Wizards\PDWizard\Redist directory with the newer version of that file.

You may obtain the latest MDAC release and see a list of available MDAC releases available for distribution from http://msdn2.microsoft.com/en-us/data/aa937695.aspx.

Additional query words: kbsweepnext

Keywords: kbdatabase kbdeployment kbhowto KB217754

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.