mariadb/win/upgrade_wizard
Vladislav Vaintroub f4cdf90d73 MDEV-17279 Windows : link C runtime dynamically
Changed the build to use /MD flag so that DDL version of C runtime is used.

To make sure MariaDB is always runnable on target system, include
redistributable CRT libraries into installer.

For MSI package, use Microsoft's merge modules.
For ZIP  use "applocal" approach,i.e place redistributable dlls
into the bin directory of the package(via InstallRequiredSystemLibraries
cmake module) The space overhead of libraries in negligible, ~ 3MB unpacked.

There are 2 cases, where we still link C runtime statically

- Upgrade wizard, it uses MFC, and we link statically to avoid
redistribute also whole MFC (for this single application, does not
make much sense).

- MSI installer's custom action dll wixca.dll.Here, we need static link
so that MSI won't fail on a target system that does not have VC++2015
runtime already installed.
2018-10-09 08:42:48 +01:00
..
res add forgotten files generated by VS MFC project 2011-01-30 23:20:02 +01:00
CMakeLists.txt MDEV-17279 Windows : link C runtime dynamically 2018-10-09 08:42:48 +01:00
resource.h add forgotten files generated by VS MFC project 2011-01-30 23:20:02 +01:00
stdafx.h Windows : Fix /permissive- compile error 2018-02-21 16:33:55 +00:00
targetver.h Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00
upgrade.cpp Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00
upgrade.h Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00
upgrade.rc Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00
upgrade_wizard.exe.manifest Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00
upgradeDlg.cpp AssignProcessToJobObject cannot assign current process 2011-02-02 01:34:22 +01:00
upgradeDlg.h Fix win/ files to be stored with LF in repository 2015-05-08 17:31:54 +03:00