mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
Another mop up commit to add missing changes from the last mop-up.
This commit is contained in:
@@ -1,24 +1,23 @@
|
||||
################################################################################
|
||||
## File: Install-SSDT.ps1
|
||||
## Team: CI-Platform
|
||||
## Desc: Install SQL Server Data Tools for Windows
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
#SSDT for Visual Studio 2017 (15.8.2)
|
||||
$InstallerURI = 'https://download.microsoft.com/download/D/F/8/DF8B51B9-8E9F-47F3-A27B-33EEDADD8966/SSDT-Setup-ENU.exe'
|
||||
$InstallerName = 'SSDT-Setup-ENU.exe'
|
||||
$logFilePath = "$env:TEMP\ssdtlog.txt"
|
||||
$ArgumentList = ('/install', 'INSTALLALL', '/passive', '/norestart', "/log `"$logFilePath`"")
|
||||
|
||||
$exitCode = Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
|
||||
|
||||
if($exitCode -ne 0 -and $exitCode -ne 3010)
|
||||
{
|
||||
Write-Host "******** SSDT SETUP LOG START ********"
|
||||
Write-Host $(Get-Content $logFilePath | Out-String)
|
||||
Write-Host "******** SSDT SETUP LOG END ********"
|
||||
}
|
||||
|
||||
exit $exitCode
|
||||
################################################################################
|
||||
## File: Install-SSDT.ps1
|
||||
## Desc: Install SQL Server Data Tools for Windows
|
||||
################################################################################
|
||||
|
||||
Import-Module -Name ImageHelpers -Force
|
||||
|
||||
#SSDT for Visual Studio 2017 (15.8.2)
|
||||
$InstallerURI = 'https://download.microsoft.com/download/D/F/8/DF8B51B9-8E9F-47F3-A27B-33EEDADD8966/SSDT-Setup-ENU.exe'
|
||||
$InstallerName = 'SSDT-Setup-ENU.exe'
|
||||
$logFilePath = "$env:TEMP\ssdtlog.txt"
|
||||
$ArgumentList = ('/install', 'INSTALLALL', '/passive', '/norestart', "/log `"$logFilePath`"")
|
||||
|
||||
$exitCode = Install-EXE -Url $InstallerURI -Name $InstallerName -ArgumentList $ArgumentList
|
||||
|
||||
if($exitCode -ne 0 -and $exitCode -ne 3010)
|
||||
{
|
||||
Write-Host "******** SSDT SETUP LOG START ********"
|
||||
Write-Host $(Get-Content $logFilePath | Out-String)
|
||||
Write-Host "******** SSDT SETUP LOG END ********"
|
||||
}
|
||||
|
||||
exit $exitCode
|
||||
|
||||
Reference in New Issue
Block a user