From 191debeed6b34eb595f1c2ca234536ceee5e00e8 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Wed, 14 Mar 2018 11:11:36 +0100 Subject: [PATCH] installer/build.ps1: update to use TLS 1.2 when downloading from github due to https://blog.github.com/2018-02-23-weak-cryptographic-standards-removed/, fixes usage on Win10 --- installer/build.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/installer/build.ps1 b/installer/build.ps1 index b89542ee..9afe8fc1 100644 --- a/installer/build.ps1 +++ b/installer/build.ps1 @@ -43,6 +43,7 @@ $sourceDir = mkdir -Force Source mkdir -Force Work,Output | Out-Null Write-Verbose "Downloading WiX..." +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 Get-FileIfNotExists "https://github.com/wixtoolset/wix3/releases/download/wix311rtm/wix311-binaries.zip" "$sourceDir\wix-binaries.zip" mkdir -Force WiX | Out-Null Expand-Archive -Path "${sourceDir}\wix-binaries.zip" -DestinationPath WiX -Force