How to get VS Installer to check for / install MDAC on target?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I originally posted this question in the vb.setupwiz forum, but they
suggested that it should be posted in a .net group, so I hope this is a
better fit - if not please point me in the right direction...

I have a VB.net application that relies on MDAC2.7+ to work. The install set
up generated by VS automatically checks for the existance of .Net on the
target machine and installs it if not present. I would like to get it to do
the same for MDAC, but some how I seem to be being thick!

Anybody got any ideas how to do this?

Thanks for the help...

Bernie
 
AFAIK, the existence of MDAC is controlled through the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DataAccess registry entries. The
version entry name has changed a couple of times, but it seems that now is
named "FullInstallVer". So, if the installer does not provide support for
that, you will have to create a custom action to read that entry and install
the MDAC package if needed.

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
Hi,

Include the mdac merge module in the setup project.
http://support.microsoft.com/default.aspx?scid=kb;en-us;320788

Ken
-------------------------
I originally posted this question in the vb.setupwiz forum, but they
suggested that it should be posted in a .net group, so I hope this is a
better fit - if not please point me in the right direction...

I have a VB.net application that relies on MDAC2.7+ to work. The install set
up generated by VS automatically checks for the existance of .Net on the
target machine and installs it if not present. I would like to get it to do
the same for MDAC, but some how I seem to be being thick!

Anybody got any ideas how to do this?

Thanks for the help...

Bernie
 
Ken,

Exactly what I was looking for - do you think I could find it.

I will try it when I get into work Monday

Regards,

Bernie
 
Ken,

Tried it out - works a treat! Need to modify the merge module to install
MDAC 2.8 instead of 2.7, but the instructions are clear enough.

Thanks again for the help,

Bernie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top