summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@qt.io>2018-01-18 11:37:57 +0100
committerFrederik Gladhorn <frederik.gladhorn@qt.io>2018-01-18 21:08:19 +0000
commitb1198d34020f2aa291943ac5ee2a7a1eb19dbaf3 (patch)
tree109e05e8be68f36a39c3a0cf8a7d0444e3212de1
parent6a875b9f81ee6dfaadde0d61ba6e7f8637d67668 (diff)
Fix provisioning: Wait for msvc-2013 update 5 to finish
Installing Update 5 for Visual Studio 2013 Update 5 (KB2829760)... Removing C:\Windows\Temp\vs12-kb2829760.exe ... Caught System.UnauthorizedAccessException Access to the path 'C:\Windows\Temp\vs12-kb2829760.exe' is denied. Change-Id: I9fe136f0361ee21e38563dd17bf76bf4fd53747f Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
-rw-r--r--coin/provisioning/qtci-windows-8.1-x86_64/08-msvc-2013-update5.ps13
1 files changed, 1 insertions, 2 deletions
diff --git a/coin/provisioning/qtci-windows-8.1-x86_64/08-msvc-2013-update5.ps1 b/coin/provisioning/qtci-windows-8.1-x86_64/08-msvc-2013-update5.ps1
index 202d072d..447e7b1f 100644
--- a/coin/provisioning/qtci-windows-8.1-x86_64/08-msvc-2013-update5.ps1
+++ b/coin/provisioning/qtci-windows-8.1-x86_64/08-msvc-2013-update5.ps1
@@ -40,10 +40,9 @@ $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"
echo "Fetching patch for Visual Studio $version..."
Copy-Item $url_cache $package
-$commandLine = $package
echo "Installing Update 5 for Visual Studio $version..."
-. $commandLine /norestart /passive
+Start-Process -FilePath $package -ArgumentList "/norestart /passive" -Wait
echo "Removing $package ..."
remove-item $package