aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1
diff options
context:
space:
mode:
authorTony Sarajärvi <tony.sarajarvi@qt.io>2017-09-03 08:30:17 +0300
committerTony Sarajärvi <tony.sarajarvi@qt.io>2017-10-24 12:53:26 +0000
commit372d2bb0764724cd5239ad47ad71927eef7ab090 (patch)
tree98bd5f4e05d1ae1f0b6e9b71d1a82fb4be820245 /coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1
parent3b7b924b31f28c38068e99d4637a90e34362a685 (diff)
Provision vanilla Windows 7 x86 and use it
Change-Id: I96eefe2e69b5cbe5d68329be2bb4273d03bb85ca Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Diffstat (limited to 'coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1')
-rw-r--r--coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps119
1 files changed, 19 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1 b/coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1
new file mode 100644
index 00000000..ba194de6
--- /dev/null
+++ b/coin/provisioning/qtci-windows-7-x86/10-dxsdk.ps1
@@ -0,0 +1,19 @@
+. "$PSScriptRoot\..\common\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
+
+echo "Installing DirectX SDK"
+cmd /c "$exe /u"
+
+Remove-Item $exe
+
+echo "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt