Please, try to find the following registry key on your machine:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\X64
This is the key that the MSI installer uses to check whether Visual C++ Redistributable package is installed. Some versions of Visual C++ 2017 Redistributable deleted the 'Runtimes' key, breaking the logic of version detection.