简体   繁体   English

在不使用 clireg 的情况下注册 vb6 com+ 应用程序时如何指定 com+ 服务器?

[英]How do I specify the com+ server when registering a vb6 com+ application without using clireg?

I've found lots of documentation on how to install com+ components with WiX or an exported msi from dcomcnfg but the problem with these approaches is I can't see where to specify the com+ server.我找到了很多关于如何使用 WiX 或从 dcomcnfg 导出的 msi 安装 com+ 组件的文档,但是这些方法的问题是我看不到在哪里指定 com+ 服务器。

Currently we register the components with clireg and the -s switch which allows us to specify the com+ server like so:目前我们使用 clireg 和 -s 开关注册组件,它允许我们像这样指定 com+ 服务器:

clireg32.exe BLEH.VBR -s COMSERVER -t BLEH.TLB -d

This is messy to say the least and I've been trying to get this into some automated form of installation that doesn't involve calling a batch file full of clireg32 calls.至少可以说这很混乱,我一直在尝试将其引入某种自动安装形式,而无需调用充满 clireg32 调用的批处理文件。

Currently WiX is the backbone of our packaging automation so a solution with WiX would be awesome.目前 WiX 是我们包装自动化的支柱,因此具有 WiX 的解决方案将非常棒。

Thanks.谢谢。

Why can't you use the Wix3 ComPlus extensions?为什么不能使用 Wix3 ComPlus 扩展? (Sorry, no on-line link, check the Wix3 docs for reference and samples), Or maybe you want to register your ComPlus application as a SERVICE which at the moment is not possible with those extensions. (抱歉,没有在线链接,请查看 Wix3 文档以获取参考和示例),或者您可能希望将您的 ComPlus 应用程序注册为服务,而目前这些扩展无法实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM