Page 1 of 1

Visual C++ 14.0 Runtime Install Error 1638

Posted: Thu Mar 10, 2016 4:29 am
by Dame1701
Hi,

When we run our installer, it fails when trying to install the C++ Runtime 14.0. The error message is: "Microsoft Visual C++ Runtime 14.0 could not be installed. 1638".

I've done some research and that error means that the runtime has been installed previously. This is on a fresh machine, so I think the problem must be down to the configuration of our installer. If we run the installer again, it completes the remaining installation tasks without issue (I presume because the prerequisit check sees that runtime 14.0 is already installs so skips that part.

In our runtime we have the following C++ 14 components checked under Application Runtimes:

Microsoft Visual C++ Runtime 14.0 (x86 and x64)
Microsoft Visual C++ Runtime 14.0 update 1 (x64)
Microsoft Visual C++ Runtime 14.0 update 1 (x86)

We presumed that the" Microsoft Visual C++ Runtime 14.0 (x86 and x64)" is not the update 1 installer and so we'd need to run the two other updates below it. However from the error we're receiving this appears to be wrong, so do we only need to run the update 1 installers and can I simply uncheck the
"Microsoft Visual C++ Runtime 14.0 (x86 and x64) installer" or do we need both versions and if so how can I achieve this and avoid the 1638 error?

Many thanks,

Damien

Re: Visual C++ 14.0 Runtime Install Error 1638

Posted: Thu Mar 10, 2016 2:22 pm
by FrancescoT
Dear Damien,

this depends directly on the "VC++ 14 RTM" version that is required to run your application .

In other words, if your application is a win32 application and it was build on "Microsoft Visual C++ Runtime 14.0 update 1", you only need to install the "Microsoft Visual C++ Runtime 14.0 update 1 (x86)" package.

Regards