What's the simplest way to ensure that WiX projects build without having to install the toolkit?

前端 未结 2 877
逝去的感伤
逝去的感伤 2021-02-09 00:16

I\'ve had some trouble getting WiX projects to build on build servers. One of the pain points has been that my WiX projects are referencing libraries in c:\\program files

相关标签:
2条回答
  • 2021-02-09 00:54

    There is an unofficial nuget package at WiX.Toolset. However, note that this seems to only be applicable to the setup project itself (i.e. it cannot be used to fetch wix binaries for e.g. a class library assembly).

    0 讨论(0)
  • 2021-02-09 01:05

    You can download just the WiX Binaries .zip from http://wixtoolset.org/releases/ then you can modify your wixproj file and update the <WixToolPath></WixToolPath> element to point to your WixBinaries

    The WiX documentation has an article that explains how: Integrating Wix Projects into your Daily Builds

    0 讨论(0)
提交回复
热议问题