Bug #98506 Installer doesn't handle pre-requesites when doing Custom install
Submitted: 6 Feb 2020 16:49 Modified: 31 Oct 2022 14:39
Reporter: Peter Fales Email Updates:
Status: Closed Impact on me:
Category:MySQL for Windows: Installer Severity:S2 (Serious)
Version:8.0.19 OS:Windows
Assigned to: CPU Architecture:Any

[6 Feb 2020 16:49] Peter Fales
The current version of the installer does not install dependencies when a "Custom" install is selected.   I'm teaching a database course, and last fall when I had my students do a customer install to select only the MySQL Shell, it worked as expected:  all the necessary dependencies (like the Visual Studio Runtime) were automatically installed.   With the current version, those dependencies are only checked and installed when the full "Client" install is selected.

How to repeat:
1) Start the MySQL installer on a fresh system when no other software is installed
2) Select Custom install and ask to install *only* the MySQL shell
3) The Install will fail because the requirements are missing

If you do a "Client" install it goes through the additional steps to fullfill those requirments

Suggested fix:
Do "Check Requirements" for Custom installs
[6 Feb 2020 16:53] Peter Fales
custom install - does not have "Check Requirements"

Attachment: custom-install.png (image/png, text), 188.64 KiB.

[6 Feb 2020 16:53] Peter Fales
Client Install - includes "Check Requirements"

Attachment: client-install.png (image/png, text), 246.17 KiB.

[7 Feb 2020 9:55] MySQL Verification Team
Hello Peter,

Thank you for the report and feedback.

[12 Jan 2021 0:34] Peter Fales
I don't know if (or when) anything was changed, but I re-ran the scenario on 8.0.22 and it appears to be fixed.
[12 Jan 2021 0:48] Peter Fales
Actually, I'm not seeing the problem with the 8.0.19 version of the MySQL shell either.  I guess the issue is with the installer and the latest version of the installer fixes the problem.

In any case, I think you can close the bug because the problem is not showing up.
[31 Oct 2022 0:03] Jose Ramirez
Posted by developer:
Fixed in 1.4.36.
[31 Oct 2022 14:39] Christine Cole
Posted by developer:
Fixed as of the upcoming MySQL Installer 1.4.36 release, and here's the proposed changelog entry from the documentation team:

When using the custom setup type to download and install MySQL Shell for
the fist time, MySQL Installer could omit the prerequisite software check
in some cases.

Thank you for the bug report.