简体   繁体   English

通过组策略部署VSTOR 4 Framework MSI

[英]VSTOR 4 Framework MSI Deployment via Group Policy

I developed an Outlook 2010 Add-In, which is going to be deployed on hundreds of machines. 我开发了一个Outlook 2010加载项,它将被部署在数百台计算机上。 In order to deploy the add-in, I made use of the Microsoft's ClickOnce mechanism. 为了部署外接程序,我使用了Microsoft的ClickOnce机制。

The add-in relies on Visual Studio Tools for Office 2010 Runtime framework (VSTOR 4). 加载项依赖于Office 2010 Runtime框架(VSTOR 4)的Visual Studio工具。 It is highly inconvenient to manually install the framework on all the machines. 在所有机器上手动安装框架非常不方便。 What will be good is some sort of an automated process to do bulk installation on clients machines. 最好是某种自动化的过程在客户端计算机上进行批量安装。 IT seems the best route to follow is to deploy pre-requisites through Group Policies. IT部门似乎最好的遵循方法是通过组策略部署先决条件。 The issue here is that it accepts MSI files only. 这里的问题是它仅接受MSI文件。 VSTOR 4 does not come in the MSI format, but EXE. VSTOR 4不是MSI格式,而是EXE。 Any help please? 有什么帮助吗?

I researched and found out that a large number of developers face this problem. 我研究发现,很多开发人员都面临这个问题。 And here is how I solved it. 这就是我解决的方法。

Install 7-zip, and extract all content of the "vstor_redist.exe" to a folder. 安装7-zip,然后将“ vstor_redist.exe”的所有内容提取到一个文件夹中。 Confirm all the overwrite requests it might ask you. 确认所有可能要求您的覆盖请求。 Navigate inside the folder and find another folder "vstor40"; 浏览该文件夹,找到另一个文件夹“ vstor40”; navigate there and find 2 files: "vstor40_x64.exe" and "vstor40_x86.exe". 导航到那里,找到2个文件:“ vstor40_x64.exe”和“ vstor40_x86.exe”。 Use 7-zip to extract the content from those files. 使用7-zip从这些文件中提取内容。 And...here you go, you have your MSI files. 并且...到这里,您拥有MSI文件。

Hope it would help fellow developers in future VSTO development. 希望它对将来的VSTO开发有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM