Link to home
Start Free TrialLog in
Avatar of PerStrand
PerStrand

asked on

How to create vb6 installation with access databes correct?

I use vb6 and ado with an access database.
I use Wise for Windows Installer 4.
I am new to Wise installation software.
How to get the right version of mdac?
Should I use Package Wizard for access to get a runtime version?
I get this error message when I try install the software!
Error 1904: path...\masdo25.tlb to register. HResult - Contact your support personnel.

I don't know where this module should be.
How sholud I do in order to succed with the installation or where can I get the information I need to make the installation correct?
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

you shouldn't distribute msado25.tlb. you need to distribute MDAC_TYP.EXE

find vb6dep.ini on your PC, open it, find the "MSADO20.tlb" section, copy it and paste it just under and change MSADO20 for MSADO25
Avatar of PerStrand
PerStrand

ASKER

This is what I find in vbdep.ini

[MSADOR15.dll]
Dest=$(CommonFilesSys)\ADO
Replace Conditional=mdac_typ.exe
CABFileName=mdac20.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABINFFile=mdac20c.inf

[MSADO15.dll]
Dest=$(CommonFilesSys)\ADO
Replace=mdac_typ.exe
CABFileName=mdac_typ.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABRunFile=setup.exe

When I run the performing validation in Wise for Windows Installer I get this respons!

The file msado25.tlb is installed in a shared directory without the Shared DLL Reference Count flag set.
File Key: msado25.tlb

The file is put on
C:/Program files/Common files/SYSTEM/ADO/msado25.tlb

What to do!
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
Thanks, emoreau  for your help here.

I have finalized this question, and will monitor it for comments.

Moondancer - EE Moderator