获取“注册 COM+ 应用程序时出错" [英] Getting "Error registering COM+ Application"

查看:67
本文介绍了获取“注册 COM+ 应用程序时出错"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 COM+ 应用程序,我试图通过双击 .msi 文件手动安装它,但它出现错误并且无法安装 COM+ 应用程序.

I have a COM+ application that i am trying to install manually by double clicking on the .msi file but it gives error and fails to install the COM+ application.

由于此错误,它也不会在组件服务中创建任何条目.

It doesn't create any entry in Component Services as well due to this error.

我也尝试在注册表中搜索,但可以找到任何带有 COM+ 应用程序名称的条目.

I tried searching in registry as well but could find any entry with the COM+ application name.

我该如何解决这个问题?我需要在我的服务器上安装这个 COM+ 应用程序.

How do i resolve this issue? I need to install this COM+ application on my server.

我已经添加了错误截图以供参考.

I have added screenshot of the error for reference.

推荐答案

管理员权限:首先,您是否以管理员权限运行 MSI?尝试从提升的 cmd.exe 启动以确保.COM+ MSI 文件可以从组件服务小程序导出 - 然后它们的质量很差.这是您可以尝试的模拟命令行:

Admin Rights: First of all, are you running the MSI with admin rights? Try launching from an elevated cmd.exe to be sure. COM+ MSI files can be exported from the Component Services applet - and they are then legendary poor quality. Here is a mock-up command line you can try:

msiexec.exe /i "Setup.msi" /QN /L*V "C:\log.log" /qn ALLUSERS=1

<小时>

日志记录:其次,请尝试记录安装以查看其中的内容.上面的命令行已经实现了日志记录,但这里有更多关于日志记录和解释日志文件的细节:


Logging: Secondly, please try to log the installation to see what it says in there. The above command line already implements logging, but here are more details on logging and interpreting the log file:

组件服务:您也可以尝试打开组件服务并从那里启动 MSI.我目前没有合适的 MSI 来测试.提供一些帮助您前进的步骤:

Component Services: You can also try to open Component Services and launch the MSI from there. I don't have a suitable MSI to test with at the moment. Providing some steps to get you going:

  • 启动:%windir%\system32\comexp.msc(Windows 键 + 点击 R + 输入 comexp.msc + OK)
  • 定位:组件服务 => 计算机 => 我的电脑=> COM+ 应用程序
  • 右键单击COM+ 应用程序" => 新建 => 程序 => 下一步 => 安装预编译程序 => 浏览到 MSI
  • Launch: %windir%\system32\comexp.msc (Windows Key + Tap R + Type comexp.msc + OK)
  • Locate: Component Services => Computers => My Computer => COM+ Applications
  • Right Click "COM+ Applications" => New => Program => Next => Install pre-built program => Browse to MSI

如果您在另一台计算机上安装了该组件,您或许可以导出新的 MSI 以在其他计算机上使用.我不确定.

If you have the component installed on another computer you might be able to export a new MSI to use on your other computers. I am not sure.

这篇关于获取“注册 COM+ 应用程序时出错"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆