Reputation: 4138
With my product I have deployed specific versions of msvcp100.dll and msvcr100.dll that also belong to a redistribution package. To be more precise, I use them from my directory C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.CRT
. I just put these dlls into the installation directory of my software. And yes, my software is compiled as x86 and with Visual Studio 2010.
Those work fine on my machine. However, I see that some customers get errors that can be solved by removing those files and manually installing the Visual Studio 2010 redistributables with the online installer from Microsoft. The errors will be of the form:
This application has failed to start because MSVCR100.dll was not found. Re-installing the application may fix this problem.
I thought that msvcp100.dll and msvcr100.dll are in some kind unique but there seem to be different version to be out there. How should I deploy these files to my customers such that it works for all of them? If this is not possible, what would be a good way to deploy these files?
Upvotes: 0
Views: 810
Reputation: 100
It depends on the OS version and architecture, so its better to add the Microsoft Visual C++ Redistributable Package in your installer as prerequisite, so that the installer can check the system if its actually required or not and then install/skip it accordingly.
Upvotes: 1