?
Solved

How to create vb6 installation with access databes correct?

Posted on 2002-03-19
5
Medium Priority
?
510 Views
Last Modified: 2013-12-25
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?
0
Comment
Question by:PerStrand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6880401
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
0
 

Author Comment

by:PerStrand
ID: 6880604
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!
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 400 total points
ID: 6880631
insert this section

[MSADO25.tlb]
Dest=$(CommonFilesSys)\ADO
Replace=mdac_typ.exe
CABFileName=mdac_typ.cab
CABDefaultURL=http://activex.microsoft.com/controls/vb6
CABRunFile=setup.exe
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7060585
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:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065665
Thanks, emoreau  for your help here.

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

Moondancer - EE Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month12 days, 9 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question