

This is reliable, but very slow (40+ sec), since it looks like it has to load all products installed on the system before it returns results. Use WMI/check system tables using wmic product get or new ManagementObjectSearcher("SELECT * FROM Win32_Product").This is the case for HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM\SOFTWARE\Microsoft\VisualStudio\12.0\VC, and HKLM\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VC. Check the registry: This is not an option because, if Visual Studio is installed or Visual C++ has been removed, you get false positives.

I've looked through answers here, here, and here, but it looks like all of the answers fall into two major categories: After using it, you will find vslogs.zip under %temp% folder then upload the file to and share the link here.I'm trying to have my application determine whether or not Microsoft Visual C++ 2013 Redistributable has been installed on the user's system. If you have no idea about the installation log, you can go to %temp% and order by ‘Date modified’, then you should find the installation log, or you can use to gather the installation logs.

Many Microsoft apps are built around the Visual Studio framework which results in the dependency of the program on Visual Studio. It contains pre-written software saving the programmers from rewriting common sequences of code. Microsoft Visual C++ Redistributable is a package with a set of libraries that help many programs, applications and games to operate. Wusa.exe Windows6.1-KB2999226-圆4.msu /extract:XXXXĭISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-圆4.cab How to Reinstall Microsoft Visual C++ Redistributable Microsoft Visual C++ Redistributable is important to run multiple programs, including Windows OS.

Refer to the error message, you can have a look at the installation log file and search ‘error’, if you can find the error message about Windows6.1-KB2999226-圆4.msu, check this similar issue and have a try with the following to troubleshot this issue:ĭownload the update KB2999226 for your OS edition from here: Update for Universal C Runtime in Windows and before it, since your OS is windows 7, make sure SP1 is installed.įind the Windows6.1-KB2999226-圆4.msu from the folder C:\ProgramData\Package Cache\xxxxx\packages\Patch\圆4, which you can the path from the installation logĬreate a folder named ‘XXXX’ in that and execute following commands from Admin command prompt To install the Visual C++ 2015 Redistributable, you do not need to remove or uninstall the previous versions.
