mirror of
https://github.com/actions/runner-images.git
synced 2025-12-30 13:58:18 +08:00
Update and refactor SQLOLEDBDriver installer (#8553)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
## Desc: Install SQL OLEDB Driver
|
||||
################################################################################
|
||||
|
||||
$binaryDownloadPath = Start-DownloadWithRetry "https://go.microsoft.com/fwlink/?linkid=2183083" "msoledbsql.msi"
|
||||
$binaryDownloadPath = Start-DownloadWithRetry "https://go.microsoft.com/fwlink/?linkid=2242656" "msoledbsql.msi"
|
||||
$binarySignatureThumbprint = "6E78B3DCE2998F6C2457C3E54DA90A01034916AE"
|
||||
$ArgumentList = ("/i", "$binaryDownloadPath", "ADDLOCAL=ALL", "IACCEPTMSOLEDBSQLLICENSETERMS=YES", "/qn")
|
||||
Install-Binary -FilePath msiexec.exe -ArgumentList $ArgumentList
|
||||
Install-Binary -FilePath $binaryDownloadPath -ArgumentList $ArgumentList -ExpectedSignature $binarySignatureThumbprint
|
||||
|
||||
Reference in New Issue
Block a user