MDACADO Setup Issues


MDAC/ADO Setup Issues

We had a question from the field that went something like this: "My customer is developing a stand-alone app that uses ADO. They wish to make this app available for download, so it needs to be as small as possible. They are concerned about the 6.5MB size of the MDAC 2.1 SP2 download (ADO 2.5 MDAC_TYP.EXE is now 7.7 MB). My (the consultant's) advice to them was to incorporate MDAC 2.1 SP2 into their install." The note went on to say that the customer wanted to create a program that would work with any version of ADO starting at 1.5. Interesting problem.

One of the MDAC crew came back with this "Unofficial MDAC Redistribution/Setup Rude FAQ."

  • If you want custom installs, MDAC setup is not for you.
  • If you want integration into WMI, MDAC setup is not for you.
  • If you want lightweight, Web-downloadable installs, or partial installs of only certain drivers, MDAC setup is not for you.
  • If you want SMS integration, or push installs, MDAC setup is not for you.
  • If you want to use a Microsoft database API with a Microsoft developer product with a Microsoft installer technology to produce a shrink-wrapped product with a setup program, MDAC setup is not for you.
  • MDAC setup is a pioneer in the Windows 2000 "blast it all on there whether they need it or not" philosophy that is the future in a world of massive bandwidth and massive HDs.
  • Then again, when MDAC is already installed, you have some assurance that the right ADO bits are already in place.

Basically, think of MDAC setup as a service pack (SP) setup. Like an SP setup, it cannot easily be integrated with anything. Remember having to reboot three times when installing Visual Studio 6? This is the kind of install to expect when using MDAC.

Like an SP, MDAC must be hand-installed on each machine by a computer user who knows what he or she is doing (i.e., the average end-user does not know that you need to shut down various NT services in order to install MDAC, etc.).

So, my advice to customers is to write a setup that checks whether MDAC is installed or not, and if not, throws up a warning message and tells the user to install MDAC. This is sort of the same scenario as VS6 refusing to install unless you have NT 4 SP3 installed first. If you are doing a Web install, you can just point the user to the MDAC installer on the Microsoft Web site.


ADO Examples and Best Practices
Ado Examples and Best Practices
ISBN: 189311516X
EAN: 2147483647
Year: 2000
Pages: 106

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: