First, run the Windows update and check for available and pending updates to be installed. Then restart the computer so changes are made and when Windows loads, open this article and download the two files mentioned in these separate articles:
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
Install both files, then restart the computer again, and when the operating system loads, continue to install the software.