使用 VSTO-AddIn 时什么时候需要 VSTO-Runtime?
When is the VSTO-Runtime needed when using a VSTO-AddIn?
我有一个 Outlook 的 VSTO 加载项,当我必须提供 VSTO-Runtime 时需要这些信息安装插件。
我已经找到这个 article 描述先决条件,但我可以构建不符合这个描述的案例:
文章说"If Office 2010 Service Pack 1 (version 14, build 6029) or any newer Office version is installed, Office will take care of configuring the VSTO runtime."
=> 这告诉我在这种情况下我不需要提供 VSTO-Runtime。
在我已经安装 Office 2010 并手动安装 ServicePack 2 的情况下,我的构建版本为 7015比 6029 更高版本的 Outlook。
我的安装程序识别了这一点,但不提供 VSTO-Runtime。
但是在安装后启动 Outlook 时,我收到一条错误消息,提示无法读取 .vsto 文件。
此错误只会在安装 VSTO-Runtime 后消失。然后 AddIn 工作正常。
我需要提供 VSTO-Runtime 的实际情况是什么?
如果您正在使用 windows 安装程序,只需将其添加为先决条件,这将创建一个 Setup.exe,并将其添加为安装程序中的启动条件以显示错误消息,即 Setup.exe 应该是 运行,或者只是让 Setup.exe 运行 总是,它会启动你的 .msi
have a look here - 我想这也适用于 Office 2013 .. 只需使用正确的组件 ID!
我有一个 Outlook 的 VSTO 加载项,当我必须提供 VSTO-Runtime 时需要这些信息安装插件。
我已经找到这个 article 描述先决条件,但我可以构建不符合这个描述的案例:
文章说"If Office 2010 Service Pack 1 (version 14, build 6029) or any newer Office version is installed, Office will take care of configuring the VSTO runtime." => 这告诉我在这种情况下我不需要提供 VSTO-Runtime。
在我已经安装 Office 2010 并手动安装 ServicePack 2 的情况下,我的构建版本为 7015比 6029 更高版本的 Outlook。
我的安装程序识别了这一点,但不提供 VSTO-Runtime。
但是在安装后启动 Outlook 时,我收到一条错误消息,提示无法读取 .vsto 文件。
此错误只会在安装 VSTO-Runtime 后消失。然后 AddIn 工作正常。
我需要提供 VSTO-Runtime 的实际情况是什么?
如果您正在使用 windows 安装程序,只需将其添加为先决条件,这将创建一个 Setup.exe,并将其添加为安装程序中的启动条件以显示错误消息,即 Setup.exe 应该是 运行,或者只是让 Setup.exe 运行 总是,它会启动你的 .msi
have a look here - 我想这也适用于 Office 2013 .. 只需使用正确的组件 ID!