https://bugs.winehq.org/show_bug.cgi?id=39437
--- Comment #8 from rboxeur davidtecher@yahoo.fr --- If you have access to winetricks repo then ou just need to update winetricks to add api*dll and it should do it. For vc_redist*exe everything is in a10 file
After the lines (for 32 bit case)
w_try_cabextract --directory="$W_TMP" "$W_TMP/a10" w_try_cabextract --directory="$W_TMP" "$W_TMP/a11" ... cp "$W_TMP"/vcruntime140.dll "$W_SYSTEM32_DLLS"/vcruntime140.dll
Just add the lines
cp "$W_TMP"/ucrtbase.dll "$W_SYSTEM32_DLLS"/ucrtbase.dll cp "$W_TMP"/api_ms_win_crt_locale_l1_1_0.dll "$W_SYSTEM32_DLLS"/api-ms-win-crt-locale-l1-1-0.dll cp "$W_TMP"/api_ms_win_crt_runtime_l1_1_0.dll "$W_SYSTEM32_DLLS"/api-ms-win-crt-runtime-l1-1-0.dll cp "$W_TMP"/api_ms_win_crt_stdio_l1_1_0.dll "$W_SYSTEM32_DLLS"/api-ms-win-crt-stdio-l1-1-0.dll cp "$W_TMP"/api_ms_win_crt_heap_l1_1_0.dll "$W_SYSTEM32_DLLS"/api-ms-win-crt-heap-l1-1-0.dll cp "$W_TMP"/api_ms_win_crt_conio_l1_1_0.dll "$W_SYSTEM32_DLLS"/api-ms-win-crt-conio-l1-1-0.dll
and update this line (for 32 bits case here)
w_override_dlls native,builtin atl140 msvcp140 msvcr140 vcomp140
to
w_override_dlls native,builtin atl140 msvcp140 msvcr140 vcomp140 ucrtbase api-ms-win-crt-locale-l1-1-0 api-ms-win-crt-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-heap-l1-1-0 api-ms-win-crt-conio-l1-1-0