Quantcast
Channel: Detect if Visual C++ Redistributable for Visual Studio 2012 is installed - Stack Overflow
Browsing latest articles
Browse All 22 View Live

Answer by Will for Detect if Visual C++ Redistributable for Visual Studio...

I use this one liner for PowerShell in Server 2019 and Windows 10. I'm do not knowhow backward compatible this is.Get-CimInstance -Class Win32_Product -Filter "Name LIKE '%Visual C++ %Redistri%'" |...

View Article



Answer by Kebechet for Detect if Visual C++ Redistributable for Visual Studio...

It is hard to get all registry values for VC 2012 so I have written a small function which will go through all dependencies and match on specified version.public static bool IsVC2012Installed(){ string...

View Article

Answer by Jim Wolff for Detect if Visual C++ Redistributable for Visual...

The powershell script solution:Based on the information in the answer from @kayleeFrye_onDeck I have created a powershell script that checks and installs the versions the user specifies, i haven't done...

View Article

Answer by TJR for Detect if Visual C++ Redistributable for Visual Studio 2012...

I came across this question looking for an answer in the context of checking for the Visual C++ redistributable as part of an MSI installer created by WiX.I didn't like how the GUID's change with...

View Article

Answer by war59312 for Detect if Visual C++ Redistributable for Visual Studio...

What most people miss is the required /reg:32 to check for the key on Windows x64.See Microsoft Help article on this subject.Here is a script that demonstrates how to correctly check for Visual C++...

View Article


Answer by Learner for Detect if Visual C++ Redistributable for Visual Studio...

I would check the Installed value ofHKLM\SOFTWARE\[WOW6432Node]\Microsoft\Windows\CurrentVersion\Uninstall\{VCRedist_GUID} keywhere GUID of VC++ 2012 (x86) is...

View Article

Answer by Ernie C for Detect if Visual C++ Redistributable for Visual Studio...

This PowerShell code should do the trickGet-ItemPropertyHKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate |Format-Table...

View Article

Answer by adzm for Detect if Visual C++ Redistributable for Visual Studio...

Checking the install state for the product via MsiQueryProductState is pretty much equivalent to checking the registry directly, but you still need the GUID for the ProductCode.As mentioned elsewhere,...

View Article


Answer by kayleeFrye_onDeck for Detect if Visual C++ Redistributable for...

It depends on what version you are using. These two 2012 keys have worked well for me with their corresponding versions to download for Update 4. Please be aware that some of these reg locations may be...

View Article


Answer by kinar for Detect if Visual C++ Redistributable for Visual Studio...

Old question but here is the approach we have used ever since Visual Studio 2005 with success. I just tested it using Visual Studio 2012 Update 4 as well (since we are finally updating our software...

View Article

Answer by Fandi Susanto for Detect if Visual C++ Redistributable for Visual...

I've succeded doing this with InnoSetup.I checked the existence of registry key:HKLM\SOFTWARE\Microsoft\VisualStudio\11.0\VC\RuntimesIf uninstalled, it does not exist. If installed, it exists.By the...

View Article

Image may be NSFW.
Clik here to view.

Answer by Adrian Pauly for Detect if Visual C++ Redistributable for Visual...

Just go to Control Panel > Programs and Features, and they all appear listed there.I'm no expert and this answer is pretty simple compared to what people are answering (checking registry), so I'm...

View Article

Answer by Michael for Detect if Visual C++ Redistributable for Visual Studio...

The answer to this simple questions is unfortunately not a simple one, but working in 100% of all systems, and even extendable to the numerous .net frameworks.The complexity comes from the fact that...

View Article


Answer by bavaza for Detect if Visual C++ Redistributable for Visual Studio...

I needed the same thing, and although AFAIK this cannot be done programmatically, it worked for me.I just went to Start --> Uninstall a program, and scrolled down until I found the VC++...

View Article

Answer by Al.Pertro for Detect if Visual C++ Redistributable for Visual...

if RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x86","Installed") = 0 Then if...

View Article


Answer by attila for Detect if Visual C++ Redistributable for Visual Studio...

For me this location worked:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\RuntimeMinimum\VersionCheck what version you have after you installed the package and use that as a condition...

View Article

Answer by Mike de Klerk for Detect if Visual C++ Redistributable for Visual...

You can check for the Installed value to be 1 in this registry location: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\VC\Runtimes\x86 on 64-bit systems. In code that would result...

View Article


Answer by BCran for Detect if Visual C++ Redistributable for Visual Studio...

Since Visual Studio 2010 and later stopped using WinSxS, it may be enough to just check for %windir%\system32\msvcr110.dll. If you want to verify you have a new enough version, you can check whether...

View Article

Answer by Dave Dawkins for Detect if Visual C++ Redistributable for Visual...

TryHKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\11.0as a starting point. I will be using this as a check for installing the VC++ 11 (VS 2012) runtime.

View Article

Answer by Sheng Jiang 蒋晟 for Detect if Visual C++ Redistributable for Visual...

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...

View Article

Answer by jiten for Detect if Visual C++ Redistributable for Visual Studio...

you can search in registry.Actually I do'nt have vs2012 but I have vs2010.There are 3 different (but very similar) registry keys for each of the 3 platform packages. Each key has a DWORD value called...

View Article


Detect if Visual C++ Redistributable for Visual Studio 2012 is installed

How to detect if Visual C++ Redistributable for Visual Studio 2012 is installed? I tried Google it and nobody has asked this question, surprise!

View Article

Browsing latest articles
Browse All 22 View Live




Latest Images