Reputation: 357
Deploying an app compiled with MSVC, should I include msvcp140.dll and vcruntime140.dll copy-pasted from VC folder with other .dll's, or distribiute vc_redist.exe installer, installing environment on each user computer?
What is the 'right' approach, and why?
Upvotes: 0
Views: 145
Reputation: 1881
There is no thumb rule or "right approach" for this scenario, rather pros and cons of choosing one over other. In my opinion, this depends on how the product/file is being deployed.
Won't recommend placing the necessary files in the folders where installer could be run as it's easier to maintain/update the redist files with each newer version ( of compilers and product)
Upvotes: 1