• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 473
  • Last Modified:

vb installation error msado25tlb can't be registered

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
MikeORTEC
Asked:
MikeORTEC
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Éric MoreauSenior .Net ConsultantCommented:
Points to emoreau
0
 
MikeORTECAuthor Commented:
Sorry, I let this one slide.  The comment was all that I needed.
Mike
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now