安装Office 2013后,无法在计算机上安装Outlook加载项

时间:2013-02-17 22:03:02

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

我使用Outlook Add in模板和VSTO在visual studio 2010中实现了Outlook添加,我使用MSI安装程序(在visual studio 2010中创建)为它创建了一个安装..我能够在所有机器上安装它( x86和x64)。

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

enter image description here

我应该强调,我没有更改系统配置中的任何内容,只是安装了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 ===

提前感谢您的帮助......

1 个答案:

答案 0 :(得分:1)

通常还有加载项安装程序package PIA prerequisites,以便在丢失时进行安装。这就是消息说直接运行“setup.exe”而不是MSI的原因。

先决条件在主程序包(即MSI)之前安装,并​​且只能由“setup.exe”文件处理。

如果项目是为Office 2013配置的,则VS应该在程序包中包含相应的先决条件,并且运行setup.exe应该安装它们。试一试,看看它是怎么回事。

相关问题