mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +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:
8
images/win/scripts/Installers/Install-SQLOLEDBDriver.ps1
Normal file
8
images/win/scripts/Installers/Install-SQLOLEDBDriver.ps1
Normal file
@@ -0,0 +1,8 @@
|
||||
################################################################################
|
||||
## File: Install-SQLOLEDBDriver.ps1
|
||||
## Desc: Install SQL OLEDB Driver
|
||||
################################################################################
|
||||
|
||||
$binaryDownloadPath = Start-DownloadWithRetry "https://go.microsoft.com/fwlink/?linkid=2183083" "msoledbsql.msi"
|
||||
$ArgumentList = ("/i", "$binaryDownloadPath", "ADDLOCAL=ALL", "IACCEPTMSOLEDBSQLLICENSETERMS=YES", "/qn")
|
||||
Install-Binary -FilePath msiexec.exe -ArgumentList $ArgumentList
|
||||
Reference in New Issue
Block a user