From 46101ee5c5875247407fffeff646ba871d189f01 Mon Sep 17 00:00:00 2001 From: david22swan Date: Thu, 24 Jul 2025 10:34:06 +0100 Subject: [PATCH] (CAT-2413) Update `install_powershell.ps1` to generate the correct link As it stands the download link generated is missing the type variable and as such is considered invalid. This is likely a remnant of when the agent was the only product hosted on the site. --- tasks/install_powershell.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/install_powershell.ps1 b/tasks/install_powershell.ps1 index ce67f2ee..49039bd6 100644 --- a/tasks/install_powershell.ps1 +++ b/tasks/install_powershell.ps1 @@ -131,7 +131,7 @@ if ($absolute_source) { } else { $dev = '' } - $msi_source = "${windows_source}?version=${version}&os_name=windows&os_version=${major_os_version}&os_arch=${arch}&fips=${fips}${dev}" + $msi_source = "${windows_source}?type=native&version=${version}&os_name=windows&os_version=${major_os_version}&os_arch=${arch}&fips=${fips}${dev}" } else { $msi_source = "$windows_source/windows/${collection}/${msi_name}" }