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>
(cherry picked from commit b1198d3402)
This commit is contained in:
Frederik Gladhorn
2018-01-18 11:37:57 +01:00
committed by Simo Fält
parent ee20f27b46
commit 9348e3ca55

View File

@@ -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