mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-14 22:09:26 +00:00
[Windows] Add SQL OLEDB Driver to win19 and win22 (#4893)
* Add SQL OLEDB Driver to win19 and win22 * Update installation, improve install-binary and resolve comments * Slight improvement of the installation. Fixing argument list for the WebPI * Fix argument list for AzureCLI * Fix software report
This commit is contained in:
@@ -45,7 +45,10 @@ function Install-Binary
|
||||
$fileExtension = ([System.IO.Path]::GetExtension($Name)).Replace(".", "")
|
||||
if ($fileExtension -eq "msi")
|
||||
{
|
||||
$ArgumentList = ('/i', $filePath, '/QN', '/norestart')
|
||||
if (-not $ArgumentList)
|
||||
{
|
||||
$ArgumentList = ('/i', $filePath, '/QN', '/norestart')
|
||||
}
|
||||
$filePath = "msiexec.exe"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user