在 MSI 包中部署 Visual Studio Tools For Office 3.0 Runtime (EXE),而不使用引导程序
我创建了一个 Word Addin 并创建了 MSI 包来分发它。
使用 http://msdn.microsoft.com/en-us 中找到的信息/library/cc563937.aspx ...
我已经测试了Setup.exe并且插件安装正确。
问题是当通过我们的网络部署插件时,我们的系统管理员需要 MSI 而不是 exe 中的文件。但是,在运行 MSI 时,需要首先安装先决条件 (VSTOR.EXE)。默认情况下,这会要求我们运行 setup.exe(boostrapper)来安装文件。
如果我能找到 VSTOR.EXE 的 MSI(不幸的是我找不到),那么我们可以首先将其推送到所有计算机,然后满足先决条件并且不会调用引导程序。
任何建议都会很棒吗?
克里斯
I have created a Word Addin and created the MSI package to distribute it.
Using the information found in http://msdn.microsoft.com/en-us/library/cc563937.aspx ...
I have tested the Setup.exe and the Addin installs correctly.
The issue is when deploying the Addin over our network our system admin needs the file in an MSI rather than an exe. However when running the MSI a pre-requisite (VSTOR.EXE) needs to be installed first. This by default asks us to run the setup.exe (boostrapper) which installs the files.
If i can find an MSI of VSTOR.EXE (which unfortunately i can't) then we could push that out to all machines first therfore the pre-requisite would be met and the bootstrapper would not be called.
Any suggestions would be great???
Chris
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您使用的是 Visual Studio 2008 SP1,以下是 VSTO 运行时安装信息:
Microsoft:VSTO 运行时 3.0,VSTO Runtime 3.0 SP1(两者都需要)
安装 VSTO 3.0,然后安装 SP1。这是引导程序使用的静默安装:
[vstor.exe] /q:a /c:"install /q /l"
如果您想在安装前检查某些注册表值(以判断是否已安装),请查找这些值(3.0,然后是 SP1):
HKLM\Software\Microsoft\VSTO 运行时安装\v9.0.21022\Install
HKLM\Software\Microsoft\VSTO 运行时安装程序\v9.0.30729\Install
If you're using Visual Studio 2008 SP1, here is the VSTO run-time installation info:
Microsoft: VSTO Runtime 3.0, VSTO Runtime 3.0 SP1 (Both required)
Install VSTO 3.0, then SP1. Here is the silent install used by the bootstrapper:
[vstor.exe] /q:a /c:"install /q /l"
If you want to check some registry values before installing (to tell if already installed), look for these (3.0, then SP1):
HKLM\Software\Microsoft\VSTO Runtime Setup\v9.0.21022\Install
HKLM\Software\Microsoft\VSTO Runtime Setup\v9.0.30729\Install
使用组策略部署 vstor.exe(Office 第二版运行时的 Visual Studio 2005 工具)。
此 GPO 和脚本已成功测试:
Deploying vstor.exe (Visual Studio 2005 Tools for Office Second Edition Runtime) using Group Policy.
This GPO and script have been tested successfully: