Bug #106376 MySQL for Visual studio 1.2.10 setup wizard ended prematurely
Submitted: 4 Feb 2022 9:32 Modified: 8 Feb 2022 12:01
Reporter: ofer Strichman Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Connection Handling Severity:S3 (Non-critical)
Version:1.2.10 OS:Any
Assigned to: CPU Architecture:Any

[4 Feb 2022 9:32] ofer Strichman
Description:
When trying to install the connector, version 1.2.10, it installs but then rolls back and tells me that it ended prematurely. I have VS 2019, updated. 
I do not know if it is relevant, but I also have VS'22 installed. 

I hope that the solution offered in 
https://stackoverflow.com/questions/48512443/mysql-for-visual-studio-1-2-7-setup-wizard-en...
is not the only one because I cannot do it. 

How to repeat:
Try to install it for VS 2019.
[4 Feb 2022 14:03] MySQL Verification Team
Hello ofer Strichman,

Thank you for the bug report.
I tried to reproduce your issue on windows 10 and tried to install MySQL for Visual studio 1.2.10 using MySQL Installer but I am not seeing any issues at my end.
Could you please provide screenshot of the issue and error log?

Regards,
Ashwini Pati
[4 Feb 2022 14:14] ofer Strichman
In response to the support email. The message I am getting is 
"MySQL for visual Studio 1.2.10 Setup Wizard ended prematurely. 
MySQL for visual Studio 1.2.10 Setup Wizard ended prematurely because of an error. ... "

Please advise where the installation log file is.
[4 Feb 2022 14:15] ofer Strichman
and I do not see in this bug reporting facility the option of pasting a screenshot.
[4 Feb 2022 14:16] MySQL Verification Team
You can attach the screenshot using Files tab. Thanks.
[4 Feb 2022 14:18] ofer Strichman
screenshot of error

Attachment: mysql.png (image/png, text), 77.74 KiB.

[7 Feb 2022 5:49] MySQL Verification Team
Hello ofer Strichman,

Thank you for the details.
I tried to reproduce your issue on windows 10 with MySQL for Visual Studio 1.2.10 and MySQL Installer 1.4 but I am not seeing any issues on both installer. 
Alternatively, you can install using MySQL installer.

https://dev.mysql.com/downloads/installer/

Regards,
Ashwini Patil
[7 Feb 2022 5:50] MySQL Verification Team
Please find the screenshot below

Attachment: 106376_test_results.PNG (image/png, text), 151.90 KiB.

[7 Feb 2022 8:47] ofer Strichman
where can I find the log file that you mentioned ?
[7 Feb 2022 13:10] MySQL Verification Team
You can see logs if you try to install using MySQL Installer. Thanks.

Attachment: MySQL_Installer_log.PNG (image/png, text), 171.34 KiB.

[7 Feb 2022 16:39] ofer Strichman
a log file, showing the failure if upgrading from 1.2.7 to 1.2.10

Attachment: log.txt (text/plain), 45.60 KiB.

[8 Feb 2022 12:01] ofer Strichman
update: problem solved. 
I had the 1.2.7 installed. I could not uninstall it - both from the mysql installer, and directly from the control panel. In the former case it just reported failure, and in the second case, it just did not uninstall (it rolled back the operation). 
I removed the 'oracle' directory from visual studio extensions (somewhere under %LocalAppData%\Microsoft\VisualStudio), and this enabled me to uninstall 1.2.7, install 1.2.10 and the rest is history.