aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/dxsdk.ps1
blob: ce2bbeb3fed716fa67d032f4c9d82f536771482c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
. "$PSScriptRoot\helpers.ps1"

# This script installs DirectX SDK

$package = "DXSDK_Jun10.exe"

$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
$officialUrl = "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/$package"
$sdkChecksum = "8fe98c00fde0f524760bb9021f438bd7d9304a69"
$exe = "C:\Windows\Temp\$package"

Download $officialUrl $cachedUrl $exe

Write-Host "Installing DirectX SDK"
Run-Executable $exe "/u"

Remove-Item -Path $exe

Write-Output "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt