How to determine whether MSVC++ 2015 redistributable (32- or 64-bit) is already installed?

  • Thread starter Thread starter Ivan Caravanio
  • Start date Start date
I

Ivan Caravanio

Guest
Hello, all.

I am preparing an installer for an application which is build with C++ and requires that the Microsoft Visual C++ 2015 redistributable is installed. Found several forum threads (thread #1, thread #2) that point to potential solutions but investigating further figured out that they are not persistent solutions across different subversions of the redistributable and moreover one cannot determine the bitness of the installed runtime. By saying different subversions of the redistributable I mean whether it is the initial version, update 1, 2 or 3 of the version 2015 redistributable. Is there any persistent way to check whether a given version and bitness of the C++ runtime is installed? The installer that I am preparing downloads the needed third-party components on demand and thus skipping the process of downloading the runtime and running it would save time. It is perfectly known that if the runtime is already installed and one tries to install it again in quiet mode it would just do nothing since it would detect if it is already installed or not. So, the installation won't be aborted if we try to install the runtime again but it is its integrated detection that I am aksing for.


"The pursuit of perfection ..."

Continue reading...
 
Back
Top