[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:
Maksim Shilov
2022-01-20 15:59:37 +03:00
committed by GitHub
parent 6af7ac92b6
commit afc8bd66cc
9 changed files with 35 additions and 5 deletions

View File

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