Is there a way to activate a COM component which is an EXE COM application and also it's dependent COM dlls? I want to activate this COM component from .NET application(VS 2005/VS 2008).
The path of call is C# application --> invoking out-of-proc exe(this is through COM) and then this out-of-proc invokes few COM dlls
Reg-free COM does not work for out of process components.
ActiveX EXE and ActiveX Document project types cannot be used with Reg-Free COM, as discussed in the sidebar.
Simplify App Deployment with ClickOnce and Registration-Free COM
Look at Microsoft Forum Registration-Free EXE COM Server ? So, There is no direct way to do this work whithot any additional code. As for me, the code still needs for classic registration to correct date marshaling.
Registration free activation is described here. Roughly speaking, it looks like you create your COM components and clients as usual, then put them all into the same directory with a manifest file which contains the COM registration information.
You can check this article. Author is loading COM IFilter objects bypassing standard CoCreateInstance. Maybe this can help you.
来源:https://stackoverflow.com/questions/1026202/is-there-a-way-for-registration-free-activation-of-exe-com-components