Link to home
Start Free TrialLog in
Avatar of MikeORTEC
MikeORTEC

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Points to emoreau
Avatar of MikeORTEC
MikeORTEC

ASKER

Sorry, I let this one slide.  The comment was all that I needed.
Mike