diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | scp2/source/ooo/vc_redist.scp | 19 |
2 files changed, 20 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ebf80f42b335..9e0be4189f82 100644 --- a/configure.ac +++ b/configure.ac @@ -5258,7 +5258,7 @@ find_msms() my_msm_file=Microsoft_VC${VCVER}_CRT_x86.msm AC_MSG_CHECKING([for $my_msm_file]) msmdir= - for ver in 12.0; do + for ver in 12.0 14.0; do reg_get_value_32 HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/$ver/Setup/VS/MSMDir if test -n "$regvalue"; then if test -e "$regvalue/$my_msm_file"; then diff --git a/scp2/source/ooo/vc_redist.scp b/scp2/source/ooo/vc_redist.scp index 5b56739af581..23214f0e2eaa 100644 --- a/scp2/source/ooo/vc_redist.scp +++ b/scp2/source/ooo/vc_redist.scp @@ -59,3 +59,22 @@ End #endif +#if defined(WITH_VC140_REDIST) + +#if defined WINDOWS_X64 +MergeModule gid_MergeModule_Microsoft_VC140_CRT_x64 +#else +MergeModule gid_MergeModule_Microsoft_VC140_CRT_x86 +#endif + Feature = gm_Root; +#if defined WINDOWS_X64 + Name = "Microsoft_VC140_CRT_x64.msm"; +#else + Name = "Microsoft_VC140_CRT_x86.msm"; +#endif + RootDir = "TARGETDIR"; + ComponentCondition = "VC_REDIST=1"; +End + +#endif + |