[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

@@ -5,6 +5,6 @@
Install-Binary -Type MSI `
-Url "https://aka.ms/cosmosdb-emulator" `
-ExpectedSHA256Sum "E2BEB2B242FEE3C1DD444C748C1ED1DC0120566ADC0A7BC612EB8EFB8D416089"
-ExpectedSHA256Sum "BFBA892C3B9E27093A6AA36CD3C447D812CA32D6A4361DB64E753A63C90C2766"
Invoke-PesterTests -TestFile "Tools" -TestName "Azure Cosmos DB Emulator"

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