Wix binaries upgrade

This commit is contained in:
vadym 2022-12-01 22:25:28 +02:00
parent 5745703838
commit e4e9ab864c

View file

@ -34,14 +34,14 @@ pacman -S --needed --noconfirm unzip git curl
# Download the wix tools! # Download the wix tools!
if [ ! -d wixbin ]; if [ ! -d wixbin ];
then then
curl -LO https://wixtoolset.org/downloads/v3.14.0.3910/wix314-binaries.zip curl -LO https://wixtoolset.org/downloads/v3.14.0.6526/wix314-binaries.zip
if [ `md5sum wix314-binaries.zip | cut -f 1 -d " "` != "34f655cf108086838dd5a76d4318063b" ]; if [ `md5sum wix314-binaries.zip | cut -f 1 -d " "` != "aecd655bb56238d48ef5254cd4dc958e" ];
then then
echo "wix package didn't match expected checksum" echo "wix package didn't match expected checksum"
exit 1 exit 1
fi fi
mkdir -p wixbin mkdir -p wixbin
unzip -o wix311-binaries.zip -d wixbin || ( unzip -o wix314-binaries.zip -d wixbin || (
echo "failed to unzip WiX" echo "failed to unzip WiX"
exit 1 exit 1
) )