Thank you for helpful tip, do you remember what type of the project has to be created? And is that the UpgradeCode for the x86 version or the x64 version? So no need to comment this I just tested it using Visual Studio Update 4 as well since we are finally updating our software from to I'm just going to go ahead and dump all of these redist versions and the reg keys I search for to detect installation The complexity comes from the fact that there are and were many VC runtimes revisions which could lead to the case that although VC10 runtimes were installed, their build number was not recent enough so your EXE wouldn't start unless you either installed the very exact runtimes you required or one of the newer runtimes which enable this and previous versions for the same major version to run with it the side-by-side hell. The only way that I know of is to somehow find it in the c:
Uploader: | Vubar |
Date Added: | 1 June 2006 |
File Size: | 14.27 Mb |
Operating Systems: | Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X |
Downloads: | 17840 |
Price: | Free* [*Free Regsitration Required] |
Retrieved 14 March I think you have the best answer I've spotted so far.
Adrian Pauly Adrian Pauly 5 5 bronze badges. Learner Learner 1, 2 2 gold badges 30 30 silver badges 57 57 bronze badges. Thank you for helpful tip, do you remember what type of the project has to be created? I must agree with you.
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
I'm just going to go ahead and dump all v10 these redist versions and the reg keys I search for to detect installation.: I'm resigning as a moderator from all Stack Exchange sites, effective today. Asked 7 years, 1 month ago. This is the only one that I've found that doesn't give false positives when Visual Studio is installed or the runtime is uninstalled.
On a bit system the registry is the same without WowNode: See Microsoft Help article on this subject. The only way to determine which MSI is correct is to look at the description.
And worse, you cannot even use the standard framework installers here, you must use the built-in support and download it via Windows, or rebuild your app with. How did you get this information? NET version 7.
Microsoft Visual C++ - Wikipedia
The following is the gist of what the script does:. It does not refer to the year in the name of the Visual Studio release.
The full script and info on github The approach i used was based on checking the regkeys based on information provided here. Note that since our installer is a 32bit exe, windows handles determining if the registry key is actually in the virtualized WowNode instead of the above location so the above code works on both 64bit and 32bit windows installs without having to check both keys explicitly.
Detect if Visual C++ Redistributable for Visual Studio is installed - Stack Overflow
If installed, it exists. And for update 3 the version is There are 3 different but very similar registry keys for each of the refist platform packages. So no need to comment this Funny story and no real info from MS. 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 rwdist at wmic: This, by the way, works also to determine redish the proper.
Retrieved from " https: Webarchive template archiveis links All articles with unsourced statements Articles with unsourced statements from May Articles with unsourced statements from August Official website different in Wikidata and Wikipedia.
resist I checked the existence of registry key: For bit aka x86 the key is located at: I uninstalledand I still have msvc files for 60,and there. The one given here is for x86 at least. Jim Wolff Jim Wolff 3, 4 4 gold badges 25 25 silver badges 37 37 bronze badges. Just run which means the runtimes are installed or fail to run when not installed.
Комментариев нет:
Отправить комментарий