Bug #93902 Impossible to install MySQL ODBC Connector when running Visual Studio 2017
Submitted: 12 Jan 2019 11:11 Modified: 13 Jan 2019 22:34
Reporter: Tim Derdelinckx Email Updates:
Status: Can't repeat Impact on me:
None 
Category:Connector / ODBC Severity:S3 (Non-critical)
Version: OS:Windows
Assigned to: CPU Architecture:Any

[12 Jan 2019 11:11] Tim Derdelinckx
Description:
When downloading 32-bit or 64-bit version ODBC Connector from:
https://dev.mysql.com/downloads/connector/odbc/
it's not possible to install when VS2017 is installed on the machine.

The installer wants the Visual Studio 2015 Redistributable and doesn't recognize that a newer version (Visual Studio 2017 Redistributable) is installed.

How to repeat:
* It's not possible to install the Visual Studio 2015 Redistributable, since there is a newer version.
* Only solution is to uninstall VS2017 (what takes a lot of time!), install the connector, and reinstall VS2017. Source: https://developercommunity.visualstudio.com/content/problem/14701/visual-c-redistributable...

Suggested fix:
Is it possible to offer a ODBC Connector-version with newer redistributables?
[13 Jan 2019 22:30] MySQL Verification Team
Beginning install procees

Attachment: odbc_1.png (image/png, text), 115.83 KiB.

[13 Jan 2019 22:30] MySQL Verification Team
Action 20:27:52: INSTALL. 
1: 1: MySQL Connector/ODBC 8.0 2: {68348C36-F97C-437E-9616-686E0730758E} 
1: Action 20:27:52: FindRelatedProducts. Searching for related applications
1: Action 20:27:52: AppSearch. Searching for installed applications
1: Action 20:27:52: LaunchConditions. Evaluating launch conditions
1: Action 20:27:52: ValidateProductID. 
1: Action 20:27:52: CostInitialize. Computing space requirements
1: Action 20:27:52: FileCost. Computing space requirements
1: Action 20:27:52: CostFinalize. Computing space requirements
1: Action 20:27:52: InstallValidate. Validating install
1: Action 20:27:52: SetARPINSTALLLOCATION. 
1: Action 20:27:52: SetARPREADME. 
1: Action 20:27:52: InstallInitialize. 
1: Action 20:27:52: RemoveExistingProducts. Removing applications
1: Action 20:27:52: ProcessComponents. Updating component registration
1: Action 20:27:52: GenerateScript. Generating script operations for action:
1: Updating component registration
1: Action 20:27:52: UnpublishFeatures. Unpublishing product features
1: Action 20:27:52: RemoveODBC. Removing ODBC components
1: Action 20:27:52: RemoveRegistryValues. Removing system registry values
1: Action 20:27:52: RemoveFiles. Removing files
1: Action 20:27:52: InstallFiles. Copying new files
1: File: Copying new files,  Directory: ,  Size: 
1: Action 20:27:52: WriteRegistryValues. Writing system registry values
1: Key: Writing system registry values, Name: , Value: 
1: Action 20:27:52: InstallODBC. Installing ODBC components
1: Action 20:27:52: RegisterUser. Registering user
1: Action 20:27:52: RegisterProduct. Registering product
1: Registering product
1: Action 20:27:52: PublishFeatures. Publishing product features
1: Feature: Publishing product features
1: Action 20:27:52: PublishProduct. Publishing product information
1: Action 20:27:52: InstallFinalize. 
1: Action 20:27:52: ProcessComponents. Updating component registration
1: Action 20:27:52: RemoveODBC. Removing ODBC components
1: Action 20:27:52: InstallFiles. Copying new files
1: File: ChangeLog.txt,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 63413
1: File: myodbc-installer.exe,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6018048
1: File: myodbc-installer.pdb,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 3559424
1: File: libeay32.dll,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 2102272
1: File: LICENSE.txt,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 95099
1: File: myodbc8a.dll,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6777344
1: File: myodbc8S.dll,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6137344
1: File: myodbc8S.lib,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 2076
1: File: myodbc8S.pdb,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 3739648
1: File: myodbc8w.dll,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6785536
1: File: myodbc8a.lib,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 16724
1: File: myodbc8a.pdb,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6696960
1: File: myodbc8w.lib,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 17034
1: File: myodbc8w.pdb,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 6713344
1: File: README.txt,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 700
1: File: ssleay32.dll,  Directory: C:\Program Files\MySQL\Connector ODBC 8.0\,  Size: 356864
1: Action 20:27:53: WriteRegistryValues. Writing system registry values
1: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 8.0, Name: Version, Value: 8.0.13
1: Key: \SOFTWARE\MySQL AB\MySQL Connector/ODBC 8.0, Name: , Value: 
1: Action 20:27:53: InstallODBC. Installing ODBC components
1: Action 20:27:53: RegisterProduct. Registering product
1: {68348C36-F97C-437E-9616-686E0730758E}
1: Action 20:27:53: PublishFeatures. Publishing product features
1: Feature: ODBC
1: Action 20:27:53: PublishProduct. Publishing product information
1: Action 20:27:53: RollbackCleanup. Removing backup files
1: 1: MySQL Connector/ODBC 8.0 2: {68348C36-F97C-437E-9616-686E0730758E} 3: 1 
1: The action 'Install' for product 'Connector/ODBC 8.0.13' completed successfully.
[13 Jan 2019 22:33] MySQL Verification Team
VS 2017

Attachment: odbc_2.png (image/png, text), 9.74 KiB.

[13 Jan 2019 22:34] MySQL Verification Team
I couldn't repeat on Windows 10 Pro.