aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/msvc-2013-update5.ps1
blob: 39cd3182406ba2f57b782699cc5fd8a3ee72eb75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2017 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
. "$PSScriptRoot\helpers.ps1"

# Install Visual Studio 2013 update 5

$version = "2013 Update 5 (KB2829760)"
$package = "C:\Windows\Temp\vs12-kb2829760.exe"
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\VS2013.5.exe"

Write-Host "Fetching patch for Visual Studio $version..."
Copy-Item $url_cache $package

Write-Host "Installing Update 5 for Visual Studio $version..."
Run-Executable "$package" "/norestart /passive"

Write-Host "Removing $package ..."
Remove "$package"

Write-Output "Visual Studio = $version" >> ~\versions.txt