Redistributing MDAC

  • Thread starter Thread starter Nigel Findlater
  • Start date Start date
N

Nigel Findlater

Hallo

I have an application that uses an access database. I
would like to create an installation package for this. I
have suceeded create a package using Dotnetfx.exe and the
Setupini to create a single setup.exe that will install
the .NetFramework and my package on a machine that has
MDAC 2.6 or higher.

How can I make a single setup.exe that will also install
the MDAC if required?

Thanks in advance...

Nigel...
 
Nigel:

The way I have handled your problem in the past is by
modifying an existing merge module that i downloaded from
Microsoft

<http://support.microsoft.com/default.aspx?scid=kb;en-
us;320788>

All you have to do is follow the instructions in the white
paper and you add the modified merge module to your setup
project and it will install.

There is an older method listed here, that I just stumbled
upon, but it may work also...

<http://support.microsoft.com/default.aspx?scid=kb;EN-
US;q257604>

Like I said, I've used the first method before and my
Access Databases deploy rather flawlessly. However, I am
confused about something else and perhaps you or another
person has the answer. Since Microsoft has separated the
Jet 4.0 components from MDAC since version 2.6, and now
Jet 4.0 is at Service Pack 7. Do we now need to find some
way to package the Jet files in our setup so that the
database will run properly, and if so...how are we
supposed to do it.

Sorry to piggyback my question on to yours, but i hope
those links are of some help to you.

Jorin
 
Jorin,

I have been watching this thread since I too want to do the same.
However, I had previously found KB Question 320788 and downloaded the
example file. But once I open the file it has more links inside it
(specifically to the actual demo code) and those links lead nowhere.
Do you have any other ideas.
 
Dan:

I downloaded the "MDAC Merge Module.exe" from that KB
article (320788) and all the links in the enclosed word
document worked fine for me and they are the same files I
downloaded and used previously.

I dont see any links to demo code in the word document, so
perhaps we are talking about different files or something.

Here is the link to the file i downloaded to make sure we
are on the same page

http://download.microsoft.com/download/4/8/8/488bf01a-54c3-
4008-b663-3a5b8699b589/MDAC%20Merge%20Module.exe

Sorry I cant be of any more help...


Jorin
 
I discovered my error. I was opening the .doc file using Wordpad (since I
don't have Word installed). I also tried Wordperfect but the links were not
converted correctly. Finally I use quickview which at least gave me the
link URL and I could cut and paste from there.

Thanks for the help.
 
Back
Top