0

我已经使用 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 ===

提前感谢您的帮助...

4

1 回答 1

1

通常加载项安装程序还会打包 PIA 先决条件,以便在缺少时进行安装。这就是为什么消息说直接运行“setup.exe”而不是 MSI。

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

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

于 2013-02-18T10:39:37.067 回答