SilverTab
05-11-2002, 06:58 PM
I'm using ADO in my app to connect to an access 2000 database, however, it looks like the package and deployment wizard do not include MDAC automaticaly in my app...(I tought it would suggest to include mdac is I used an ADO control in my program?) Is there anything I can do to distribute mdac with my app anyway?
Thinker
05-11-2002, 07:03 PM
There is a screen where you can add additional files to include.
Just add mdac_typ.exe in that screen.
SilverTab
05-11-2002, 07:08 PM
Ok I get the idea, however it looks like the installer will put Mdac_typ.exe in $AppPath....Is there a way that the setup could determine if the target computer has mdac already and if it doesn't then install it? istead of just putting mdac_typ.exe in the program's directory?
Thinker
05-11-2002, 07:34 PM
Well, it is a little different than that. When the install program
sees that file, it actually runs it to do the install if it isn't already
installed. Then it makes you reboot the computer and manually
restart the install. It does delete it after the install completes.
Not very friendly, but with the P&DW, there isn't much choice.
SilverTab
05-11-2002, 07:38 PM
Ok so basically, I just include Mdac_Typ.exe in my package and it will automatically check if the target computer has it...? The bad thing is that you have to manually restart the installer but I already knew that P&D wasn't the greatest installer builder.. ;)
Thinker
05-11-2002, 07:43 PM
I looked through the setup1 project (source is included with VB)
and it appears that it does try to see if it is already installed.