Is it possible to register a .NET assembly for COM interop without adding registry entries?

若如初见. 提交于 2019-11-30 21:18:12

You could use registration-free activation of COM components. I have used this in an application deployed via click-once and it worked well. Here are a few links to get you started:

Registration-Free Activation of .NET-Based Components

Walkthrough: Manually Deploying a ClickOnce Application

How To: ClickOnce deployment for unmanaged app with COM component in managed assembly

I came across registration-free COM while researching a related problem. I didn't end up using it, so I can't say for sure if it will solve your problem, but it might be worth checking out:

Simplify App Deployment with ClickOnce and Registration-Free COM

Registration-Free Activation of .NET-Based Components: A Walkthrough

Don't think you can. Might be wrong but a big part of COM is really just a way to find things via the registry. If you can't edit the registry... you are in trouble.

http://en.wikipedia.org/wiki/Component_Object_Model#Registry

It depends on the scenario, but maybe Registration free COM (using a manifest) will help. See this article

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!