How to deploy VC++ application.
Repo winsoft666/VisualCppDeployment, read from GitHub 14 h ago. winsoft666 has not joined Take My Repo.
winsoft666/VisualCppDeployment is a public repo on GitHub by winsoft666. How to deploy VC++ application. It declares the MIT license on GitHub. It has 0 stars and last changed on 2023-05-24. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Visual Studio enables three ways to deploy the Visual C++ libraries together with your application: central deployment, local deployment, and static linking.
In central deployment, library DLL files are installed in the Windows\System32 directory, or for 32-bit library files on x64 systems, the Windows\SysWow64 directory. Microsoft automatically updates its libraries that are centrally deployed.
For Visual C++ libraries that are locally deployed or statically linked, you must provide the updates.
In local deployment, library files are installed in your application folder together with the executable file. Different versions of Visual C++ redistributable libraries can be installed in the same folder because the file name of each version includes its version number. For example, version 12 of the C++ runtime library is msvcp120.dll, and version 14 is msvcp140.dll.
A library may be spread across multiple additional DLLs, known as dot libraries. For example, some functionality in the standard library released in Visual Studio 2017 version 15.6 was added into msvcp140_1.dll, to preserve the ABI compatibility of msvcp140.dll. If you use Visual Studio 2017 version 15.6 (toolset 14.13) or later, you may need to locally deploy these dot libraries as well as the main library. These separate dot libraries will eventually be added to the base library, when the ABI changes.
In addition to dynamically linked libraries, Visual Studio supplies most of its libraries as static libraries. You can statically link a static library to your application, that is, link the library object code directly into the application. This creates a single binary without a DLL dependency, so that you don't have to deploy the Visual C++ library files separately.
Visual Studio versions since Visual Studio 2015 share the same redistributable files. For example, any apps built by the Visual Studio 2015, 2017, 2019, or 2022 toolsets can use the latest Microsoft Visual C++ Redistributable. However, the version of the Microsoft Visual C++ redistributable installed on the machine must be the same or higher than the version of the Visual C++ toolset used to create your application.
Windows XP Support: Microsoft ended support for Windows XP on April 8, 2014. Current versions of the Visual C++ Redistributable for Visual Studio 2015-2022 only support Windows Vista, 7, 8.1, 10, and 11. The last version of the Visual C++ Redistributable that works on Windows XP shipped in Visual Studio 2019 version 16.7 (file versions starting with 14.27).
The Visual C++ Redistributable Packages install and register all Visual C++ libraries. Each Visual C++ Redistributable package checks for the existence of a more recent version on the machine. If a more recent version is found, the package won't get installed. In Visual Studio 2015 or later, Redistributable packages display an error message stating that setup failed. If a package is run by using the /quiet flag, no error message is displayed. In either case, an error is logged by the Microsoft installer, and an error result is returned to the caller. In Visual Studio 2015 and later, you can avoid this error by checking the registry to find out if a more recent version is installed. The current installed version number is stored in the HKEY_LOCAL_MACHINE\SOFTWARE[\Wow6432Node]\Microsoft\VisualStudio\14.0\VC\Runtimes\{x86|x64|ARM} key. The version number is 14.0 for Visual Studio 2015, 2017, 2019, and 2022 because the latest Redistributable is binary compatible with previous versions back to 2015. The key is ARM, x86, or x64 depending on the installed vcredist versions for the platform. (You need to check under the Wow6432Node subkey only if you're using Regedit to view the version of the installed x86 package on an x64 platform.) The version number is stored in the REG_SZ string value Version and also in the set of Major, Minor, Bld, and Rbld REG_DWORD values. To avoid an error at install time, you must skip installation of the Redistributable package if the currently installed version is more recent.
The following table describes some of the Visual C++ DLLs that your application might depend on.
| Visual C++ Library | Description | Applies to |
|---|---|---|
| vcruntimeXXX.dll | Runtime Library for native code. | Applications that use the normal C and C++ language startup and termination services. |
| vccorlibXXX.dll | Runtime Library for managed code. | Applications that use the C++ language services for managed code. |
| msvcpXXX.dll and msvcpXXX_dotnumber.dll | C++ Standard Library for native code. | Applications that use the C++ Standard Library. |
| concrtXXX.dll | Concurrency Runtime Library for native code. | Applications that use the Concurrency Runtime. |
| mfcXXX.dll | Microsoft Foundation Classes (MFC) Library. | Applications that use the MFC Library. |
| mfcXXXlanguage.dll | Microsoft Foundation Classes (MFC) Library Resources. | Applications that use specific language resources for MFC. |
| mfcversionu.dll | MFC Library with Unicode support. | Applications that use the MFC Library and require Unicode support. |
| mfcmifc80.dll | MFC Managed Interfaces Library. | Applications that use the MFC Library with Windows Forms Controls. |
| mfcmXXX.dll | MFC Managed Library. | Applications that use the MFC Library with Windows Forms Controls. |
| mfcmXXXu.dll | MFC Managed Library with Unicode support. | Applications that use the MFC Library with Windows Forms Controls and require Unicode support. |
| vcampXXX.dll | AMP Library for native code. | Applications that use the C++ AMP library code. |
| vcompXXX.dll | OpenMP Library for native code. | Applications that use the C++ OpenMP library code. |
From Visual Studio .NET through Visual Studio 2013, each major release of the C++ compiler and tools has included a new, standalone version of the Microsoft C Runtime (CRT) library. These standalone versions of the CRT were independent from, and to various degrees, incompatible with each other. For example, the CRT library used by Visual Studio 2012 was version 11, named msvcr110.dll, and the CRT used by Visual Studio 2013 was version 12, named msvcr120.dll.
Beginning in Visual Studio 2015, it's no longer the case. Visual Studio 2015 and later versions of Visual Studio all use one Universal CRT.
The Universal CRT (UCRT) is a Microsoft Windows operating system component. It's included as part of the operating system in Windows 10 or later, and Windows Server 2016 or later. The UCRT is available by using Windows Update on older operating systems that are still in extended support. Local deployment of the Universal CRT is supported, with some restrictions.
The Universal CRT is a Recommended update for all supported Microsoft Windows operating systems, so by default, most machines install it as part of the regular update process. The initial release of the Universal CRT was KB2999226. A later update with various bug fixes was made in KB3118401, and there have been more updates with further bug fixes and new features. For more recent updates, search support.microsoft.com for "Universal C Runtime" or "Universal CRT".
Not all Microsoft Windows computers regularly install updates by use of Windows Update, and some may not install all Recommended updates. To support the use of applications built by using the Visual Studio 2015 and later C++ toolsets on those machines, there are Universal CRT Redistributable files available for offline distribution. Those redistributable files may be downloaded from one of the KB links above. The Universal CRT Redistributable requires that the machine has been updated to the current service pack. So, for example, the redistributable for Windows 7 will only install onto Windows 7 SP1, not Windows 7 RTM.
The Universal CRT is a fundamental dependency of the C++ libraries. The Visual C++ Redistributable (VCRedist) installs the initial version of the Universal CRT (version 10.0.10240) on machines that don't already have one installed. This version is sufficient to satisfy the C++ library dependencies. If your application depends on a more recent version of the Universal CRT, you must use Windows Update to bring your machine fully up to date. Or, install that version of the UCRT explicitly. It's best to install the Universal C Runtime by using Windows Update or an MSU before you install the VCRedist. This installation order can help avoid multiple required reboots.
Not all operating systems are eligible for the most recent Universal C Runtime via Windows Update. On Windows 10 or Windows 11, the centrally deployed version matches the version of the operating system. To update the Universal C Runtime further, you must update the operating system. For Windows Vista through Windows 8.1, the latest available Universal C Runtime is based on the Windows 10 Anniversary Update (version 10.0.14393).
The UCRT DLLs for local deployment are included as part of the Windows SDK, in the Windows Kits\10\Redist\ucrt\DLLs subdirectory, by computer architecture (such as C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86). The DLLs required include ucrtbase.dll and a set of APISet forwarder DLLs named api-ms-win-*.dll. The set of DLLs required on each operating system varies. It's highly recommended that you include all of the DLLs when you deploy locally.
There are two restrictions on local deployment to be aware of:
On Windows 10 and Windows 11, the Universal CRT in the system directory is always used, even if an application includes an application-local copy of the Universal CRT. It's true even when the local copy is newer, because the Universal CRT is a core operating system component on Windows 10 and later.
Versions of Windows before Windows 8: The Universal CRT can't be packaged locally with a plugin, if it's located anywhere but the main app executable directory. The APISet forwarder DLLs are unable to resolve the ucrtbase.dll successfully in this case. Some recommended alternative solutions include:
Windows XP: When the Visual C++ Redistributable is installed on Windows XP, it directly installs the Universal CRT and all of its dependencies into the system directory. It doesn't install or depend on any Windows Update.
Latest Supported Visual C++ Downloads can be found at https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist
Debug version: ./vs2015~vs2022/DEBUG
| Architecture | Offical Link | Github Link | Extracted Files |
|---|---|---|---|
| ARM64 | https://aka.ms/vs/17/release/vc_redist.arm64.exe (Permalink for latest supported ARM64 version) | VC_redist.arm64-2015~2022.exe | None |
| X86 | https://aka.ms/vs/17/release/vc_redist.x86.exe (Permalink for latest supported x86 version) | VC_redist.arm64-2015~2022.exe | Goto Folder |
| X64 | https://aka.ms/vs/17/release/vc_redist.x64.exe (Permalink for latest supported x64 version. The X64 redistributable package contains both ARM64 and X64 binaries.) | VC_redist.arm64-2015~2022.exe | Goto Folder |
| Architecture | Extracted Files |
|---|---|
| ARM64 | Goto Folder |
| X86 | Goto Folder |
| X64 | Goto Folder |
| Architecture | Offical Link | Github Link | Extracted Files |
|---|
winsoft666/VisualCppDeployment is a public repo on GitHub by winsoft666. How to deploy VC++ application.
It declares the MIT license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2023-05-24. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run VisualCppDeployment. What is known comes from GitHub. It declares the MIT license on GitHub. Its last change was on 2023-05-24. It has 0 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.