Error: 2147024894 Automation error. The system cannot find the file specified - Advanced Installer Community
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Error: 2147024894 Automation error. The system cannot find the file specified

We have created a ADI setup which contains C# COM class library(dll and tlb) and vb6 application(exe).
We have set this dll for auto register(.Net assembly for COM interoperability)
In VB6 application we have included class library reference.
When we deploy the setup on system, we are facing "error 2147024894 Automation error. The system cannot find the file specified", when the application refereed COM object

The same setup is created in Visual studio Setup and Deployment, we didn't face any problem

Please suggest how to register COM class library.

Regards
Swati
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error: 2147024894 Automation error. The system cannot find the file specified

Hello Swati,

Instead of using our auto-registration option, could you try to create and use a custom action to register the related COM file as exposed in our "COM extraction from .ocx .exe does nothing or is incomplete" thread?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”