Update and refactor SQLOLEDBDriver installer (#8553)

This commit is contained in:
sergei-pyshnoi
2023-10-16 17:03:27 +02:00
committed by GitHub
parent 3aa3daa4f9
commit 9d1c61329a

View File

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