Skip to content
Snippets Groups Projects
Commit 777b1104 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

contrib: wix: add the Wix tool as a windows prebuilt bin package

Rather than relying on it being installed somewhere on wine we can use our own
and control which version is used.

It's always added to the windows builds even though it may not be used in the
end. But the package is not big and doesn't require any building.

It requires dotnet 4.0 being installed in Wine.

While WIX is open source, the wix 3.5 we are using cannot realistically be
built in our contribs as it's hardcoded to build with VS 2008. Even the most
recent builds of WIX still don't build in Linux. We already use a prebuilt
version in Docker images, except it's a .msi file that is installed via wine.
parent c93ee73d
No related branches found
No related tags found
Loading
26b1d2a5b582fcaa31ffaaf289711854897f91e8e5002bd8ddee2e69c95a60f53c6e3375d38fba4519ddd4a68bcf402c36eaef5a8faa6f3a4b8b2bc011e8f05a wix3.5.2519.0.zip
WIX_VERSION=35
WIX_FULL_VERSION=3.5.2519.0
WIX_URL := https://wixtoolset.org/downloads/v$(WIX_FULL_VERSION)/wix$(WIX_VERSION)-binaries.zip
ifdef HAVE_WIN32
# this requires dotnet 4.0 to be installed when running wix
PKGS += wix
# need to be installed when using prebuilt
PKGS_TOOLS += wix
endif
.sum-wix: wix$(WIX_FULL_VERSION).zip
$(TARBALLS)/wix$(WIX_FULL_VERSION).zip:
$(call download_pkg,$(WIX_URL),wix)
wix: UNZIP_PARAMS=-d wix$(WIX_FULL_VERSION)
wix: wix$(WIX_FULL_VERSION).zip .sum-wix
$(UNPACK)
$(MOVE)
.wix: wix
install -d "$(PREFIX)/bin"
for f in $</*.exe $</*.exe.config $</*.dll $</*.targets $</*.cub $</*.wixlib ; do \
install $$f "$(PREFIX)/bin" ; \
done
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment