[MCOL-1633] mcsapi Windows - add needed Windows Redistributables to installer Created: 2018-08-08  Updated: 2023-10-26  Resolved: 2018-10-15

Status: Closed
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.1.6
Fix Version/s: 1.1.7, 1.2.0

Type: New Feature Priority: Major
Reporter: Jens Röwekamp (Inactive) Assignee: David Thompson (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Environment:

Windows 10 (x64)


Sprint: 2018-16, 2018-17, 2018-18

 Description   

To operate mcsapi on Windows 10, Microsoft Visual C++ Redistributables are needed.

These shall be added to the installer so that a customer doesn't need to obtain them in an additional step.

Needed Redistributables:

  • Microsoft Visual C++ 2015 Redistributable (x64)
  • Microsoft Visual C++ 2012 Redistributable (x64) were able to get rid of it in MCOL-1634 by manually compiling libiconv


 Comments   
Comment by Jens Röwekamp (Inactive) [ 2018-08-13 ]

We could ship the Visual C++ Redistributable directly with our application through merge modules but it seems that such a shipment would violate GPL and the Microsoft Eula.

Otherwise we probably have to think about switching to a different toolset to build the installer.

Comment by Jens Röwekamp (Inactive) [ 2018-08-17 ]

Another way is to avoid using the redistributable at all and switch entirely to Microsoft's Universal CRT. But, currently I don't know how to accomplish that.

Comment by Jens Röwekamp (Inactive) [ 2018-08-27 ]

Added the Visual Studio C++ 2017 Redistributable (x64) to the mcsapi installer in Windows.

It installs the redistributable through merge moduls if it is not found.

As mcsapi is LGPL licensed there is no conflict with bundling the redistributable in the installer.

For QA:

  • build the installer as documented and test if it installs the redistributable on a clean Windows 10 machine (check if the shipped examples are executable)
  • execute the regression test suite on Windows and Linux
Comment by David Thompson (Inactive) [ 2018-10-15 ]

If you have either vcredist 2015 or 2017, no additional install is requested. After removing a prior install of vcredist 2015, the installer showed that it was going to install vcredist 2017 as a merge module (so it does not show up in apps and features).

Generated at Thu Feb 08 02:30:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.