Vcredist_x86.exe /q:a /c:"VCREDI~3.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" " Vcredist_圆4.exe /q:a /c:"VCREDI~2.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" " Vcredist_x86.exe /q:a /c:"VCREDI~1.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" Visual Studio 2005, x86 (32-bit version): The question is: can you launch the installer of these packages with some special parameter so the user doesn't have to go through all the setup wizard, confirming each step? The answer is yes, but as Microsoft likes to change everything very often :) the exact command line is different depending on version. The library is small and free, available to download from Microsoft website: Alternatively, you can distribute these DLL files (although I'm not sure if this is legal) or the whole library installer together with your application.
#DOWNLOAD MICROSOFT VISUAL C 2015 RUNTIME CODE#
You can make your application not requiring this library by setting your project options in Configuration Properties > C/C++ > Code Generation > Runtime Library to "Multi-threaded " without the "DLL" part, which makes it statically linked. For example, version for Visual Studio 2013 (Release configuration) consists of files: msvcr120.dll, msvcp120.dll. Each version of Visual Studio has their own set. The functions of standard C/C++ library are implemented in a package of DLL-s called Microsoft Visual C++ Redistributable Package. You may think that unless you explicitly use some external library (like FMOD), your program will not require any additional libraries to work, but when coding in C++ using Visual Studio, this is not the case. I keep it for reference, but it probably doesn't reflect my current knowledge and beliefs.
Warning! Some information on this page is older than 5 years now.