[Windows] Update AzureCosmosDbEmulator signature and Removing VSredist 17 installation in Postgresql (#12247)

* [Windows] Update AzureCosmosDbEmulator signature

* [Windows] Removing VC reddist installation in Postgress
This commit is contained in:
akilesh-amaran
2025-05-28 01:22:34 +05:30
committed by GitHub
parent 95dda62db1
commit ab80dde746
2 changed files with 1 additions and 9 deletions

View File

@@ -58,14 +58,6 @@ if ($null -ne ($toolsetVersion | Select-String -Pattern '\d+\.\d+\.\d+')) {
} while (!$response)
}
if ((Get-ToolsetContent).postgresql.installVcRedist) {
# Postgres 14 requires the vs 17 redistributable
$vs17RedistUrl = "https://aka.ms/vs/17/release/vc_redist.x64.exe"
Install-Binary `
-Url $vs17RedistUrl `
-InstallArgs @("/install", "/quiet", "/norestart") `
-ExpectedSignature (Get-ToolsetContent).postgresql.vcRedistSignature
}
# Return the previous value of ErrorAction and invoke Install-Binary function
$ErrorActionPreference = $errorActionOldValue