Page 1 of 1

False positive when checking for VC runtimes.

Posted: Mon Jan 19, 2015 11:43 am
by WKleinschmit
Hello,

the script "checkvc91_x64" (for example) looks under "$WINDIR$\WinSxS" for all files named "mfc90.dll", checks the version number of each one found and if one with at least a specific version number can be found it reports success.

So far so good.

BUT!

If only the 32bit version is installed, there will also be a "mfc90.dll" somewhere under "$WINDIR$\WinSxS" also with an acceptable version number.
And since the file's platform is never tested it is accepted, the script reports success and .... the newly installed 64bit program crashes right at the start.

This bug is not limited to "checkvc91_x64" but exists in all VC-Runtime test scripts.

There should be a function "Check File Platform" or else "Check File Version" should be extended to (optionally) also check for a specific platform.

Re: False positive when checking for VC runtimes.

Posted: Mon Jan 19, 2015 3:12 pm
by FrancescoT
Dear WKleinschmit,

thanks for reporting this, I'll send a note to our dev team.

However, it's not true that this bug is present with all VC Runtime check scripts ... for what I see, the problem is limited to the oldest versions of such runtimes.

Regards