From 3c2913693da2c9fd58d88344a9932c988f5fca36 Mon Sep 17 00:00:00 2001 From: Peet McKinney <68706879+PeetMcK@users.noreply.github.com> Date: Wed, 17 Mar 2021 16:37:46 -0600 Subject: [PATCH] Update msvc2013x86Link and msvc2013x64Link https://aka.ms/highdpimfc2013x86enu and https://aka.ms/highdpimfc2013x64enu point to the current version of the 2013 redistributables. No need to continually update the hard coded links. --- scripts/windows/InstallWindowsAgent.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/windows/InstallWindowsAgent.ps1 b/scripts/windows/InstallWindowsAgent.ps1 index bcc5a7b1b..17abb0236 100644 --- a/scripts/windows/InstallWindowsAgent.ps1 +++ b/scripts/windows/InstallWindowsAgent.ps1 @@ -13,8 +13,8 @@ Param ( # JumpCloud Agent Installation Variables $msvc2013x64File = 'vc_redist.x64.exe' $msvc2013x86File = 'vc_redist.x86.exe' -$msvc2013x86Link = 'https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x86.exe' -$msvc2013x64Link = 'https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x64.exe' +$msvc2013x86Link = 'https://aka.ms/highdpimfc2013x86enu' +$msvc2013x64Link = 'https://aka.ms/highdpimfc2013x64enu' $TempPath = 'C:\Windows\Temp\' $msvc2013x86Install = "$TempPath$msvc2013x86File /install /quiet /norestart" $msvc2013x64Install = "$TempPath$msvc2013x64File /install /quiet /norestart" @@ -123,4 +123,4 @@ ipconfig /FlushDNS # JumpCloud Agent Installation Logic -DownloadAndInstallAgent -msvc2013x64link:($msvc2013x64Link) -TempPath:($TempPath) -msvc2013x64file:($msvc2013x64File) -msvc2013x64install:($msvc2013x64Install) -msvc2013x86link:($msvc2013x86Link) -msvc2013x86file:($msvc2013x86File) -msvc2013x86install:($msvc2013x86Install) \ No newline at end of file +DownloadAndInstallAgent -msvc2013x64link:($msvc2013x64Link) -TempPath:($TempPath) -msvc2013x64file:($msvc2013x64File) -msvc2013x64install:($msvc2013x64Install) -msvc2013x86link:($msvc2013x86Link) -msvc2013x86file:($msvc2013x86File) -msvc2013x86install:($msvc2013x86Install)