Bug #101882 MySQL installer does not detect Visual C++ redist 2019 already installed
Submitted: 6 Dec 2020 16:38 Modified: 13 Feb 2021 11:10
Reporter: peter janovic Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL for Windows: Installer Severity:S3 (Non-critical)
Version:1.4.36.0 OS:Windows (19042.662)
Assigned to: CPU Architecture:x86
Tags: vcredist

[6 Dec 2020 16:38] peter janovic
Description:
Installer fails during "Check Requirements" step and offers me to install vcredist140 14.28.29325, but I have installed version 14.28.29334.

I don't exactly know if version 14.28.29334 is a default c++ redist version in windows or if it comes from visual studio.

How to repeat:
--

Suggested fix:
It should check versions range or better:
installed version >= min. required version, then check should pass.
[6 Dec 2020 16:42] peter janovic
I can't even install an older version of redist which MySql installer offers me, because the vcredist checks if an older version is installed, and if it is then the installation fails because of the older version.
[6 Dec 2020 19:26] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on Windows 10 Pro 64-bit. Any way please read the comments on bug https://bugs.mysql.com/bug.php?id=91542 about related issue.
[19 Dec 2020 14:29] peter janovic
The vcredis 14.28.29334 is distributed by Visual Studio 2019 and can't be uninstalled, I'm attaching a screenshot, where is everything clearly visible.

I cannot uninstall this vcredis 14.28.29334 and because of that I can't upgrade MySQL 8, so for now, users, which have installed Visual Studio 2019 in default configuration can't upgrade MySQL server by MySQL Installer.

This is not only my problem, you can reproduce it when you install Visual Studio 2019 with "Desktop development with c++" workload.
[19 Dec 2020 14:30] peter janovic
vcredis 14.28.29334 in Visual Studio 2019 c++

Attachment: latest_vcredis.jpg (image/jpeg, text), 375.59 KiB.

[19 Dec 2020 16:33] MySQL Verification Team
I am assigned to my co-worker to check too. As workaround to install you can try the manually install using the noinstall package following the below instructions:

https://dev.mysql.com/doc/refman/8.0/en/windows-install-archive.html
[13 Feb 2021 11:10] peter janovic
This issue is marked as can't repeat, but I can not still upgrade MySQL server with MySQL Installer, still the same problem, can you verify this problem again? The requirement to repeat this bug is to install Visual Studio 2019 for C++.

Thank you, would be nice to be able to upgrade MySQL server with MySQL installer 🤔.