制作 COM+ C#安装包

发布于 2024-10-08 19:04:11 字数 359 浏览 0 评论 0原文

我最近的任务是简化由 w2k3 服务器的 5-6 个 COM+ 应用程序组成的 COM+ 安装,以前从未使用过 COM+。我已经看到一些使用 vbscript 执行此操作的方法,但我更喜欢这样做它在 C# 中。所以我一直在四处寻找,但似乎找不到任何与 C# 类似的东西。

我仅限于使用.NET 2.0,这可行吗?我一直在寻找 COM 相关的库,但到目前为止我还没有看到我可以使用什么。

如果你们能提供有关如何实现这一目标的任何指示,我将不胜感激,并且我也可能会在此过程中发布一些其他新手 COM+ 问题。

I recently got tasked with simplifying a COM+ installation consisting of 5-6 COM+ apps for w2k3 server, never having worked with COM+ before. I've seen some ways to do this with a vbscript, but I would much prefer doing it in C#. So I've been searching around and I can't seem to find anything similar for C#.

I am limited to using .NET 2.0, is this feasible? I have been looking for a COM related library, but so far I don't see what I could use.

I would appreciate any pointers you guys might have on how to achieve this, and I will also probably be posting a number of other newbie COM+ questions along the way.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

拒绝两难 2024-10-15 19:04:11

有一些东西可以帮助您 - 查看 System.EnterpriseServices 命名空间。

您必须跳过一些环节才能将您的.NET程序集注册为COM对象,但这应该是一个不错的起点。

There is something that will help you -- take a look at the System.EnterpriseServices namespace.

You will have to jump through some hoops to get your .NET assemblies registered as COM objects, but that should be a decent starting point.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文