views:

253

answers:

1

I am registering a delphi assembly using regsvr32. We are currently using Desktop Authority to deploy our installation package for the .NET application. We are needing to use the delphi assembly in our .NET application so i have to register the assembly with regsvr32 with the installation. Although i have ran into problems if i register from desktop authority using a batch file, or even a exe that calls regsvr32, the assembly crashes when trying to load. I get a COm Exception saying there was an error retrieving Com Class factory Error: 800401f9. I have registered the assembly locally and it will work fine. I have also tried adding the registry keys directly to the installer and that doesn't work either, same error. Is there a way i can get this working from Desktop Autority or installer?

A: 

Have you tried running the install as an administrator? Also make sure that your installer is named setup or install as the first 5 or 7 characters respectfully. If not, and installing into VISTA/Win7 then the application installer might not update the registry properly.

skamradt
It is running as an admin. It is named setup. We are running win xp currently. It seems so weird that it is causing this problem.
Andy