Solved

vb installation error msado25tlb can't be registered

Posted on 2004-09-28
4
468 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
[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
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

705 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