Quantcast
Channel: Detect if Visual C++ Redistributable for Visual Studio 2012 is installed - Stack Overflow
Viewing all articles
Browse latest Browse all 22

Answer by Sheng Jiang 蒋晟 for Detect if Visual C++ Redistributable for Visual Studio 2012 is installed

$
0
0

There is no installcheck element in the bootstrapper package manifest shipped with Visual C++. Guess Microsoft wants to always install if you set it as a prerequisite.

Of course you can still call MsiQueryProductState to check if the VC redist package is installed via MSI, The package code can be found by running

wmic product get

at command line, or if you are already at wmic:root\cli, run

product where "Caption like '%C++ 2012%'"

Viewing all articles
Browse latest Browse all 22

Latest Images

Trending Articles



Latest Images