View Full Version : COM Registration & auto repair

04-24-2006, 10:14 AM
Hello all,

I'm building a setup of an application that uses DAO, so I include Dao 3.60 reditributable package.
As soon as my main application is running, an auto repair randomly triggers.

After some tests I could see autorepairs occurs when my Access database is not accessible.
I looked in the event log and saw that dao component triggered the autorepair.
I guess my application calls DAO objects when starting, and theses DAO objects perform a health check, because of com registration during installation.

I'm not sure if I am right... ?
If so, how can I avoid that autorepair ?

Remove MSI COM registration and register them by myself ?
Move the dao component to an other feature ?

I tried to delete class table entries about dao (in the direct editor tool), it seems to have fix my problem (my application doesn't trigger autorepair even if the database is not accessible) but I don't know if it can be dangerous...

What is the best way ?

Thanks you in advance.

04-27-2006, 05:23 AM
Using an other feature doesn't seem to work, can anyone help me ?

Thank you.

04-28-2006, 10:35 AM
All right, placing the DAO merge module in an other feature works after some tests...

However I have an other question :

Why the DAO merge module have the condition "NOT (VersionNT=500 OR Version9X=490)"... ?

This article http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/operating_system_property_values.asp
lets me know that theses conditions prevent the installation of the DAO on Windows 2000 and windows Me, but why !?
DAO works fine on windows 2000 !

Some help will be greatly appreciated...