c# - msi 安装程序出现错误 2908

标签 c# visual-studio-2010 windows-installer installation

在 Windows xp 上安装 msi 安装程序期间,如果我选择“仅我”选项,则会收到以下错误:

"Installer has encountered an unexpected error installing this package. This may indicate a problem with this package . The error Code is 2908 ."

如果我选择“所有人”选项,它就会安装,但如果我尝试启动该应用程序:

the application has encountered a problem and needs to close

我首先尝试在对其进行编程并创建安装程序并具有 Windows 7 操作系统的计算机上安装该应用程序,并且安装程序和应用程序运行良好。预先感谢您。

最佳答案

错误代码 2908 表示安装程序无法注册组件:http://msdn.microsoft.com/en-us/library/aa372835(VS.85).aspx

我建议创建详细的安装日志,以查看哪些组件无法正确注册:http://support.microsoft.com/kb/2545723

这里还提供了有关日志可以为您提供哪些信息的信息:http://blogs.technet.com/b/paulpaa/archive/2010/02/05/how-to-read-a-windows-installer-verbose-log.aspx

关于c# - msi 安装程序出现错误 2908,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10533817/

相关文章:

winforms - Windows 窗体设计器中的居中对齐窗体

visual-studio-2010 - 包括 c++ 作为 pre-req,但说 "A new version already exists"

基类中的 C# 泛型类型

c# - 无法从 Iesi.Collections.Generic ISet<T> 中删除项目

asp.net - 用于 vs 2010 安装和配置的 Web API

c# - 检查对象列表是否包含属性

c# - 如何自定义 MSI 安装程序中的错误屏幕?

c# - WiX 自定义操作 - 构建失败

c# - MAX(id) 使用 SqlDataReader C#

c# - MVC 编译错误,在临时 ASP.NET 文件中使用 WebApplication1