Wix安装程序无法在buildserver上构建 [英] Wix Installer won't build on buildserver

查看:66
本文介绍了Wix安装程序无法在buildserver上构建的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用我们的构建服务器来构建Wix MSI.我已在配置管理器中将构建配置设置为DEBUG/x86.除Wix Installer之外,所有其他项目都可以正确构建.

I have tried to build a Wix MSI using our build server. I have set the build configuration in the Configuration manager to DEBUG/x86. All the other projects build correctly EXCEPT for the Wix Installer.

最初出现错误,要求在构建服务器上安装WIX的最新版本必须安装WiX Toolset v3.11(或更高版本)构建工具才能构建此项目.要下载WiX Toolset,请参见 http://wixtoolset.org/releases/,所以我追随了- https://wixtoolset.org/documentation/manual/v3/msbuild/wix_with_team_build.html

Initially there was an error requesting the latest version of WIX was installed on the build server "The WiX Toolset v3.11 (or newer) build tools must be installed to build this project. To download the WiX Toolset, see http://wixtoolset.org/releases/" so I follwed this - https://subscription.packtpub.com/book/web_development/9781784393212/1/ch01lvl1sec12/compiling-a-wix-installer-on-a-build-machine-using-msbuild also have used this - https://wixtoolset.org/documentation/manual/v3/msbuild/wix_with_team_build.html

现在,该构建冻结在Wix项目上,并最终在59分钟时超时.怎么了什么需要纠正?

Now the build freezes on the Wix project and eventually times oout at 59 minutes. What would be wrong? what needs correctling?

我已经尝试过这些建议- https://wixtoolset.org/documentation/manual/v3/msbuild/wix_with_team_build.html

I have tried these suggestions already - https://subscription.packtpub.com/book/web_development/9781784393212/1/ch01lvl1sec12/compiling-a-wix-installer-on-a-build-machine-using-msbuild also have used this - https://wixtoolset.org/documentation/manual/v3/msbuild/wix_with_team_build.html

期望它可以构建,然后我可以创建一个MSI文件.

Expecting it to build, then I can create an MSI file.

推荐答案

.NET 3.5 :这很可能是另外一回事,但也许尝试安装 .NET Framework 3.5 . WiX 3.x 具有依赖于此.NET版本的内部版本.

.NET 3.5: This might very well be something else, but maybe try to install the .NET Framework 3.5. WiX 3.x has a build-dependency requiring this .NET version.

操作方法 :有关更多详细信息,请参见此答案:

这篇关于Wix安装程序无法在buildserver上构建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆