]> git.lizzy.rs Git - rust.git/blob - src/ci/scripts/install-innosetup.sh
lowering: cleanup some hofs
[rust.git] / src / ci / scripts / install-innosetup.sh
1 #!/bin/bash
2 # We use InnoSetup and its `iscc` program to also create combined installers.
3 # Honestly at this point WIX above and `iscc` are just holdovers from
4 # oh-so-long-ago and are required for creating installers on Windows. I think
5 # one is MSI installers and one is EXE, but they're not used so frequently at
6 # this point anyway so perhaps it's a wash!
7
8 set -euo pipefail
9 IFS=$'\n\t'
10
11 source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
12
13 if isWindows; then
14     curl.exe -o is-install.exe "${MIRRORS_BASE}/2017-08-22-is.exe"
15     cmd.exe //c "is-install.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"
16
17     ciCommandAddPath "C:\\Program Files (x86)\\Inno Setup 5"
18 fi