6

Let's say I want to download the 2022 Visual C++ redistributable x86 version 14.30.30708.0 (this is not the lastest version). Where can I download this older specific version on a Microsoft website?

I know the lastest version can be downloaded here: https://aka.ms/vs/17/release/vc_redist.x86.exe But I don't want the lastest version, I want an older specific version.

I found this answer in which some direct download links are present, but I am not sure how those links have been found, and how to find other versions: https://stackoverflow.com/a/34209692

How can those direct download links can be found?

Thank you for your help.

Toto
  • 91

2 Answers2

7

Researching for the exactly same problem, I've stumbled upon this wonderful document: https://github.com/abbodi1406/vcredist/blob/master/source_links/README.md

vines
  • 171
3

I was not able to find an official link to the specific version I wanted, but thanks to Baldruk (who gave me the hint on what to do) and this page, I am now able to get the redirected url of the lastest VC++ redist 2015-2022 by using this powershell line:

(Invoke-WebRequest -Method Head -Uri "https://aka.ms/vs/17/release/vc_redist.x86.exe").BaseResponse.ResponseUri.AbsoluteUri

This returns https://download.visualstudio.microsoft.com/download/pr/144a5711-f076-44fa-bf55-f7e0121eb30c/B7AE307237F869E09F7413691A2CD1944357B5CEE28049C0A0D3430B47BB3EDC/VC_redist.x86.exe which is the link to "Microsofot Visual C++ 2015-2022 Redistributable (x86) - 14.31.31103".

But there is no guarantee that this url won't break, so instead of downloading the VC++ redist with my installer, I might embed the offline redist in my Wix bundle installer.

Toto
  • 91