Files
rust/src/ci/scripts/install-wix.sh
T
2019-10-28 15:09:18 +01:00

18 lines
434 B
Bash
Executable File

#!/bin/bash
# We use the WIX toolset to create combined installers for Windows, and these
# binaries are downloaded from https://github.com/wixtoolset/wix3 originally
set -euo pipefail
IFS=$'\n\t'
source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
if isWindows; then
ciCommandSetEnv WIX "$(pwd)/wix"
curl -O "${MIRRORS_BASE}/wix311-binaries.zip"
mkdir -p wix/bin
cd wix/bin
7z x ../../wix311-binaries.zip
fi