【问题标题】:Outlook Add-In can't be installed on a machine after installing Office 2013安装 Office 2013 后无法在计算机上安装 Outlook 加载项
【发布时间】:2013-02-17 22:03:01
【问题描述】:

我已经使用 Outlook Add in template 和 VSTO 在 Visual Studio 2010 中实现了 Outlook 添加,我使用 MSI 安装程序(在 Visual Studio 2010 中创建)为其创建了安装。我能够在所有机器上安装它( x86 和 x64)。

最近我尝试在安装了 Office 2013 的机器上安装相同的安装程序,并收到以下错误:

我要强调的是,我没有更改系统配置中的任何内容,只是安装了 Office 2013 以及那里安装的内容。

我在“Lv”模式下运行 MSI(以详细方式记录)并且日志文件没有给我有用的信息。它只包含:

=== Logging stopped: 15/02/2013  14:22:04 ===
MSI (c) (20:24) [14:22:04:626]: Note: 1: 1708 
MSI (c) (20:24) [14:22:04:626]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (c) (20:24) [14:22:04:626]: Note: 1: 2262 2: Error 3: -2147287038 
MSI (c) (20:24) [14:22:04:626]: Product:  Outlook AddIn -- Installation failed.

MSI (c) (20:24) [14:22:04:626]: Windows Installer installed the product. Product Name: Outlook AddIn. Product Version: 1.7.0. Product Language: 1033. Manufacturer: "Company". Installation success or error status: 1603.

MSI (c) (20:24) [14:22:04:626]: Grabbed execution mutex.
MSI (c) (20:24) [14:22:04:626]: Cleaning up uninstalled install packages, if any exist
MSI (c) (20:24) [14:22:04:641]: MainEngineThread is returning 1603
=== Verbose logging stopped: 15/02/2013  14:22:04 ===

提前感谢您的帮助...

【问题讨论】:

  • 你可能会得到更多的信息记录与所有参数lvoicewarmupx

标签: visual-studio-2010 windows-installer office-interop outlook-addin office-2013


【解决方案1】:

通常加载项安装程序也package PIA prerequisites,在丢失时安装。这就是为什么消息说直接运行“setup.exe”而不是 MSI。

先决条件安装在主包之前,即 MSI,这仅由“setup.exe”文件处理。

如果项目也针对 Office 2013 进行了配置,那么 VS 应该在包中包含适当的先决条件,并且运行 setup.exe 应该安装它们。试试看,看看效果如何。

【讨论】:

    猜你喜欢
    • 2013-06-04
    • 2014-11-12
    • 1970-01-01
    • 1970-01-01
    • 2010-11-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多