While installing wamp server,i stuck with error as “The program can’t start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix the problem.”  OR 

If you install WAMP in Windows computer and try to run by clicking to its icon, you will see an error showing that MSVCR120.DLL is missing from your computer or The number may vary i.e “MSVCR110.DLL” etc as shown below.

er1

er2

Fix :

Proceeding with the installation of Wampserver, you must ensure that certain elements are installed on your system, otherwise Wampserver will not run, and in addition, the installation will be faulty and you need to remove Wampserver again before installing the elements that were missing.

Make sure you are “up to date” with the redistributable packages VC9, VC10, VC11, VC13 and VC14 (install each package with run as administrator privileges) and make sure both 32 bit (x86) and 64 bit (x64) components are installed,you can find the details inside Control Panel Programs > Programs and Features to make sure.

Visual C++ Packages : 
The MSVC runtime libraries VC9, VC10, VC11 are required for Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions with VC11. Runtimes VC13, VC14 is required for PHP 7 and Apache 2.4.17+
— VC9 Packages (Visual C++ 2008 SP1)
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
— VC10 Packages (Visual C++ 2010 SP1)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
— VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable for Visual Studio 2012 Update 4
— VC13 Packages] (Visual C++ 2013[)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable Packages for Visual Studio 2013
— VC14 Packages (Visual C++ 2015) Replaced by VC15
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page:
Visual C++ Redistributable for Visual Studio 2015 Update 3
— VC15 Redistribuable (Visual C++ 2017)
Visual C++ Redistributable Packages for Visual Studio 2017 x86
Visual C++ Redistributable Packages for Visual Studio 2017 x64
VC2017 (VC15) is backward compatible to VC2015 (VC14). That means, a VC14 module can be used inside a VC15 binary. Because this compatibility the version number of the Redistributable is 14.1x.xx and after you install the Redistributable VC2017, VC2015 is removed but you can still use VC14.

If you have a 64-bit Windows, you must install both 32 and 64bit versions, even if you do not use Wampserver 64 bit.