summaryrefslogtreecommitdiffstats
path: root/src/ci/scripts/install-wix.sh
blob: 688f1a49cbfdc69fea8c5e86604b2ab0f7a20441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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