0

I have a Visual Studio Setup Project created to install a VSTO application. The Setup Project outputs an EXE and 2 MSI files. One MSI for the VSTO and another MSI for Office Runtime dependency.

I know the setup.exe is used to check for pre-requisites like the office runtime, .NET and others.

However, the group policy User Configuration > Policies > Software Settings > Software Installation only accepts MSI files. How can I package all the three files into one single MSI to perform a silent installation?

4

1 回答 1

-1

不可能将 prereq 合并到单个 MSI 中。如果您想支持 GPO,您唯一能做的就是不要使用 prereqs 构建 EXE,而是在您的 MSI 中放置门控检查以验证它们是否存在。然后,客户必须为先决条件设置其他 GPO 分配。(假设先决条件可用作 MSI,.NET 则不可用。)

在现实世界中,几乎没有人使用 GPO 软件分发。限制性太强了。他们改用 SCCM 等工具。但这是 ServerFault 的问题,而不是 StackOverflow 的问题。

于 2013-11-01T18:58:52.267 回答