False positive when checking for VC runtimes.

Got a problem you cannot solve? Try here.
WKleinschmit
Posts: 7
Joined: Tue Feb 26, 2013 6:24 am

False positive when checking for VC runtimes.

Postby WKleinschmit » Mon Jan 19, 2015 11:43 am

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.

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: False positive when checking for VC runtimes.

Postby FrancescoT » Mon Jan 19, 2015 3:12 pm

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
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 149 guests