Some winget packages that will get you x86 or x64 versions of vcredist140
Posted by jpluimers on 2024/10/15
A while ago I downloaded some internal tooling that required vcredist140.dll (and related DLLs).
From the name you cannot see if that is a 32-bit (x86) or 64-bit (x64) dependency so you often have to trial and error to figure out which one you need.
I adopted some winget package install command-lines with package IDs current at the time of writing this blog post; similar should be available at the time of publication:
- [Wayback/Archive] Download and install Microsoft Visual C++ 2015-2022 Redistributable (x64) with winget:
winget install --accept-package-agreements --accept-source-agreements --exact --id Microsoft.VC++2015-2022Redist-x64 - [Wayback/Archive] Download and install Microsoft Visual C++ 2015-2022 Redistributable (x86) with winget:
winget install --accept-package-agreements --accept-source-agreements --exact --id Microsoft.VC++2015-2022Redist-x86
Keep in mind though that there are multiple versions of vcredist140 covering a variety of Visual Studio versions. It was initially introduced with Visual Studio 2015 (which has internal version 14.0, see the Microsoft Visual Studio history table) but at the time of writing is also used for Visual Studio versions 2017, 2019 and 2022.
Related blog post: When Microsoft download URLs time out: check if it other IP addresses for the same host do work fine (it might be a regional Microsoft CDN issue)
Via (yes, I started searching for Chocolatey as back then they were easier to find than winget):
- [Wayback/Archive] vcruntime140 chocolatey – Google Search
- [Wayback/Archive] Chocolatey Software | Microsoft Visual C++ Redistributable for Visual Studio 2015-2022 14.32.31332
The Visual C++ Redistributable for Visual Studio 2015-2022 consists of files
vcruntime140.dll,msvcp140.dll,vcomp140.dll,vcamp140.dll,mfc140.dlland other. - [Wayback/Archive] winget Microsoft Visual C++ Redistributable for Visual Studio 2015-2022 – Recherche Google
- [Wayback/Archive] Download and install Microsoft Visual C++ 2015-2019 Redistributable (x86) with winget (with ID
Microsoft.VC++2015-2019Redist-x86) - [Wayback/Archive] Download and install Microsoft Visual C++ 2015-2019 Redistributable (x64) with winget (with ID
Microsoft.VC++2015-2019Redist-x64) - [Wayback/Archive] Latest supported Visual C++ Redistributable downloads | Microsoft Docs
- Visual Studio 2015, 2017, 2019, and 2022
- Visual Studio 2013 (VC++ 12.0)
- Visual Studio 2012 (VC++ 11.0) Update 4
- Visual Studio 2010 (VC++ 10.0) SP1 (no longer supported)
- Visual Studio 2008 (VC++ 9.0) SP1 (no longer supported)
- Visual Studio 2005 (VC++ 8.0) SP1 (no longer supported)
- [Wayback/Archive] vcredist140 versions – Google Search
–jeroen






Leave a comment