As Oriol said, you need the following redistributables before installing WAMP.
From the readme.txt
BEFORE proceeding with the installation of Wampserver, you must ensure
that certain elements are installed on your system, otherwise
Wampserver will absolutely not run, and in addition, the installation
will be faulty and you need to remove Wampserver BEFORE installing the
elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9,
VC10, VC11, VC13 and VC14 Even if you think you are up to date,
install each package as administrator and if message "Already
installed", validate Repair.
The following packages (VC9, VC10, VC11) are imperatively required to Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP versions VC11 and VC14 is required for PHP 7 and Apache 2.4.17
This error means you don't have required Visual C++ packages installed in your computer.
If you have installed wampserver then firstly uninstall wampserver.
Download the VC packages
Download all these VC packages and install all of them. You should install both 64 bit and 32 bit version.
After lots and lots of installing and uninstalling for a whole day and trying every packages for every answers in here, the only thing that worked for me was:
Uninstall Wamp and reboot
installing Visual Studio 2017 Community edition and choose "Web development" and check all of the options in the right site. Here's a screenshot:
This somehow install something that is needed for Wamp as well.
Now there are some more downloads that support WAMP for installing time
From the readme.txt
BEFORE proceeding with the installation of Wampserver, you must ensure
that certain elements are installed on your system, otherwise
Wampserver will absolutely not run, and in addition, the installation
will be faulty and you need to remove Wampserver BEFORE installing the
elements that were missing.
Make sure you are "up to date" in the redistributable packages VC9,
VC10, VC11, VC13 and VC14 Even if you think you are up to date,
install each package as administrator and if message "Already
installed", validate Repair.
The following packages (VC9, VC10, VC11) are imperatively required to
Wampserver 2.4, 2.5 and 3.0, even if you use only Apache and PHP
versions VC11 and VC14 is required for PHP 7 and Apache 2.4.17