Solved

How to create vb6 installation with access databes correct?

Posted on 2002-03-19
5
505 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 100 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

Industry Leaders: 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

707 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