Solved

vb installation error msado25tlb can't be registered

Posted on 2004-09-28
4
463 Views
Last Modified: 2008-01-09
I used the vb package and deployment wizard to create an install for a vb prgram.

References included in the program:

VB for Applications
VB runtime Objects and Procedures
vb objects and procedures
Ole automation
Microsoft DAO 3.6 Object library

components included in the program

microsoft calendar control 8.0
miscrosoft common dialog control 6.0
microsoft masked edit control 6.0
microsoft common controls-2 6.0

I fixed an error on the install that occurred by modifying a file by the following:

1. In a text editor such as Notepad, open the MSCal.dep file.
2. Remove the letters "Ex" from the Register=$(DLLSelfRegisterEx) line so that it looks as follows:
Register=$(DLLSelfRegister)
3. Save the MSCal.dep file, and then close Notepad.
4. Re-create the package to include the modified dependency file.

The modification allows the install to "work" and I no longer get the self registering error, but I now get the following error message during the installation:

An error occurred while registering the file 'C\Windows\System32\msado25.tlb'

First, I don't understand why there is an ado object associated with this program since I use dao.

Second, how to I fix the problem.  I can click "Ignore" in the message box and the install actually completes successfully and the program is seeming to run fine.

Thanks for your assistance.
0
Comment
Question by:MikeORTEC
  • 2
4 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12167925
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 12561031
Points to emoreau
0
 

Author Comment

by:MikeORTEC
ID: 12562040
Sorry, I let this one slide.  The comment was all that I needed.
Mike
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

816 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now