POL_Install_vcrun2019

Informations

Creator Wiadmości
Yaotl Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7374
Wine: System

Feedbacks

Description

Includes vcrun2015, vcrun2017 and vcrun2019 files.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-07-09 11-56)
# Last revision : (2019-12-06 09-35)
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3

# CHANGELOG
# [Yaotl] (2019-09-24)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
# [Yaotl] (2019-10-30)
#    - Script repaired (Files are now copied to the correct location.)!
# [Yaotl] (2019-12-06)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.23.27820 to 14.24.28127


cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/9307e627-aaac-42cb-a32a-a39e166ee8cb/E59AE3E886BD4571A811FE31A47959AE5C40D87C583F786816C60440252CD7EC/VC_redist.x86.exe" "24e8177b25c072f4fb0d37496ccdbb34" "vcrun2019" # Version: 14.24.28127

mkdir -p $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a10' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a11' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cd $POL_USER_ROOT/tmp/vcrun2019
cabextract a10
cabextract a11

if [ "$POL_ARCH" = "amd64" ]; then
    x86file="$WINEPREFIX/drive_c/windows/syswow64"
else
    x86file="$WINEPREFIX/drive_c/windows/system32"
fi

cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $x86file
cp api_ms_win_core_console_l1_1_0.dll $x86file/api-ms-win-core-console-l1-1-0.dll
cp api_ms_win_core_datetime_l1_1_0.dll $x86file/api-ms-win-core-datetime-l1-1-0.dll
cp api_ms_win_core_debug_l1_1_0.dll $x86file/api-ms-win-core-debug-l1-1-0.dll
cp api_ms_win_core_errorhandling_l1_1_0.dll $x86file/api-ms-win-core-errorhandling-l1-1-0.dll
cp api_ms_win_core_file_l1_1_0.dll $x86file/api-ms-win-core-file-l1-1-0.dll
cp api_ms_win_core_file_l1_2_0.dll $x86file/api-ms-win-core-file-l1-2-0.dll
cp api_ms_win_core_file_l2_1_0.dll $x86file/api-ms-win-core-file-l2-1-0.dll
cp api_ms_win_core_handle_l1_1_0.dll $x86file/api-ms-win-core-handle-l1-1-0.dll
cp api_ms_win_core_heap_l1_1_0.dll $x86file/api-ms-win-core-heap-l1-1-0.dll
cp api_ms_win_core_interlocked_l1_1_0.dll $x86file/api-ms-win-core-interlocked-l1-1-0.dll
cp api_ms_win_core_libraryloader_l1_1_0.dll $x86file/api-ms-win-core-libraryloader-l1-1-0.dll
cp api_ms_win_core_localization_l1_2_0.dll $x86file/api-ms-win-core-localization-l1-2-0.dll
cp api_ms_win_core_memory_l1_1_0.dll $x86file/api-ms-win-core-memory-l1-1-0.dll
cp api_ms_win_core_namedpipe_l1_1_0.dll $x86file/api-ms-win-core-namedpipe-l1-1-0.dll
cp api_ms_win_core_processenvironment_l1_1_0.dll $x86file/api-ms-win-core-processenvironment-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_0.dll $x86file/api-ms-win-core-processthreads-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_1.dll $x86file/api-ms-win-core-processthreads-l1-1-1.dll
cp api_ms_win_core_profile_l1_1_0.dll $x86file/api-ms-win-core-profile-l1-1-0.dll
cp api_ms_win_core_rtlsupport_l1_1_0.dll $x86file/api-ms-win-core-rtlsupport-l1-1-0.dll
cp api_ms_win_core_string_l1_1_0.dll $x86file/api-ms-win-core-string-l1-1-0.dll
cp api_ms_win_core_synch_l1_1_0.dll $x86file/api-ms-win-core-synch-l1-1-0.dll
cp api_ms_win_core_synch_l1_2_0.dll $x86file/api-ms-win-core-synch-l1-2-0.dll
cp api_ms_win_core_sysinfo_l1_1_0.dll $x86file/api-ms-win-core-sysinfo-l1-1-0.dll
cp api_ms_win_core_timezone_l1_1_0.dll $x86file/api-ms-win-core-timezone-l1-1-0.dll
cp api_ms_win_core_util_l1_1_0.dll $x86file/api-ms-win-core-util-l1-1-0.dll
cp api_ms_win_crt_conio_l1_1_0.dll $x86file/api-ms-win-crt-conio-l1-1-0.dll
cp api_ms_win_crt_convert_l1_1_0.dll $x86file/api-ms-win-crt-convert-l1-1-0.dll
cp api_ms_win_crt_environment_l1_1_0.dll $x86file/api-ms-win-crt-environment-l1-1-0.dll
cp api_ms_win_crt_filesystem_l1_1_0.dll $x86file/api-ms-win-crt-filesystem-l1-1-0.dll
cp api_ms_win_crt_heap_l1_1_0.dll $x86file/api-ms-win-crt-heap-l1-1-0.dll
cp api_ms_win_crt_locale_l1_1_0.dll $x86file/api-ms-win-crt-locale-l1-1-0.dll
cp api_ms_win_crt_math_l1_1_0.dll $x86file/api-ms-win-crt-math-l1-1-0.dll
cp api_ms_win_crt_multibyte_l1_1_0.dll $x86file/api-ms-win-crt-multibyte-l1-1-0.dll
cp api_ms_win_crt_private_l1_1_0.dll $x86file/api-ms-win-crt-private-l1-1-0.dll
cp api_ms_win_crt_process_l1_1_0.dll $x86file/api-ms-win-crt-process-l1-1-0.dll
cp api_ms_win_crt_runtime_l1_1_0.dll $x86file/api-ms-win-crt-runtime-l1-1-0.dll
cp api_ms_win_crt_stdio_l1_1_0.dll $x86file/api-ms-win-crt-stdio-l1-1-0.dll
cp api_ms_win_crt_string_l1_1_0.dll $x86file/api-ms-win-crt-string-l1-1-0.dll
cp api_ms_win_crt_time_l1_1_0.dll $x86file/api-ms-win-crt-time-l1-1-0.dll
cp api_ms_win_crt_utility_l1_1_0.dll $x86file/api-ms-win-crt-utility-l1-1-0.dll

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
    POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/3b070396-b7fb-4eee-aa8b-102a23c3e4f4/40EA2955391C9EAE3E35619C4C24B5AAF3D17AEAA6D09424EE9672AA9372AEED/VC_redist.x64.exe" "be433764fa9bbe0f2f9c654f6512c9e0" "vcrun2019" # Version: 14.24.28127

    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a10' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a11' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cd $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract a10
    cabextract a11

    x64file="$WINEPREFIX/drive_c/windows/system32"

    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $x64file
    cp api_ms_win_core_console_l1_1_0.dll $x64file/api-ms-win-core-console-l1-1-0.dll
    cp api_ms_win_core_datetime_l1_1_0.dll $x64file/api-ms-win-core-datetime-l1-1-0.dll
    cp api_ms_win_core_debug_l1_1_0.dll $x64file/api-ms-win-core-debug-l1-1-0.dll
    cp api_ms_win_core_errorhandling_l1_1_0.dll $x64file/api-ms-win-core-errorhandling-l1-1-0.dll
    cp api_ms_win_core_file_l1_1_0.dll $x64file/api-ms-win-core-file-l1-1-0.dll
    cp api_ms_win_core_file_l1_2_0.dll $x64file/api-ms-win-core-file-l1-2-0.dll
    cp api_ms_win_core_file_l2_1_0.dll $x64file/api-ms-win-core-file-l2-1-0.dll
    cp api_ms_win_core_handle_l1_1_0.dll $x64file/api-ms-win-core-handle-l1-1-0.dll
    cp api_ms_win_core_heap_l1_1_0.dll $x64file/api-ms-win-core-heap-l1-1-0.dll
    cp api_ms_win_core_interlocked_l1_1_0.dll $x64file/api-ms-win-core-interlocked-l1-1-0.dll
    cp api_ms_win_core_libraryloader_l1_1_0.dll $x64file/api-ms-win-core-libraryloader-l1-1-0.dll
    cp api_ms_win_core_localization_l1_2_0.dll $x64file/api-ms-win-core-localization-l1-2-0.dll
    cp api_ms_win_core_memory_l1_1_0.dll $x64file/api-ms-win-core-memory-l1-1-0.dll
    cp api_ms_win_core_namedpipe_l1_1_0.dll $x64file/api-ms-win-core-namedpipe-l1-1-0.dll
    cp api_ms_win_core_processenvironment_l1_1_0.dll $x64file/api-ms-win-core-processenvironment-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_0.dll $x64file/api-ms-win-core-processthreads-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_1.dll $x64file/api-ms-win-core-processthreads-l1-1-1.dll
    cp api_ms_win_core_profile_l1_1_0.dll $x64file/api-ms-win-core-profile-l1-1-0.dll
    cp api_ms_win_core_rtlsupport_l1_1_0.dll $x64file/api-ms-win-core-rtlsupport-l1-1-0.dll
    cp api_ms_win_core_string_l1_1_0.dll $x64file/api-ms-win-core-string-l1-1-0.dll
    cp api_ms_win_core_synch_l1_1_0.dll $x64file/api-ms-win-core-synch-l1-1-0.dll
    cp api_ms_win_core_synch_l1_2_0.dll $x64file/api-ms-win-core-synch-l1-2-0.dll
    cp api_ms_win_core_sysinfo_l1_1_0.dll $x64file/api-ms-win-core-sysinfo-l1-1-0.dll
    cp api_ms_win_core_timezone_l1_1_0.dll $x64file/api-ms-win-core-timezone-l1-1-0.dll
    cp api_ms_win_core_util_l1_1_0.dll $x64file/api-ms-win-core-util-l1-1-0.dll
    cp api_ms_win_crt_conio_l1_1_0.dll $x64file/api-ms-win-crt-conio-l1-1-0.dll
    cp api_ms_win_crt_convert_l1_1_0.dll $x64file/api-ms-win-crt-convert-l1-1-0.dll
    cp api_ms_win_crt_environment_l1_1_0.dll $x64file/api-ms-win-crt-environment-l1-1-0.dll
    cp api_ms_win_crt_filesystem_l1_1_0.dll $x64file/api-ms-win-crt-filesystem-l1-1-0.dll
    cp api_ms_win_crt_heap_l1_1_0.dll $x64file/api-ms-win-crt-heap-l1-1-0.dll
    cp api_ms_win_crt_locale_l1_1_0.dll $x64file/api-ms-win-crt-locale-l1-1-0.dll
    cp api_ms_win_crt_math_l1_1_0.dll $x64file/api-ms-win-crt-math-l1-1-0.dll
    cp api_ms_win_crt_multibyte_l1_1_0.dll $x64file/api-ms-win-crt-multibyte-l1-1-0.dll
    cp api_ms_win_crt_private_l1_1_0.dll $x64file/api-ms-win-crt-private-l1-1-0.dll
    cp api_ms_win_crt_process_l1_1_0.dll $x64file/api-ms-win-crt-process-l1-1-0.dll
    cp api_ms_win_crt_runtime_l1_1_0.dll $x64file/api-ms-win-crt-runtime-l1-1-0.dll
    cp api_ms_win_crt_stdio_l1_1_0.dll $x64file/api-ms-win-crt-stdio-l1-1-0.dll
    cp api_ms_win_crt_string_l1_1_0.dll $x64file/api-ms-win-crt-string-l1-1-0.dll
    cp api_ms_win_crt_time_l1_1_0.dll $x64file/api-ms-win-crt-time-l1-1-0.dll
    cp api_ms_win_crt_utility_l1_1_0.dll $x64file/api-ms-win-crt-utility-l1-1-0.dll

    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
fi

POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"

rm -rf $POL_USER_ROOT/tmp/vcrun2019

Contributions

Filters:

Contribute
Member Wiadmości
Yaotl Friday 6 December 2019 at 9:45
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-07-09 11-56)
-# Last revision : (2019-10-30 11-37)
+# Last revision : (2019-12-06 09-35)
 # Distribution used to test : Linux Mint 19.2 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
@@ -12,14 +12,17 @@
 #    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
 # [Yaotl] (2019-10-30)
 #    - Script repaired (Files are now copied to the correct location.)!
+# [Yaotl] (2019-12-06)
+#    - Fix invalid hash.
+#    - Upgrade vcrun2019 14.23.27820 to 14.24.28127
 
 
 cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
-POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "ae847b3fbabee336879a72e53962c12c" "vcrun2019" # Version: 14.23.27820
+POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/9307e627-aaac-42cb-a32a-a39e166ee8cb/E59AE3E886BD4571A811FE31A47959AE5C40D87C583F786816C60440252CD7EC/VC_redist.x86.exe" "24e8177b25c072f4fb0d37496ccdbb34" "vcrun2019" # Version: 14.24.28127
 
 mkdir -p $POL_USER_ROOT/tmp/vcrun2019
-cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
-cabextract -F 'a11' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
+cabextract -F 'a10' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
+cabextract -F 'a11' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
 cd $POL_USER_ROOT/tmp/vcrun2019
 cabextract a10
 cabextract a11
@@ -74,11 +77,11 @@
 
 if [ "$POL_ARCH" = "amd64" ]; then
     cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
-    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "7492e87aec4a8f14cb436e13bf1610db" "vcrun2019" # Version: 14.23.27820
- 
+    POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/3b070396-b7fb-4eee-aa8b-102a23c3e4f4/40EA2955391C9EAE3E35619C4C24B5AAF3D17AEAA6D09424EE9672AA9372AEED/VC_redist.x64.exe" "be433764fa9bbe0f2f9c654f6512c9e0" "vcrun2019" # Version: 14.24.28127
+
     mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
-    cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
-    cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
+    cabextract -F 'a10' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
+    cabextract -F 'a11' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
     cd $POL_USER_ROOT/tmp/vcrun2019/x64
     cabextract a10
     cabextract a11

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-07-09 11-56)
# Last revision : (2019-12-06 09-35)
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3

# CHANGELOG
# [Yaotl] (2019-09-24)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
# [Yaotl] (2019-10-30)
#    - Script repaired (Files are now copied to the correct location.)!
# [Yaotl] (2019-12-06)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.23.27820 to 14.24.28127


cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/9307e627-aaac-42cb-a32a-a39e166ee8cb/E59AE3E886BD4571A811FE31A47959AE5C40D87C583F786816C60440252CD7EC/VC_redist.x86.exe" "24e8177b25c072f4fb0d37496ccdbb34" "vcrun2019" # Version: 14.24.28127

mkdir -p $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a10' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a11' VC_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cd $POL_USER_ROOT/tmp/vcrun2019
cabextract a10
cabextract a11

if [ "$POL_ARCH" = "amd64" ]; then
    x86file="$WINEPREFIX/drive_c/windows/syswow64"
else
    x86file="$WINEPREFIX/drive_c/windows/system32"
fi

cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $x86file
cp api_ms_win_core_console_l1_1_0.dll $x86file/api-ms-win-core-console-l1-1-0.dll
cp api_ms_win_core_datetime_l1_1_0.dll $x86file/api-ms-win-core-datetime-l1-1-0.dll
cp api_ms_win_core_debug_l1_1_0.dll $x86file/api-ms-win-core-debug-l1-1-0.dll
cp api_ms_win_core_errorhandling_l1_1_0.dll $x86file/api-ms-win-core-errorhandling-l1-1-0.dll
cp api_ms_win_core_file_l1_1_0.dll $x86file/api-ms-win-core-file-l1-1-0.dll
cp api_ms_win_core_file_l1_2_0.dll $x86file/api-ms-win-core-file-l1-2-0.dll
cp api_ms_win_core_file_l2_1_0.dll $x86file/api-ms-win-core-file-l2-1-0.dll
cp api_ms_win_core_handle_l1_1_0.dll $x86file/api-ms-win-core-handle-l1-1-0.dll
cp api_ms_win_core_heap_l1_1_0.dll $x86file/api-ms-win-core-heap-l1-1-0.dll
cp api_ms_win_core_interlocked_l1_1_0.dll $x86file/api-ms-win-core-interlocked-l1-1-0.dll
cp api_ms_win_core_libraryloader_l1_1_0.dll $x86file/api-ms-win-core-libraryloader-l1-1-0.dll
cp api_ms_win_core_localization_l1_2_0.dll $x86file/api-ms-win-core-localization-l1-2-0.dll
cp api_ms_win_core_memory_l1_1_0.dll $x86file/api-ms-win-core-memory-l1-1-0.dll
cp api_ms_win_core_namedpipe_l1_1_0.dll $x86file/api-ms-win-core-namedpipe-l1-1-0.dll
cp api_ms_win_core_processenvironment_l1_1_0.dll $x86file/api-ms-win-core-processenvironment-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_0.dll $x86file/api-ms-win-core-processthreads-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_1.dll $x86file/api-ms-win-core-processthreads-l1-1-1.dll
cp api_ms_win_core_profile_l1_1_0.dll $x86file/api-ms-win-core-profile-l1-1-0.dll
cp api_ms_win_core_rtlsupport_l1_1_0.dll $x86file/api-ms-win-core-rtlsupport-l1-1-0.dll
cp api_ms_win_core_string_l1_1_0.dll $x86file/api-ms-win-core-string-l1-1-0.dll
cp api_ms_win_core_synch_l1_1_0.dll $x86file/api-ms-win-core-synch-l1-1-0.dll
cp api_ms_win_core_synch_l1_2_0.dll $x86file/api-ms-win-core-synch-l1-2-0.dll
cp api_ms_win_core_sysinfo_l1_1_0.dll $x86file/api-ms-win-core-sysinfo-l1-1-0.dll
cp api_ms_win_core_timezone_l1_1_0.dll $x86file/api-ms-win-core-timezone-l1-1-0.dll
cp api_ms_win_core_util_l1_1_0.dll $x86file/api-ms-win-core-util-l1-1-0.dll
cp api_ms_win_crt_conio_l1_1_0.dll $x86file/api-ms-win-crt-conio-l1-1-0.dll
cp api_ms_win_crt_convert_l1_1_0.dll $x86file/api-ms-win-crt-convert-l1-1-0.dll
cp api_ms_win_crt_environment_l1_1_0.dll $x86file/api-ms-win-crt-environment-l1-1-0.dll
cp api_ms_win_crt_filesystem_l1_1_0.dll $x86file/api-ms-win-crt-filesystem-l1-1-0.dll
cp api_ms_win_crt_heap_l1_1_0.dll $x86file/api-ms-win-crt-heap-l1-1-0.dll
cp api_ms_win_crt_locale_l1_1_0.dll $x86file/api-ms-win-crt-locale-l1-1-0.dll
cp api_ms_win_crt_math_l1_1_0.dll $x86file/api-ms-win-crt-math-l1-1-0.dll
cp api_ms_win_crt_multibyte_l1_1_0.dll $x86file/api-ms-win-crt-multibyte-l1-1-0.dll
cp api_ms_win_crt_private_l1_1_0.dll $x86file/api-ms-win-crt-private-l1-1-0.dll
cp api_ms_win_crt_process_l1_1_0.dll $x86file/api-ms-win-crt-process-l1-1-0.dll
cp api_ms_win_crt_runtime_l1_1_0.dll $x86file/api-ms-win-crt-runtime-l1-1-0.dll
cp api_ms_win_crt_stdio_l1_1_0.dll $x86file/api-ms-win-crt-stdio-l1-1-0.dll
cp api_ms_win_crt_string_l1_1_0.dll $x86file/api-ms-win-crt-string-l1-1-0.dll
cp api_ms_win_crt_time_l1_1_0.dll $x86file/api-ms-win-crt-time-l1-1-0.dll
cp api_ms_win_crt_utility_l1_1_0.dll $x86file/api-ms-win-crt-utility-l1-1-0.dll

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
    POL_Download_Resource "https://download.visualstudio.microsoft.com/download/pr/3b070396-b7fb-4eee-aa8b-102a23c3e4f4/40EA2955391C9EAE3E35619C4C24B5AAF3D17AEAA6D09424EE9672AA9372AEED/VC_redist.x64.exe" "be433764fa9bbe0f2f9c654f6512c9e0" "vcrun2019" # Version: 14.24.28127

    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a10' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a11' VC_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cd $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract a10
    cabextract a11

    x64file="$WINEPREFIX/drive_c/windows/system32"

    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $x64file
    cp api_ms_win_core_console_l1_1_0.dll $x64file/api-ms-win-core-console-l1-1-0.dll
    cp api_ms_win_core_datetime_l1_1_0.dll $x64file/api-ms-win-core-datetime-l1-1-0.dll
    cp api_ms_win_core_debug_l1_1_0.dll $x64file/api-ms-win-core-debug-l1-1-0.dll
    cp api_ms_win_core_errorhandling_l1_1_0.dll $x64file/api-ms-win-core-errorhandling-l1-1-0.dll
    cp api_ms_win_core_file_l1_1_0.dll $x64file/api-ms-win-core-file-l1-1-0.dll
    cp api_ms_win_core_file_l1_2_0.dll $x64file/api-ms-win-core-file-l1-2-0.dll
    cp api_ms_win_core_file_l2_1_0.dll $x64file/api-ms-win-core-file-l2-1-0.dll
    cp api_ms_win_core_handle_l1_1_0.dll $x64file/api-ms-win-core-handle-l1-1-0.dll
    cp api_ms_win_core_heap_l1_1_0.dll $x64file/api-ms-win-core-heap-l1-1-0.dll
    cp api_ms_win_core_interlocked_l1_1_0.dll $x64file/api-ms-win-core-interlocked-l1-1-0.dll
    cp api_ms_win_core_libraryloader_l1_1_0.dll $x64file/api-ms-win-core-libraryloader-l1-1-0.dll
    cp api_ms_win_core_localization_l1_2_0.dll $x64file/api-ms-win-core-localization-l1-2-0.dll
    cp api_ms_win_core_memory_l1_1_0.dll $x64file/api-ms-win-core-memory-l1-1-0.dll
    cp api_ms_win_core_namedpipe_l1_1_0.dll $x64file/api-ms-win-core-namedpipe-l1-1-0.dll
    cp api_ms_win_core_processenvironment_l1_1_0.dll $x64file/api-ms-win-core-processenvironment-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_0.dll $x64file/api-ms-win-core-processthreads-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_1.dll $x64file/api-ms-win-core-processthreads-l1-1-1.dll
    cp api_ms_win_core_profile_l1_1_0.dll $x64file/api-ms-win-core-profile-l1-1-0.dll
    cp api_ms_win_core_rtlsupport_l1_1_0.dll $x64file/api-ms-win-core-rtlsupport-l1-1-0.dll
    cp api_ms_win_core_string_l1_1_0.dll $x64file/api-ms-win-core-string-l1-1-0.dll
    cp api_ms_win_core_synch_l1_1_0.dll $x64file/api-ms-win-core-synch-l1-1-0.dll
    cp api_ms_win_core_synch_l1_2_0.dll $x64file/api-ms-win-core-synch-l1-2-0.dll
    cp api_ms_win_core_sysinfo_l1_1_0.dll $x64file/api-ms-win-core-sysinfo-l1-1-0.dll
    cp api_ms_win_core_timezone_l1_1_0.dll $x64file/api-ms-win-core-timezone-l1-1-0.dll
    cp api_ms_win_core_util_l1_1_0.dll $x64file/api-ms-win-core-util-l1-1-0.dll
    cp api_ms_win_crt_conio_l1_1_0.dll $x64file/api-ms-win-crt-conio-l1-1-0.dll
    cp api_ms_win_crt_convert_l1_1_0.dll $x64file/api-ms-win-crt-convert-l1-1-0.dll
    cp api_ms_win_crt_environment_l1_1_0.dll $x64file/api-ms-win-crt-environment-l1-1-0.dll
    cp api_ms_win_crt_filesystem_l1_1_0.dll $x64file/api-ms-win-crt-filesystem-l1-1-0.dll
    cp api_ms_win_crt_heap_l1_1_0.dll $x64file/api-ms-win-crt-heap-l1-1-0.dll
    cp api_ms_win_crt_locale_l1_1_0.dll $x64file/api-ms-win-crt-locale-l1-1-0.dll
    cp api_ms_win_crt_math_l1_1_0.dll $x64file/api-ms-win-crt-math-l1-1-0.dll
    cp api_ms_win_crt_multibyte_l1_1_0.dll $x64file/api-ms-win-crt-multibyte-l1-1-0.dll
    cp api_ms_win_crt_private_l1_1_0.dll $x64file/api-ms-win-crt-private-l1-1-0.dll
    cp api_ms_win_crt_process_l1_1_0.dll $x64file/api-ms-win-crt-process-l1-1-0.dll
    cp api_ms_win_crt_runtime_l1_1_0.dll $x64file/api-ms-win-crt-runtime-l1-1-0.dll
    cp api_ms_win_crt_stdio_l1_1_0.dll $x64file/api-ms-win-crt-stdio-l1-1-0.dll
    cp api_ms_win_crt_string_l1_1_0.dll $x64file/api-ms-win-crt-string-l1-1-0.dll
    cp api_ms_win_crt_time_l1_1_0.dll $x64file/api-ms-win-crt-time-l1-1-0.dll
    cp api_ms_win_crt_utility_l1_1_0.dll $x64file/api-ms-win-crt-utility-l1-1-0.dll

    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
fi

POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"

rm -rf $POL_USER_ROOT/tmp/vcrun2019

Odpowiedzi

Friday 6 December 2019 at 11:33
Approved.
Yaotl Wednesday 30 October 2019 at 11:46
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-07-09 11-56)
-# Last revision : (2019-09-24 22-56)
+# Last revision : (2019-10-30 11-37)
 # Distribution used to test : Linux Mint 19.2 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
@@ -10,6 +10,8 @@
 # [Yaotl] (2019-09-24)
 #    - Fix invalid hash.
 #    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
+# [Yaotl] (2019-10-30)
+#    - Script repaired (Files are now copied to the correct location.)!
 
 
 cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
@@ -22,54 +24,58 @@
 cabextract a10
 cabextract a11
 
-system32="$WINEPREFIX/drive_c/windows/system32"
+if [ "$POL_ARCH" = "amd64" ]; then
+    x86file="$WINEPREFIX/drive_c/windows/syswow64"
+else
+    x86file="$WINEPREFIX/drive_c/windows/system32"
+fi
 
-cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $system32
-cp api_ms_win_core_console_l1_1_0.dll $system32/api-ms-win-core-console-l1-1-0.dll
-cp api_ms_win_core_datetime_l1_1_0.dll $system32/api-ms-win-core-datetime-l1-1-0.dll
-cp api_ms_win_core_debug_l1_1_0.dll $system32/api-ms-win-core-debug-l1-1-0.dll
-cp api_ms_win_core_errorhandling_l1_1_0.dll $system32/api-ms-win-core-errorhandling-l1-1-0.dll
-cp api_ms_win_core_file_l1_1_0.dll $system32/api-ms-win-core-file-l1-1-0.dll
-cp api_ms_win_core_file_l1_2_0.dll $system32/api-ms-win-core-file-l1-2-0.dll
-cp api_ms_win_core_file_l2_1_0.dll $system32/api-ms-win-core-file-l2-1-0.dll
-cp api_ms_win_core_handle_l1_1_0.dll $system32/api-ms-win-core-handle-l1-1-0.dll
-cp api_ms_win_core_heap_l1_1_0.dll $system32/api-ms-win-core-heap-l1-1-0.dll
-cp api_ms_win_core_interlocked_l1_1_0.dll $system32/api-ms-win-core-interlocked-l1-1-0.dll
-cp api_ms_win_core_libraryloader_l1_1_0.dll $system32/api-ms-win-core-libraryloader-l1-1-0.dll
-cp api_ms_win_core_localization_l1_2_0.dll $system32/api-ms-win-core-localization-l1-2-0.dll
-cp api_ms_win_core_memory_l1_1_0.dll $system32/api-ms-win-core-memory-l1-1-0.dll
-cp api_ms_win_core_namedpipe_l1_1_0.dll $system32/api-ms-win-core-namedpipe-l1-1-0.dll
-cp api_ms_win_core_processenvironment_l1_1_0.dll $system32/api-ms-win-core-processenvironment-l1-1-0.dll
-cp api_ms_win_core_processthreads_l1_1_0.dll $system32/api-ms-win-core-processthreads-l1-1-0.dll
-cp api_ms_win_core_processthreads_l1_1_1.dll $system32/api-ms-win-core-processthreads-l1-1-1.dll
-cp api_ms_win_core_profile_l1_1_0.dll $system32/api-ms-win-core-profile-l1-1-0.dll
-cp api_ms_win_core_rtlsupport_l1_1_0.dll $system32/api-ms-win-core-rtlsupport-l1-1-0.dll
-cp api_ms_win_core_string_l1_1_0.dll $system32/api-ms-win-core-string-l1-1-0.dll
-cp api_ms_win_core_synch_l1_1_0.dll $system32/api-ms-win-core-synch-l1-1-0.dll
-cp api_ms_win_core_synch_l1_2_0.dll $system32/api-ms-win-core-synch-l1-2-0.dll
-cp api_ms_win_core_sysinfo_l1_1_0.dll $system32/api-ms-win-core-sysinfo-l1-1-0.dll
-cp api_ms_win_core_timezone_l1_1_0.dll $system32/api-ms-win-core-timezone-l1-1-0.dll
-cp api_ms_win_core_util_l1_1_0.dll $system32/api-ms-win-core-util-l1-1-0.dll
-cp api_ms_win_crt_conio_l1_1_0.dll $system32/api-ms-win-crt-conio-l1-1-0.dll
-cp api_ms_win_crt_convert_l1_1_0.dll $system32/api-ms-win-crt-convert-l1-1-0.dll
-cp api_ms_win_crt_environment_l1_1_0.dll $system32/api-ms-win-crt-environment-l1-1-0.dll
-cp api_ms_win_crt_filesystem_l1_1_0.dll $system32/api-ms-win-crt-filesystem-l1-1-0.dll
-cp api_ms_win_crt_heap_l1_1_0.dll $system32/api-ms-win-crt-heap-l1-1-0.dll
-cp api_ms_win_crt_locale_l1_1_0.dll $system32/api-ms-win-crt-locale-l1-1-0.dll
-cp api_ms_win_crt_math_l1_1_0.dll $system32/api-ms-win-crt-math-l1-1-0.dll
-cp api_ms_win_crt_multibyte_l1_1_0.dll $system32/api-ms-win-crt-multibyte-l1-1-0.dll
-cp api_ms_win_crt_private_l1_1_0.dll $system32/api-ms-win-crt-private-l1-1-0.dll
-cp api_ms_win_crt_process_l1_1_0.dll $system32/api-ms-win-crt-process-l1-1-0.dll
-cp api_ms_win_crt_runtime_l1_1_0.dll $system32/api-ms-win-crt-runtime-l1-1-0.dll
-cp api_ms_win_crt_stdio_l1_1_0.dll $system32/api-ms-win-crt-stdio-l1-1-0.dll
-cp api_ms_win_crt_string_l1_1_0.dll $system32/api-ms-win-crt-string-l1-1-0.dll
-cp api_ms_win_crt_time_l1_1_0.dll $system32/api-ms-win-crt-time-l1-1-0.dll
-cp api_ms_win_crt_utility_l1_1_0.dll $system32/api-ms-win-crt-utility-l1-1-0.dll
+cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $x86file
+cp api_ms_win_core_console_l1_1_0.dll $x86file/api-ms-win-core-console-l1-1-0.dll
+cp api_ms_win_core_datetime_l1_1_0.dll $x86file/api-ms-win-core-datetime-l1-1-0.dll
+cp api_ms_win_core_debug_l1_1_0.dll $x86file/api-ms-win-core-debug-l1-1-0.dll
+cp api_ms_win_core_errorhandling_l1_1_0.dll $x86file/api-ms-win-core-errorhandling-l1-1-0.dll
+cp api_ms_win_core_file_l1_1_0.dll $x86file/api-ms-win-core-file-l1-1-0.dll
+cp api_ms_win_core_file_l1_2_0.dll $x86file/api-ms-win-core-file-l1-2-0.dll
+cp api_ms_win_core_file_l2_1_0.dll $x86file/api-ms-win-core-file-l2-1-0.dll
+cp api_ms_win_core_handle_l1_1_0.dll $x86file/api-ms-win-core-handle-l1-1-0.dll
+cp api_ms_win_core_heap_l1_1_0.dll $x86file/api-ms-win-core-heap-l1-1-0.dll
+cp api_ms_win_core_interlocked_l1_1_0.dll $x86file/api-ms-win-core-interlocked-l1-1-0.dll
+cp api_ms_win_core_libraryloader_l1_1_0.dll $x86file/api-ms-win-core-libraryloader-l1-1-0.dll
+cp api_ms_win_core_localization_l1_2_0.dll $x86file/api-ms-win-core-localization-l1-2-0.dll
+cp api_ms_win_core_memory_l1_1_0.dll $x86file/api-ms-win-core-memory-l1-1-0.dll
+cp api_ms_win_core_namedpipe_l1_1_0.dll $x86file/api-ms-win-core-namedpipe-l1-1-0.dll
+cp api_ms_win_core_processenvironment_l1_1_0.dll $x86file/api-ms-win-core-processenvironment-l1-1-0.dll
+cp api_ms_win_core_processthreads_l1_1_0.dll $x86file/api-ms-win-core-processthreads-l1-1-0.dll
+cp api_ms_win_core_processthreads_l1_1_1.dll $x86file/api-ms-win-core-processthreads-l1-1-1.dll
+cp api_ms_win_core_profile_l1_1_0.dll $x86file/api-ms-win-core-profile-l1-1-0.dll
+cp api_ms_win_core_rtlsupport_l1_1_0.dll $x86file/api-ms-win-core-rtlsupport-l1-1-0.dll
+cp api_ms_win_core_string_l1_1_0.dll $x86file/api-ms-win-core-string-l1-1-0.dll
+cp api_ms_win_core_synch_l1_1_0.dll $x86file/api-ms-win-core-synch-l1-1-0.dll
+cp api_ms_win_core_synch_l1_2_0.dll $x86file/api-ms-win-core-synch-l1-2-0.dll
+cp api_ms_win_core_sysinfo_l1_1_0.dll $x86file/api-ms-win-core-sysinfo-l1-1-0.dll
+cp api_ms_win_core_timezone_l1_1_0.dll $x86file/api-ms-win-core-timezone-l1-1-0.dll
+cp api_ms_win_core_util_l1_1_0.dll $x86file/api-ms-win-core-util-l1-1-0.dll
+cp api_ms_win_crt_conio_l1_1_0.dll $x86file/api-ms-win-crt-conio-l1-1-0.dll
+cp api_ms_win_crt_convert_l1_1_0.dll $x86file/api-ms-win-crt-convert-l1-1-0.dll
+cp api_ms_win_crt_environment_l1_1_0.dll $x86file/api-ms-win-crt-environment-l1-1-0.dll
+cp api_ms_win_crt_filesystem_l1_1_0.dll $x86file/api-ms-win-crt-filesystem-l1-1-0.dll
+cp api_ms_win_crt_heap_l1_1_0.dll $x86file/api-ms-win-crt-heap-l1-1-0.dll
+cp api_ms_win_crt_locale_l1_1_0.dll $x86file/api-ms-win-crt-locale-l1-1-0.dll
+cp api_ms_win_crt_math_l1_1_0.dll $x86file/api-ms-win-crt-math-l1-1-0.dll
+cp api_ms_win_crt_multibyte_l1_1_0.dll $x86file/api-ms-win-crt-multibyte-l1-1-0.dll
+cp api_ms_win_crt_private_l1_1_0.dll $x86file/api-ms-win-crt-private-l1-1-0.dll
+cp api_ms_win_crt_process_l1_1_0.dll $x86file/api-ms-win-crt-process-l1-1-0.dll
+cp api_ms_win_crt_runtime_l1_1_0.dll $x86file/api-ms-win-crt-runtime-l1-1-0.dll
+cp api_ms_win_crt_stdio_l1_1_0.dll $x86file/api-ms-win-crt-stdio-l1-1-0.dll
+cp api_ms_win_crt_string_l1_1_0.dll $x86file/api-ms-win-crt-string-l1-1-0.dll
+cp api_ms_win_crt_time_l1_1_0.dll $x86file/api-ms-win-crt-time-l1-1-0.dll
+cp api_ms_win_crt_utility_l1_1_0.dll $x86file/api-ms-win-crt-utility-l1-1-0.dll
 
 if [ "$POL_ARCH" = "amd64" ]; then
     cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
     POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "7492e87aec4a8f14cb436e13bf1610db" "vcrun2019" # Version: 14.23.27820
-
+ 
     mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
     cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
     cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
@@ -77,49 +83,49 @@
     cabextract a10
     cabextract a11
 
-    syswow64="$WINEPREFIX/drive_c/windows/syswow64"
+    x64file="$WINEPREFIX/drive_c/windows/system32"
 
-    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $syswow64
-    cp api_ms_win_core_console_l1_1_0.dll $syswow64/api-ms-win-core-console-l1-1-0.dll
-    cp api_ms_win_core_datetime_l1_1_0.dll $syswow64/api-ms-win-core-datetime-l1-1-0.dll
-    cp api_ms_win_core_debug_l1_1_0.dll $syswow64/api-ms-win-core-debug-l1-1-0.dll
-    cp api_ms_win_core_errorhandling_l1_1_0.dll $syswow64/api-ms-win-core-errorhandling-l1-1-0.dll
-    cp api_ms_win_core_file_l1_1_0.dll $syswow64/api-ms-win-core-file-l1-1-0.dll
-    cp api_ms_win_core_file_l1_2_0.dll $syswow64/api-ms-win-core-file-l1-2-0.dll
-    cp api_ms_win_core_file_l2_1_0.dll $syswow64/api-ms-win-core-file-l2-1-0.dll
-    cp api_ms_win_core_handle_l1_1_0.dll $syswow64/api-ms-win-core-handle-l1-1-0.dll
-    cp api_ms_win_core_heap_l1_1_0.dll $syswow64/api-ms-win-core-heap-l1-1-0.dll
-    cp api_ms_win_core_interlocked_l1_1_0.dll $syswow64/api-ms-win-core-interlocked-l1-1-0.dll
-    cp api_ms_win_core_libraryloader_l1_1_0.dll $syswow64/api-ms-win-core-libraryloader-l1-1-0.dll
-    cp api_ms_win_core_localization_l1_2_0.dll $syswow64/api-ms-win-core-localization-l1-2-0.dll
-    cp api_ms_win_core_memory_l1_1_0.dll $syswow64/api-ms-win-core-memory-l1-1-0.dll
-    cp api_ms_win_core_namedpipe_l1_1_0.dll $syswow64/api-ms-win-core-namedpipe-l1-1-0.dll
-    cp api_ms_win_core_processenvironment_l1_1_0.dll $syswow64/api-ms-win-core-processenvironment-l1-1-0.dll
-    cp api_ms_win_core_processthreads_l1_1_0.dll $syswow64/api-ms-win-core-processthreads-l1-1-0.dll
-    cp api_ms_win_core_processthreads_l1_1_1.dll $syswow64/api-ms-win-core-processthreads-l1-1-1.dll
-    cp api_ms_win_core_profile_l1_1_0.dll $syswow64/api-ms-win-core-profile-l1-1-0.dll
-    cp api_ms_win_core_rtlsupport_l1_1_0.dll $syswow64/api-ms-win-core-rtlsupport-l1-1-0.dll
-    cp api_ms_win_core_string_l1_1_0.dll $syswow64/api-ms-win-core-string-l1-1-0.dll
-    cp api_ms_win_core_synch_l1_1_0.dll $syswow64/api-ms-win-core-synch-l1-1-0.dll
-    cp api_ms_win_core_synch_l1_2_0.dll $syswow64/api-ms-win-core-synch-l1-2-0.dll
-    cp api_ms_win_core_sysinfo_l1_1_0.dll $syswow64/api-ms-win-core-sysinfo-l1-1-0.dll
-    cp api_ms_win_core_timezone_l1_1_0.dll $syswow64/api-ms-win-core-timezone-l1-1-0.dll
-    cp api_ms_win_core_util_l1_1_0.dll $syswow64/api-ms-win-core-util-l1-1-0.dll
-    cp api_ms_win_crt_conio_l1_1_0.dll $syswow64/api-ms-win-crt-conio-l1-1-0.dll
-    cp api_ms_win_crt_convert_l1_1_0.dll $syswow64/api-ms-win-crt-convert-l1-1-0.dll
-    cp api_ms_win_crt_environment_l1_1_0.dll $syswow64/api-ms-win-crt-environment-l1-1-0.dll
-    cp api_ms_win_crt_filesystem_l1_1_0.dll $syswow64/api-ms-win-crt-filesystem-l1-1-0.dll
-    cp api_ms_win_crt_heap_l1_1_0.dll $syswow64/api-ms-win-crt-heap-l1-1-0.dll
-    cp api_ms_win_crt_locale_l1_1_0.dll $syswow64/api-ms-win-crt-locale-l1-1-0.dll
-    cp api_ms_win_crt_math_l1_1_0.dll $syswow64/api-ms-win-crt-math-l1-1-0.dll
-    cp api_ms_win_crt_multibyte_l1_1_0.dll $syswow64/api-ms-win-crt-multibyte-l1-1-0.dll
-    cp api_ms_win_crt_private_l1_1_0.dll $syswow64/api-ms-win-crt-private-l1-1-0.dll
-    cp api_ms_win_crt_process_l1_1_0.dll $syswow64/api-ms-win-crt-process-l1-1-0.dll
-    cp api_ms_win_crt_runtime_l1_1_0.dll $syswow64/api-ms-win-crt-runtime-l1-1-0.dll
-    cp api_ms_win_crt_stdio_l1_1_0.dll $syswow64/api-ms-win-crt-stdio-l1-1-0.dll
-    cp api_ms_win_crt_string_l1_1_0.dll $syswow64/api-ms-win-crt-string-l1-1-0.dll
-    cp api_ms_win_crt_time_l1_1_0.dll $syswow64/api-ms-win-crt-time-l1-1-0.dll
-    cp api_ms_win_crt_utility_l1_1_0.dll $syswow64/api-ms-win-crt-utility-l1-1-0.dll
+    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $x64file
+    cp api_ms_win_core_console_l1_1_0.dll $x64file/api-ms-win-core-console-l1-1-0.dll
+    cp api_ms_win_core_datetime_l1_1_0.dll $x64file/api-ms-win-core-datetime-l1-1-0.dll
+    cp api_ms_win_core_debug_l1_1_0.dll $x64file/api-ms-win-core-debug-l1-1-0.dll
+    cp api_ms_win_core_errorhandling_l1_1_0.dll $x64file/api-ms-win-core-errorhandling-l1-1-0.dll
+    cp api_ms_win_core_file_l1_1_0.dll $x64file/api-ms-win-core-file-l1-1-0.dll
+    cp api_ms_win_core_file_l1_2_0.dll $x64file/api-ms-win-core-file-l1-2-0.dll
+    cp api_ms_win_core_file_l2_1_0.dll $x64file/api-ms-win-core-file-l2-1-0.dll
+    cp api_ms_win_core_handle_l1_1_0.dll $x64file/api-ms-win-core-handle-l1-1-0.dll
+    cp api_ms_win_core_heap_l1_1_0.dll $x64file/api-ms-win-core-heap-l1-1-0.dll
+    cp api_ms_win_core_interlocked_l1_1_0.dll $x64file/api-ms-win-core-interlocked-l1-1-0.dll
+    cp api_ms_win_core_libraryloader_l1_1_0.dll $x64file/api-ms-win-core-libraryloader-l1-1-0.dll
+    cp api_ms_win_core_localization_l1_2_0.dll $x64file/api-ms-win-core-localization-l1-2-0.dll
+    cp api_ms_win_core_memory_l1_1_0.dll $x64file/api-ms-win-core-memory-l1-1-0.dll
+    cp api_ms_win_core_namedpipe_l1_1_0.dll $x64file/api-ms-win-core-namedpipe-l1-1-0.dll
+    cp api_ms_win_core_processenvironment_l1_1_0.dll $x64file/api-ms-win-core-processenvironment-l1-1-0.dll
+    cp api_ms_win_core_processthreads_l1_1_0.dll $x64file/api-ms-win-core-processthreads-l1-1-0.dll
+    cp api_ms_win_core_processthreads_l1_1_1.dll $x64file/api-ms-win-core-processthreads-l1-1-1.dll
+    cp api_ms_win_core_profile_l1_1_0.dll $x64file/api-ms-win-core-profile-l1-1-0.dll
+    cp api_ms_win_core_rtlsupport_l1_1_0.dll $x64file/api-ms-win-core-rtlsupport-l1-1-0.dll
+    cp api_ms_win_core_string_l1_1_0.dll $x64file/api-ms-win-core-string-l1-1-0.dll
+    cp api_ms_win_core_synch_l1_1_0.dll $x64file/api-ms-win-core-synch-l1-1-0.dll
+    cp api_ms_win_core_synch_l1_2_0.dll $x64file/api-ms-win-core-synch-l1-2-0.dll
+    cp api_ms_win_core_sysinfo_l1_1_0.dll $x64file/api-ms-win-core-sysinfo-l1-1-0.dll
+    cp api_ms_win_core_timezone_l1_1_0.dll $x64file/api-ms-win-core-timezone-l1-1-0.dll
+    cp api_ms_win_core_util_l1_1_0.dll $x64file/api-ms-win-core-util-l1-1-0.dll
+    cp api_ms_win_crt_conio_l1_1_0.dll $x64file/api-ms-win-crt-conio-l1-1-0.dll
+    cp api_ms_win_crt_convert_l1_1_0.dll $x64file/api-ms-win-crt-convert-l1-1-0.dll
+    cp api_ms_win_crt_environment_l1_1_0.dll $x64file/api-ms-win-crt-environment-l1-1-0.dll
+    cp api_ms_win_crt_filesystem_l1_1_0.dll $x64file/api-ms-win-crt-filesystem-l1-1-0.dll
+    cp api_ms_win_crt_heap_l1_1_0.dll $x64file/api-ms-win-crt-heap-l1-1-0.dll
+    cp api_ms_win_crt_locale_l1_1_0.dll $x64file/api-ms-win-crt-locale-l1-1-0.dll
+    cp api_ms_win_crt_math_l1_1_0.dll $x64file/api-ms-win-crt-math-l1-1-0.dll
+    cp api_ms_win_crt_multibyte_l1_1_0.dll $x64file/api-ms-win-crt-multibyte-l1-1-0.dll
+    cp api_ms_win_crt_private_l1_1_0.dll $x64file/api-ms-win-crt-private-l1-1-0.dll
+    cp api_ms_win_crt_process_l1_1_0.dll $x64file/api-ms-win-crt-process-l1-1-0.dll
+    cp api_ms_win_crt_runtime_l1_1_0.dll $x64file/api-ms-win-crt-runtime-l1-1-0.dll
+    cp api_ms_win_crt_stdio_l1_1_0.dll $x64file/api-ms-win-crt-stdio-l1-1-0.dll
+    cp api_ms_win_crt_string_l1_1_0.dll $x64file/api-ms-win-crt-string-l1-1-0.dll
+    cp api_ms_win_crt_time_l1_1_0.dll $x64file/api-ms-win-crt-time-l1-1-0.dll
+    cp api_ms_win_crt_utility_l1_1_0.dll $x64file/api-ms-win-crt-utility-l1-1-0.dll
 
     POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
 fi

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-07-09 11-56)
# Last revision : (2019-10-30 11-37)
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3

# CHANGELOG
# [Yaotl] (2019-09-24)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
# [Yaotl] (2019-10-30)
#    - Script repaired (Files are now copied to the correct location.)!


cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "ae847b3fbabee336879a72e53962c12c" "vcrun2019" # Version: 14.23.27820

mkdir -p $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a11' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cd $POL_USER_ROOT/tmp/vcrun2019
cabextract a10
cabextract a11

if [ "$POL_ARCH" = "amd64" ]; then
    x86file="$WINEPREFIX/drive_c/windows/syswow64"
else
    x86file="$WINEPREFIX/drive_c/windows/system32"
fi

cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $x86file
cp api_ms_win_core_console_l1_1_0.dll $x86file/api-ms-win-core-console-l1-1-0.dll
cp api_ms_win_core_datetime_l1_1_0.dll $x86file/api-ms-win-core-datetime-l1-1-0.dll
cp api_ms_win_core_debug_l1_1_0.dll $x86file/api-ms-win-core-debug-l1-1-0.dll
cp api_ms_win_core_errorhandling_l1_1_0.dll $x86file/api-ms-win-core-errorhandling-l1-1-0.dll
cp api_ms_win_core_file_l1_1_0.dll $x86file/api-ms-win-core-file-l1-1-0.dll
cp api_ms_win_core_file_l1_2_0.dll $x86file/api-ms-win-core-file-l1-2-0.dll
cp api_ms_win_core_file_l2_1_0.dll $x86file/api-ms-win-core-file-l2-1-0.dll
cp api_ms_win_core_handle_l1_1_0.dll $x86file/api-ms-win-core-handle-l1-1-0.dll
cp api_ms_win_core_heap_l1_1_0.dll $x86file/api-ms-win-core-heap-l1-1-0.dll
cp api_ms_win_core_interlocked_l1_1_0.dll $x86file/api-ms-win-core-interlocked-l1-1-0.dll
cp api_ms_win_core_libraryloader_l1_1_0.dll $x86file/api-ms-win-core-libraryloader-l1-1-0.dll
cp api_ms_win_core_localization_l1_2_0.dll $x86file/api-ms-win-core-localization-l1-2-0.dll
cp api_ms_win_core_memory_l1_1_0.dll $x86file/api-ms-win-core-memory-l1-1-0.dll
cp api_ms_win_core_namedpipe_l1_1_0.dll $x86file/api-ms-win-core-namedpipe-l1-1-0.dll
cp api_ms_win_core_processenvironment_l1_1_0.dll $x86file/api-ms-win-core-processenvironment-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_0.dll $x86file/api-ms-win-core-processthreads-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_1.dll $x86file/api-ms-win-core-processthreads-l1-1-1.dll
cp api_ms_win_core_profile_l1_1_0.dll $x86file/api-ms-win-core-profile-l1-1-0.dll
cp api_ms_win_core_rtlsupport_l1_1_0.dll $x86file/api-ms-win-core-rtlsupport-l1-1-0.dll
cp api_ms_win_core_string_l1_1_0.dll $x86file/api-ms-win-core-string-l1-1-0.dll
cp api_ms_win_core_synch_l1_1_0.dll $x86file/api-ms-win-core-synch-l1-1-0.dll
cp api_ms_win_core_synch_l1_2_0.dll $x86file/api-ms-win-core-synch-l1-2-0.dll
cp api_ms_win_core_sysinfo_l1_1_0.dll $x86file/api-ms-win-core-sysinfo-l1-1-0.dll
cp api_ms_win_core_timezone_l1_1_0.dll $x86file/api-ms-win-core-timezone-l1-1-0.dll
cp api_ms_win_core_util_l1_1_0.dll $x86file/api-ms-win-core-util-l1-1-0.dll
cp api_ms_win_crt_conio_l1_1_0.dll $x86file/api-ms-win-crt-conio-l1-1-0.dll
cp api_ms_win_crt_convert_l1_1_0.dll $x86file/api-ms-win-crt-convert-l1-1-0.dll
cp api_ms_win_crt_environment_l1_1_0.dll $x86file/api-ms-win-crt-environment-l1-1-0.dll
cp api_ms_win_crt_filesystem_l1_1_0.dll $x86file/api-ms-win-crt-filesystem-l1-1-0.dll
cp api_ms_win_crt_heap_l1_1_0.dll $x86file/api-ms-win-crt-heap-l1-1-0.dll
cp api_ms_win_crt_locale_l1_1_0.dll $x86file/api-ms-win-crt-locale-l1-1-0.dll
cp api_ms_win_crt_math_l1_1_0.dll $x86file/api-ms-win-crt-math-l1-1-0.dll
cp api_ms_win_crt_multibyte_l1_1_0.dll $x86file/api-ms-win-crt-multibyte-l1-1-0.dll
cp api_ms_win_crt_private_l1_1_0.dll $x86file/api-ms-win-crt-private-l1-1-0.dll
cp api_ms_win_crt_process_l1_1_0.dll $x86file/api-ms-win-crt-process-l1-1-0.dll
cp api_ms_win_crt_runtime_l1_1_0.dll $x86file/api-ms-win-crt-runtime-l1-1-0.dll
cp api_ms_win_crt_stdio_l1_1_0.dll $x86file/api-ms-win-crt-stdio-l1-1-0.dll
cp api_ms_win_crt_string_l1_1_0.dll $x86file/api-ms-win-crt-string-l1-1-0.dll
cp api_ms_win_crt_time_l1_1_0.dll $x86file/api-ms-win-crt-time-l1-1-0.dll
cp api_ms_win_crt_utility_l1_1_0.dll $x86file/api-ms-win-crt-utility-l1-1-0.dll

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "7492e87aec4a8f14cb436e13bf1610db" "vcrun2019" # Version: 14.23.27820
 
    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cd $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract a10
    cabextract a11

    x64file="$WINEPREFIX/drive_c/windows/system32"

    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $x64file
    cp api_ms_win_core_console_l1_1_0.dll $x64file/api-ms-win-core-console-l1-1-0.dll
    cp api_ms_win_core_datetime_l1_1_0.dll $x64file/api-ms-win-core-datetime-l1-1-0.dll
    cp api_ms_win_core_debug_l1_1_0.dll $x64file/api-ms-win-core-debug-l1-1-0.dll
    cp api_ms_win_core_errorhandling_l1_1_0.dll $x64file/api-ms-win-core-errorhandling-l1-1-0.dll
    cp api_ms_win_core_file_l1_1_0.dll $x64file/api-ms-win-core-file-l1-1-0.dll
    cp api_ms_win_core_file_l1_2_0.dll $x64file/api-ms-win-core-file-l1-2-0.dll
    cp api_ms_win_core_file_l2_1_0.dll $x64file/api-ms-win-core-file-l2-1-0.dll
    cp api_ms_win_core_handle_l1_1_0.dll $x64file/api-ms-win-core-handle-l1-1-0.dll
    cp api_ms_win_core_heap_l1_1_0.dll $x64file/api-ms-win-core-heap-l1-1-0.dll
    cp api_ms_win_core_interlocked_l1_1_0.dll $x64file/api-ms-win-core-interlocked-l1-1-0.dll
    cp api_ms_win_core_libraryloader_l1_1_0.dll $x64file/api-ms-win-core-libraryloader-l1-1-0.dll
    cp api_ms_win_core_localization_l1_2_0.dll $x64file/api-ms-win-core-localization-l1-2-0.dll
    cp api_ms_win_core_memory_l1_1_0.dll $x64file/api-ms-win-core-memory-l1-1-0.dll
    cp api_ms_win_core_namedpipe_l1_1_0.dll $x64file/api-ms-win-core-namedpipe-l1-1-0.dll
    cp api_ms_win_core_processenvironment_l1_1_0.dll $x64file/api-ms-win-core-processenvironment-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_0.dll $x64file/api-ms-win-core-processthreads-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_1.dll $x64file/api-ms-win-core-processthreads-l1-1-1.dll
    cp api_ms_win_core_profile_l1_1_0.dll $x64file/api-ms-win-core-profile-l1-1-0.dll
    cp api_ms_win_core_rtlsupport_l1_1_0.dll $x64file/api-ms-win-core-rtlsupport-l1-1-0.dll
    cp api_ms_win_core_string_l1_1_0.dll $x64file/api-ms-win-core-string-l1-1-0.dll
    cp api_ms_win_core_synch_l1_1_0.dll $x64file/api-ms-win-core-synch-l1-1-0.dll
    cp api_ms_win_core_synch_l1_2_0.dll $x64file/api-ms-win-core-synch-l1-2-0.dll
    cp api_ms_win_core_sysinfo_l1_1_0.dll $x64file/api-ms-win-core-sysinfo-l1-1-0.dll
    cp api_ms_win_core_timezone_l1_1_0.dll $x64file/api-ms-win-core-timezone-l1-1-0.dll
    cp api_ms_win_core_util_l1_1_0.dll $x64file/api-ms-win-core-util-l1-1-0.dll
    cp api_ms_win_crt_conio_l1_1_0.dll $x64file/api-ms-win-crt-conio-l1-1-0.dll
    cp api_ms_win_crt_convert_l1_1_0.dll $x64file/api-ms-win-crt-convert-l1-1-0.dll
    cp api_ms_win_crt_environment_l1_1_0.dll $x64file/api-ms-win-crt-environment-l1-1-0.dll
    cp api_ms_win_crt_filesystem_l1_1_0.dll $x64file/api-ms-win-crt-filesystem-l1-1-0.dll
    cp api_ms_win_crt_heap_l1_1_0.dll $x64file/api-ms-win-crt-heap-l1-1-0.dll
    cp api_ms_win_crt_locale_l1_1_0.dll $x64file/api-ms-win-crt-locale-l1-1-0.dll
    cp api_ms_win_crt_math_l1_1_0.dll $x64file/api-ms-win-crt-math-l1-1-0.dll
    cp api_ms_win_crt_multibyte_l1_1_0.dll $x64file/api-ms-win-crt-multibyte-l1-1-0.dll
    cp api_ms_win_crt_private_l1_1_0.dll $x64file/api-ms-win-crt-private-l1-1-0.dll
    cp api_ms_win_crt_process_l1_1_0.dll $x64file/api-ms-win-crt-process-l1-1-0.dll
    cp api_ms_win_crt_runtime_l1_1_0.dll $x64file/api-ms-win-crt-runtime-l1-1-0.dll
    cp api_ms_win_crt_stdio_l1_1_0.dll $x64file/api-ms-win-crt-stdio-l1-1-0.dll
    cp api_ms_win_crt_string_l1_1_0.dll $x64file/api-ms-win-crt-string-l1-1-0.dll
    cp api_ms_win_crt_time_l1_1_0.dll $x64file/api-ms-win-crt-time-l1-1-0.dll
    cp api_ms_win_crt_utility_l1_1_0.dll $x64file/api-ms-win-crt-utility-l1-1-0.dll

    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
fi

POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"

rm -rf $POL_USER_ROOT/tmp/vcrun2019

Odpowiedzi

Wednesday 30 October 2019 at 13:12
Approved.
Yaotl Tuesday 24 September 2019 at 23:06
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,14 +1,19 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2019-07-09 11-56)
-# Last revision : (2019-07-27 06-13)
-# Distribution used to test : Linux Mint 19.1 Cinnamon
+# Last revision : (2019-09-24 22-56)
+# Distribution used to test : Linux Mint 19.2 Cinnamon
 # Author : Yaotl
 # PlayOnLinux : 4.3.4
 # Script licence : GPL3
 
+# CHANGELOG
+# [Yaotl] (2019-09-24)
+#    - Fix invalid hash.
+#    - Upgrade vcrun2019 14.22.27821 to 14.23.27820
+
 
 cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
-POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "4c3dc696187b0dd900bce5886ffd28f9" "vcrun2019" # Version: 14.22.27821
+POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "ae847b3fbabee336879a72e53962c12c" "vcrun2019" # Version: 14.23.27820
 
 mkdir -p $POL_USER_ROOT/tmp/vcrun2019
 cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
@@ -63,7 +68,7 @@
 
 if [ "$POL_ARCH" = "amd64" ]; then
     cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
-    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "2129ed294f60ce32cb3d674100850bd0" "vcrun2019" # Version: 14.22.27821
+    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "7492e87aec4a8f14cb436e13bf1610db" "vcrun2019" # Version: 14.23.27820
 
     mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
     cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-07-09 11-56)
# Last revision : (2019-09-24 22-56)
# Distribution used to test : Linux Mint 19.2 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3

# CHANGELOG
# [Yaotl] (2019-09-24)
#    - Fix invalid hash.
#    - Upgrade vcrun2019 14.22.27821 to 14.23.27820


cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "ae847b3fbabee336879a72e53962c12c" "vcrun2019" # Version: 14.23.27820

mkdir -p $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a11' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cd $POL_USER_ROOT/tmp/vcrun2019
cabextract a10
cabextract a11

system32="$WINEPREFIX/drive_c/windows/system32"

cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $system32
cp api_ms_win_core_console_l1_1_0.dll $system32/api-ms-win-core-console-l1-1-0.dll
cp api_ms_win_core_datetime_l1_1_0.dll $system32/api-ms-win-core-datetime-l1-1-0.dll
cp api_ms_win_core_debug_l1_1_0.dll $system32/api-ms-win-core-debug-l1-1-0.dll
cp api_ms_win_core_errorhandling_l1_1_0.dll $system32/api-ms-win-core-errorhandling-l1-1-0.dll
cp api_ms_win_core_file_l1_1_0.dll $system32/api-ms-win-core-file-l1-1-0.dll
cp api_ms_win_core_file_l1_2_0.dll $system32/api-ms-win-core-file-l1-2-0.dll
cp api_ms_win_core_file_l2_1_0.dll $system32/api-ms-win-core-file-l2-1-0.dll
cp api_ms_win_core_handle_l1_1_0.dll $system32/api-ms-win-core-handle-l1-1-0.dll
cp api_ms_win_core_heap_l1_1_0.dll $system32/api-ms-win-core-heap-l1-1-0.dll
cp api_ms_win_core_interlocked_l1_1_0.dll $system32/api-ms-win-core-interlocked-l1-1-0.dll
cp api_ms_win_core_libraryloader_l1_1_0.dll $system32/api-ms-win-core-libraryloader-l1-1-0.dll
cp api_ms_win_core_localization_l1_2_0.dll $system32/api-ms-win-core-localization-l1-2-0.dll
cp api_ms_win_core_memory_l1_1_0.dll $system32/api-ms-win-core-memory-l1-1-0.dll
cp api_ms_win_core_namedpipe_l1_1_0.dll $system32/api-ms-win-core-namedpipe-l1-1-0.dll
cp api_ms_win_core_processenvironment_l1_1_0.dll $system32/api-ms-win-core-processenvironment-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_0.dll $system32/api-ms-win-core-processthreads-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_1.dll $system32/api-ms-win-core-processthreads-l1-1-1.dll
cp api_ms_win_core_profile_l1_1_0.dll $system32/api-ms-win-core-profile-l1-1-0.dll
cp api_ms_win_core_rtlsupport_l1_1_0.dll $system32/api-ms-win-core-rtlsupport-l1-1-0.dll
cp api_ms_win_core_string_l1_1_0.dll $system32/api-ms-win-core-string-l1-1-0.dll
cp api_ms_win_core_synch_l1_1_0.dll $system32/api-ms-win-core-synch-l1-1-0.dll
cp api_ms_win_core_synch_l1_2_0.dll $system32/api-ms-win-core-synch-l1-2-0.dll
cp api_ms_win_core_sysinfo_l1_1_0.dll $system32/api-ms-win-core-sysinfo-l1-1-0.dll
cp api_ms_win_core_timezone_l1_1_0.dll $system32/api-ms-win-core-timezone-l1-1-0.dll
cp api_ms_win_core_util_l1_1_0.dll $system32/api-ms-win-core-util-l1-1-0.dll
cp api_ms_win_crt_conio_l1_1_0.dll $system32/api-ms-win-crt-conio-l1-1-0.dll
cp api_ms_win_crt_convert_l1_1_0.dll $system32/api-ms-win-crt-convert-l1-1-0.dll
cp api_ms_win_crt_environment_l1_1_0.dll $system32/api-ms-win-crt-environment-l1-1-0.dll
cp api_ms_win_crt_filesystem_l1_1_0.dll $system32/api-ms-win-crt-filesystem-l1-1-0.dll
cp api_ms_win_crt_heap_l1_1_0.dll $system32/api-ms-win-crt-heap-l1-1-0.dll
cp api_ms_win_crt_locale_l1_1_0.dll $system32/api-ms-win-crt-locale-l1-1-0.dll
cp api_ms_win_crt_math_l1_1_0.dll $system32/api-ms-win-crt-math-l1-1-0.dll
cp api_ms_win_crt_multibyte_l1_1_0.dll $system32/api-ms-win-crt-multibyte-l1-1-0.dll
cp api_ms_win_crt_private_l1_1_0.dll $system32/api-ms-win-crt-private-l1-1-0.dll
cp api_ms_win_crt_process_l1_1_0.dll $system32/api-ms-win-crt-process-l1-1-0.dll
cp api_ms_win_crt_runtime_l1_1_0.dll $system32/api-ms-win-crt-runtime-l1-1-0.dll
cp api_ms_win_crt_stdio_l1_1_0.dll $system32/api-ms-win-crt-stdio-l1-1-0.dll
cp api_ms_win_crt_string_l1_1_0.dll $system32/api-ms-win-crt-string-l1-1-0.dll
cp api_ms_win_crt_time_l1_1_0.dll $system32/api-ms-win-crt-time-l1-1-0.dll
cp api_ms_win_crt_utility_l1_1_0.dll $system32/api-ms-win-crt-utility-l1-1-0.dll

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "7492e87aec4a8f14cb436e13bf1610db" "vcrun2019" # Version: 14.23.27820

    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cd $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract a10
    cabextract a11

    syswow64="$WINEPREFIX/drive_c/windows/syswow64"

    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $syswow64
    cp api_ms_win_core_console_l1_1_0.dll $syswow64/api-ms-win-core-console-l1-1-0.dll
    cp api_ms_win_core_datetime_l1_1_0.dll $syswow64/api-ms-win-core-datetime-l1-1-0.dll
    cp api_ms_win_core_debug_l1_1_0.dll $syswow64/api-ms-win-core-debug-l1-1-0.dll
    cp api_ms_win_core_errorhandling_l1_1_0.dll $syswow64/api-ms-win-core-errorhandling-l1-1-0.dll
    cp api_ms_win_core_file_l1_1_0.dll $syswow64/api-ms-win-core-file-l1-1-0.dll
    cp api_ms_win_core_file_l1_2_0.dll $syswow64/api-ms-win-core-file-l1-2-0.dll
    cp api_ms_win_core_file_l2_1_0.dll $syswow64/api-ms-win-core-file-l2-1-0.dll
    cp api_ms_win_core_handle_l1_1_0.dll $syswow64/api-ms-win-core-handle-l1-1-0.dll
    cp api_ms_win_core_heap_l1_1_0.dll $syswow64/api-ms-win-core-heap-l1-1-0.dll
    cp api_ms_win_core_interlocked_l1_1_0.dll $syswow64/api-ms-win-core-interlocked-l1-1-0.dll
    cp api_ms_win_core_libraryloader_l1_1_0.dll $syswow64/api-ms-win-core-libraryloader-l1-1-0.dll
    cp api_ms_win_core_localization_l1_2_0.dll $syswow64/api-ms-win-core-localization-l1-2-0.dll
    cp api_ms_win_core_memory_l1_1_0.dll $syswow64/api-ms-win-core-memory-l1-1-0.dll
    cp api_ms_win_core_namedpipe_l1_1_0.dll $syswow64/api-ms-win-core-namedpipe-l1-1-0.dll
    cp api_ms_win_core_processenvironment_l1_1_0.dll $syswow64/api-ms-win-core-processenvironment-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_0.dll $syswow64/api-ms-win-core-processthreads-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_1.dll $syswow64/api-ms-win-core-processthreads-l1-1-1.dll
    cp api_ms_win_core_profile_l1_1_0.dll $syswow64/api-ms-win-core-profile-l1-1-0.dll
    cp api_ms_win_core_rtlsupport_l1_1_0.dll $syswow64/api-ms-win-core-rtlsupport-l1-1-0.dll
    cp api_ms_win_core_string_l1_1_0.dll $syswow64/api-ms-win-core-string-l1-1-0.dll
    cp api_ms_win_core_synch_l1_1_0.dll $syswow64/api-ms-win-core-synch-l1-1-0.dll
    cp api_ms_win_core_synch_l1_2_0.dll $syswow64/api-ms-win-core-synch-l1-2-0.dll
    cp api_ms_win_core_sysinfo_l1_1_0.dll $syswow64/api-ms-win-core-sysinfo-l1-1-0.dll
    cp api_ms_win_core_timezone_l1_1_0.dll $syswow64/api-ms-win-core-timezone-l1-1-0.dll
    cp api_ms_win_core_util_l1_1_0.dll $syswow64/api-ms-win-core-util-l1-1-0.dll
    cp api_ms_win_crt_conio_l1_1_0.dll $syswow64/api-ms-win-crt-conio-l1-1-0.dll
    cp api_ms_win_crt_convert_l1_1_0.dll $syswow64/api-ms-win-crt-convert-l1-1-0.dll
    cp api_ms_win_crt_environment_l1_1_0.dll $syswow64/api-ms-win-crt-environment-l1-1-0.dll
    cp api_ms_win_crt_filesystem_l1_1_0.dll $syswow64/api-ms-win-crt-filesystem-l1-1-0.dll
    cp api_ms_win_crt_heap_l1_1_0.dll $syswow64/api-ms-win-crt-heap-l1-1-0.dll
    cp api_ms_win_crt_locale_l1_1_0.dll $syswow64/api-ms-win-crt-locale-l1-1-0.dll
    cp api_ms_win_crt_math_l1_1_0.dll $syswow64/api-ms-win-crt-math-l1-1-0.dll
    cp api_ms_win_crt_multibyte_l1_1_0.dll $syswow64/api-ms-win-crt-multibyte-l1-1-0.dll
    cp api_ms_win_crt_private_l1_1_0.dll $syswow64/api-ms-win-crt-private-l1-1-0.dll
    cp api_ms_win_crt_process_l1_1_0.dll $syswow64/api-ms-win-crt-process-l1-1-0.dll
    cp api_ms_win_crt_runtime_l1_1_0.dll $syswow64/api-ms-win-crt-runtime-l1-1-0.dll
    cp api_ms_win_crt_stdio_l1_1_0.dll $syswow64/api-ms-win-crt-stdio-l1-1-0.dll
    cp api_ms_win_crt_string_l1_1_0.dll $syswow64/api-ms-win-crt-string-l1-1-0.dll
    cp api_ms_win_crt_time_l1_1_0.dll $syswow64/api-ms-win-crt-time-l1-1-0.dll
    cp api_ms_win_crt_utility_l1_1_0.dll $syswow64/api-ms-win-crt-utility-l1-1-0.dll

    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
fi

POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"

rm -rf $POL_USER_ROOT/tmp/vcrun2019

Odpowiedzi

Tuesday 24 September 2019 at 23:41
Approved.
Yaotl Tuesday 9 July 2019 at 15:50
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,124 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2019-07-09 11-56)
+# Last revision : (2019-07-27 06-13)
+# Distribution used to test : Linux Mint 19.1 Cinnamon
+# Author : Yaotl
+# PlayOnLinux : 4.3.4
+# Script licence : GPL3
+
+
+cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
+POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "4c3dc696187b0dd900bce5886ffd28f9" "vcrun2019" # Version: 14.22.27821
+
+mkdir -p $POL_USER_ROOT/tmp/vcrun2019
+cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
+cabextract -F 'a11' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
+cd $POL_USER_ROOT/tmp/vcrun2019
+cabextract a10
+cabextract a11
+
+system32="$WINEPREFIX/drive_c/windows/system32"
+
+cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $system32
+cp api_ms_win_core_console_l1_1_0.dll $system32/api-ms-win-core-console-l1-1-0.dll
+cp api_ms_win_core_datetime_l1_1_0.dll $system32/api-ms-win-core-datetime-l1-1-0.dll
+cp api_ms_win_core_debug_l1_1_0.dll $system32/api-ms-win-core-debug-l1-1-0.dll
+cp api_ms_win_core_errorhandling_l1_1_0.dll $system32/api-ms-win-core-errorhandling-l1-1-0.dll
+cp api_ms_win_core_file_l1_1_0.dll $system32/api-ms-win-core-file-l1-1-0.dll
+cp api_ms_win_core_file_l1_2_0.dll $system32/api-ms-win-core-file-l1-2-0.dll
+cp api_ms_win_core_file_l2_1_0.dll $system32/api-ms-win-core-file-l2-1-0.dll
+cp api_ms_win_core_handle_l1_1_0.dll $system32/api-ms-win-core-handle-l1-1-0.dll
+cp api_ms_win_core_heap_l1_1_0.dll $system32/api-ms-win-core-heap-l1-1-0.dll
+cp api_ms_win_core_interlocked_l1_1_0.dll $system32/api-ms-win-core-interlocked-l1-1-0.dll
+cp api_ms_win_core_libraryloader_l1_1_0.dll $system32/api-ms-win-core-libraryloader-l1-1-0.dll
+cp api_ms_win_core_localization_l1_2_0.dll $system32/api-ms-win-core-localization-l1-2-0.dll
+cp api_ms_win_core_memory_l1_1_0.dll $system32/api-ms-win-core-memory-l1-1-0.dll
+cp api_ms_win_core_namedpipe_l1_1_0.dll $system32/api-ms-win-core-namedpipe-l1-1-0.dll
+cp api_ms_win_core_processenvironment_l1_1_0.dll $system32/api-ms-win-core-processenvironment-l1-1-0.dll
+cp api_ms_win_core_processthreads_l1_1_0.dll $system32/api-ms-win-core-processthreads-l1-1-0.dll
+cp api_ms_win_core_processthreads_l1_1_1.dll $system32/api-ms-win-core-processthreads-l1-1-1.dll
+cp api_ms_win_core_profile_l1_1_0.dll $system32/api-ms-win-core-profile-l1-1-0.dll
+cp api_ms_win_core_rtlsupport_l1_1_0.dll $system32/api-ms-win-core-rtlsupport-l1-1-0.dll
+cp api_ms_win_core_string_l1_1_0.dll $system32/api-ms-win-core-string-l1-1-0.dll
+cp api_ms_win_core_synch_l1_1_0.dll $system32/api-ms-win-core-synch-l1-1-0.dll
+cp api_ms_win_core_synch_l1_2_0.dll $system32/api-ms-win-core-synch-l1-2-0.dll
+cp api_ms_win_core_sysinfo_l1_1_0.dll $system32/api-ms-win-core-sysinfo-l1-1-0.dll
+cp api_ms_win_core_timezone_l1_1_0.dll $system32/api-ms-win-core-timezone-l1-1-0.dll
+cp api_ms_win_core_util_l1_1_0.dll $system32/api-ms-win-core-util-l1-1-0.dll
+cp api_ms_win_crt_conio_l1_1_0.dll $system32/api-ms-win-crt-conio-l1-1-0.dll
+cp api_ms_win_crt_convert_l1_1_0.dll $system32/api-ms-win-crt-convert-l1-1-0.dll
+cp api_ms_win_crt_environment_l1_1_0.dll $system32/api-ms-win-crt-environment-l1-1-0.dll
+cp api_ms_win_crt_filesystem_l1_1_0.dll $system32/api-ms-win-crt-filesystem-l1-1-0.dll
+cp api_ms_win_crt_heap_l1_1_0.dll $system32/api-ms-win-crt-heap-l1-1-0.dll
+cp api_ms_win_crt_locale_l1_1_0.dll $system32/api-ms-win-crt-locale-l1-1-0.dll
+cp api_ms_win_crt_math_l1_1_0.dll $system32/api-ms-win-crt-math-l1-1-0.dll
+cp api_ms_win_crt_multibyte_l1_1_0.dll $system32/api-ms-win-crt-multibyte-l1-1-0.dll
+cp api_ms_win_crt_private_l1_1_0.dll $system32/api-ms-win-crt-private-l1-1-0.dll
+cp api_ms_win_crt_process_l1_1_0.dll $system32/api-ms-win-crt-process-l1-1-0.dll
+cp api_ms_win_crt_runtime_l1_1_0.dll $system32/api-ms-win-crt-runtime-l1-1-0.dll
+cp api_ms_win_crt_stdio_l1_1_0.dll $system32/api-ms-win-crt-stdio-l1-1-0.dll
+cp api_ms_win_crt_string_l1_1_0.dll $system32/api-ms-win-crt-string-l1-1-0.dll
+cp api_ms_win_crt_time_l1_1_0.dll $system32/api-ms-win-crt-time-l1-1-0.dll
+cp api_ms_win_crt_utility_l1_1_0.dll $system32/api-ms-win-crt-utility-l1-1-0.dll
+
+if [ "$POL_ARCH" = "amd64" ]; then
+    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
+    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "2129ed294f60ce32cb3d674100850bd0" "vcrun2019" # Version: 14.22.27821
+
+    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
+    cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
+    cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
+    cd $POL_USER_ROOT/tmp/vcrun2019/x64
+    cabextract a10
+    cabextract a11
+
+    syswow64="$WINEPREFIX/drive_c/windows/syswow64"
+
+    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $syswow64
+    cp api_ms_win_core_console_l1_1_0.dll $syswow64/api-ms-win-core-console-l1-1-0.dll
+    cp api_ms_win_core_datetime_l1_1_0.dll $syswow64/api-ms-win-core-datetime-l1-1-0.dll
+    cp api_ms_win_core_debug_l1_1_0.dll $syswow64/api-ms-win-core-debug-l1-1-0.dll
+    cp api_ms_win_core_errorhandling_l1_1_0.dll $syswow64/api-ms-win-core-errorhandling-l1-1-0.dll
+    cp api_ms_win_core_file_l1_1_0.dll $syswow64/api-ms-win-core-file-l1-1-0.dll
+    cp api_ms_win_core_file_l1_2_0.dll $syswow64/api-ms-win-core-file-l1-2-0.dll
+    cp api_ms_win_core_file_l2_1_0.dll $syswow64/api-ms-win-core-file-l2-1-0.dll
+    cp api_ms_win_core_handle_l1_1_0.dll $syswow64/api-ms-win-core-handle-l1-1-0.dll
+    cp api_ms_win_core_heap_l1_1_0.dll $syswow64/api-ms-win-core-heap-l1-1-0.dll
+    cp api_ms_win_core_interlocked_l1_1_0.dll $syswow64/api-ms-win-core-interlocked-l1-1-0.dll
+    cp api_ms_win_core_libraryloader_l1_1_0.dll $syswow64/api-ms-win-core-libraryloader-l1-1-0.dll
+    cp api_ms_win_core_localization_l1_2_0.dll $syswow64/api-ms-win-core-localization-l1-2-0.dll
+    cp api_ms_win_core_memory_l1_1_0.dll $syswow64/api-ms-win-core-memory-l1-1-0.dll
+    cp api_ms_win_core_namedpipe_l1_1_0.dll $syswow64/api-ms-win-core-namedpipe-l1-1-0.dll
+    cp api_ms_win_core_processenvironment_l1_1_0.dll $syswow64/api-ms-win-core-processenvironment-l1-1-0.dll
+    cp api_ms_win_core_processthreads_l1_1_0.dll $syswow64/api-ms-win-core-processthreads-l1-1-0.dll
+    cp api_ms_win_core_processthreads_l1_1_1.dll $syswow64/api-ms-win-core-processthreads-l1-1-1.dll
+    cp api_ms_win_core_profile_l1_1_0.dll $syswow64/api-ms-win-core-profile-l1-1-0.dll
+    cp api_ms_win_core_rtlsupport_l1_1_0.dll $syswow64/api-ms-win-core-rtlsupport-l1-1-0.dll
+    cp api_ms_win_core_string_l1_1_0.dll $syswow64/api-ms-win-core-string-l1-1-0.dll
+    cp api_ms_win_core_synch_l1_1_0.dll $syswow64/api-ms-win-core-synch-l1-1-0.dll
+    cp api_ms_win_core_synch_l1_2_0.dll $syswow64/api-ms-win-core-synch-l1-2-0.dll
+    cp api_ms_win_core_sysinfo_l1_1_0.dll $syswow64/api-ms-win-core-sysinfo-l1-1-0.dll
+    cp api_ms_win_core_timezone_l1_1_0.dll $syswow64/api-ms-win-core-timezone-l1-1-0.dll
+    cp api_ms_win_core_util_l1_1_0.dll $syswow64/api-ms-win-core-util-l1-1-0.dll
+    cp api_ms_win_crt_conio_l1_1_0.dll $syswow64/api-ms-win-crt-conio-l1-1-0.dll
+    cp api_ms_win_crt_convert_l1_1_0.dll $syswow64/api-ms-win-crt-convert-l1-1-0.dll
+    cp api_ms_win_crt_environment_l1_1_0.dll $syswow64/api-ms-win-crt-environment-l1-1-0.dll
+    cp api_ms_win_crt_filesystem_l1_1_0.dll $syswow64/api-ms-win-crt-filesystem-l1-1-0.dll
+    cp api_ms_win_crt_heap_l1_1_0.dll $syswow64/api-ms-win-crt-heap-l1-1-0.dll
+    cp api_ms_win_crt_locale_l1_1_0.dll $syswow64/api-ms-win-crt-locale-l1-1-0.dll
+    cp api_ms_win_crt_math_l1_1_0.dll $syswow64/api-ms-win-crt-math-l1-1-0.dll
+    cp api_ms_win_crt_multibyte_l1_1_0.dll $syswow64/api-ms-win-crt-multibyte-l1-1-0.dll
+    cp api_ms_win_crt_private_l1_1_0.dll $syswow64/api-ms-win-crt-private-l1-1-0.dll
+    cp api_ms_win_crt_process_l1_1_0.dll $syswow64/api-ms-win-crt-process-l1-1-0.dll
+    cp api_ms_win_crt_runtime_l1_1_0.dll $syswow64/api-ms-win-crt-runtime-l1-1-0.dll
+    cp api_ms_win_crt_stdio_l1_1_0.dll $syswow64/api-ms-win-crt-stdio-l1-1-0.dll
+    cp api_ms_win_crt_string_l1_1_0.dll $syswow64/api-ms-win-crt-string-l1-1-0.dll
+    cp api_ms_win_crt_time_l1_1_0.dll $syswow64/api-ms-win-crt-time-l1-1-0.dll
+    cp api_ms_win_crt_utility_l1_1_0.dll $syswow64/api-ms-win-crt-utility-l1-1-0.dll
+
+    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
+fi
+
+POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"
+
+rm -rf $POL_USER_ROOT/tmp/vcrun2019
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-07-09 11-56)
# Last revision : (2019-07-27 06-13)
# Distribution used to test : Linux Mint 19.1 Cinnamon
# Author : Yaotl
# PlayOnLinux : 4.3.4
# Script licence : GPL3


cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x86.exe" "4c3dc696187b0dd900bce5886ffd28f9" "vcrun2019" # Version: 14.22.27821

mkdir -p $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a10' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cabextract -F 'a11' vc_redist.x86.exe -d $POL_USER_ROOT/tmp/vcrun2019
cd $POL_USER_ROOT/tmp/vcrun2019
cabextract a10
cabextract a11

system32="$WINEPREFIX/drive_c/windows/system32"

cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll $system32
cp api_ms_win_core_console_l1_1_0.dll $system32/api-ms-win-core-console-l1-1-0.dll
cp api_ms_win_core_datetime_l1_1_0.dll $system32/api-ms-win-core-datetime-l1-1-0.dll
cp api_ms_win_core_debug_l1_1_0.dll $system32/api-ms-win-core-debug-l1-1-0.dll
cp api_ms_win_core_errorhandling_l1_1_0.dll $system32/api-ms-win-core-errorhandling-l1-1-0.dll
cp api_ms_win_core_file_l1_1_0.dll $system32/api-ms-win-core-file-l1-1-0.dll
cp api_ms_win_core_file_l1_2_0.dll $system32/api-ms-win-core-file-l1-2-0.dll
cp api_ms_win_core_file_l2_1_0.dll $system32/api-ms-win-core-file-l2-1-0.dll
cp api_ms_win_core_handle_l1_1_0.dll $system32/api-ms-win-core-handle-l1-1-0.dll
cp api_ms_win_core_heap_l1_1_0.dll $system32/api-ms-win-core-heap-l1-1-0.dll
cp api_ms_win_core_interlocked_l1_1_0.dll $system32/api-ms-win-core-interlocked-l1-1-0.dll
cp api_ms_win_core_libraryloader_l1_1_0.dll $system32/api-ms-win-core-libraryloader-l1-1-0.dll
cp api_ms_win_core_localization_l1_2_0.dll $system32/api-ms-win-core-localization-l1-2-0.dll
cp api_ms_win_core_memory_l1_1_0.dll $system32/api-ms-win-core-memory-l1-1-0.dll
cp api_ms_win_core_namedpipe_l1_1_0.dll $system32/api-ms-win-core-namedpipe-l1-1-0.dll
cp api_ms_win_core_processenvironment_l1_1_0.dll $system32/api-ms-win-core-processenvironment-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_0.dll $system32/api-ms-win-core-processthreads-l1-1-0.dll
cp api_ms_win_core_processthreads_l1_1_1.dll $system32/api-ms-win-core-processthreads-l1-1-1.dll
cp api_ms_win_core_profile_l1_1_0.dll $system32/api-ms-win-core-profile-l1-1-0.dll
cp api_ms_win_core_rtlsupport_l1_1_0.dll $system32/api-ms-win-core-rtlsupport-l1-1-0.dll
cp api_ms_win_core_string_l1_1_0.dll $system32/api-ms-win-core-string-l1-1-0.dll
cp api_ms_win_core_synch_l1_1_0.dll $system32/api-ms-win-core-synch-l1-1-0.dll
cp api_ms_win_core_synch_l1_2_0.dll $system32/api-ms-win-core-synch-l1-2-0.dll
cp api_ms_win_core_sysinfo_l1_1_0.dll $system32/api-ms-win-core-sysinfo-l1-1-0.dll
cp api_ms_win_core_timezone_l1_1_0.dll $system32/api-ms-win-core-timezone-l1-1-0.dll
cp api_ms_win_core_util_l1_1_0.dll $system32/api-ms-win-core-util-l1-1-0.dll
cp api_ms_win_crt_conio_l1_1_0.dll $system32/api-ms-win-crt-conio-l1-1-0.dll
cp api_ms_win_crt_convert_l1_1_0.dll $system32/api-ms-win-crt-convert-l1-1-0.dll
cp api_ms_win_crt_environment_l1_1_0.dll $system32/api-ms-win-crt-environment-l1-1-0.dll
cp api_ms_win_crt_filesystem_l1_1_0.dll $system32/api-ms-win-crt-filesystem-l1-1-0.dll
cp api_ms_win_crt_heap_l1_1_0.dll $system32/api-ms-win-crt-heap-l1-1-0.dll
cp api_ms_win_crt_locale_l1_1_0.dll $system32/api-ms-win-crt-locale-l1-1-0.dll
cp api_ms_win_crt_math_l1_1_0.dll $system32/api-ms-win-crt-math-l1-1-0.dll
cp api_ms_win_crt_multibyte_l1_1_0.dll $system32/api-ms-win-crt-multibyte-l1-1-0.dll
cp api_ms_win_crt_private_l1_1_0.dll $system32/api-ms-win-crt-private-l1-1-0.dll
cp api_ms_win_crt_process_l1_1_0.dll $system32/api-ms-win-crt-process-l1-1-0.dll
cp api_ms_win_crt_runtime_l1_1_0.dll $system32/api-ms-win-crt-runtime-l1-1-0.dll
cp api_ms_win_crt_stdio_l1_1_0.dll $system32/api-ms-win-crt-stdio-l1-1-0.dll
cp api_ms_win_crt_string_l1_1_0.dll $system32/api-ms-win-crt-string-l1-1-0.dll
cp api_ms_win_crt_time_l1_1_0.dll $system32/api-ms-win-crt-time-l1-1-0.dll
cp api_ms_win_crt_utility_l1_1_0.dll $system32/api-ms-win-crt-utility-l1-1-0.dll

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$POL_USER_ROOT/ressources/vcrun2019" "vcrun2019"
    POL_Download_Resource "https://aka.ms/vs/16/release/vc_redist.x64.exe" "2129ed294f60ce32cb3d674100850bd0" "vcrun2019" # Version: 14.22.27821

    mkdir -p $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a10' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract -F 'a11' vc_redist.x64.exe -d $POL_USER_ROOT/tmp/vcrun2019/x64
    cd $POL_USER_ROOT/tmp/vcrun2019/x64
    cabextract a10
    cabextract a11

    syswow64="$WINEPREFIX/drive_c/windows/syswow64"

    cp concrt140.dll mfc140.dll mfc140chs.dll mfc140cht.dll mfc140deu.dll mfc140enu.dll mfc140esn.dll mfc140fra.dll mfc140ita.dll mfc140jpn.dll mfc140kor.dll mfc140rus.dll mfc140u.dll mfcm140.dll mfcm140u.dll msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_codecvt_ids.dll ucrtbase.dll vcamp140.dll vccorlib140.dll vcomp140.dll vcruntime140.dll vcruntime140_1.dll $syswow64
    cp api_ms_win_core_console_l1_1_0.dll $syswow64/api-ms-win-core-console-l1-1-0.dll
    cp api_ms_win_core_datetime_l1_1_0.dll $syswow64/api-ms-win-core-datetime-l1-1-0.dll
    cp api_ms_win_core_debug_l1_1_0.dll $syswow64/api-ms-win-core-debug-l1-1-0.dll
    cp api_ms_win_core_errorhandling_l1_1_0.dll $syswow64/api-ms-win-core-errorhandling-l1-1-0.dll
    cp api_ms_win_core_file_l1_1_0.dll $syswow64/api-ms-win-core-file-l1-1-0.dll
    cp api_ms_win_core_file_l1_2_0.dll $syswow64/api-ms-win-core-file-l1-2-0.dll
    cp api_ms_win_core_file_l2_1_0.dll $syswow64/api-ms-win-core-file-l2-1-0.dll
    cp api_ms_win_core_handle_l1_1_0.dll $syswow64/api-ms-win-core-handle-l1-1-0.dll
    cp api_ms_win_core_heap_l1_1_0.dll $syswow64/api-ms-win-core-heap-l1-1-0.dll
    cp api_ms_win_core_interlocked_l1_1_0.dll $syswow64/api-ms-win-core-interlocked-l1-1-0.dll
    cp api_ms_win_core_libraryloader_l1_1_0.dll $syswow64/api-ms-win-core-libraryloader-l1-1-0.dll
    cp api_ms_win_core_localization_l1_2_0.dll $syswow64/api-ms-win-core-localization-l1-2-0.dll
    cp api_ms_win_core_memory_l1_1_0.dll $syswow64/api-ms-win-core-memory-l1-1-0.dll
    cp api_ms_win_core_namedpipe_l1_1_0.dll $syswow64/api-ms-win-core-namedpipe-l1-1-0.dll
    cp api_ms_win_core_processenvironment_l1_1_0.dll $syswow64/api-ms-win-core-processenvironment-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_0.dll $syswow64/api-ms-win-core-processthreads-l1-1-0.dll
    cp api_ms_win_core_processthreads_l1_1_1.dll $syswow64/api-ms-win-core-processthreads-l1-1-1.dll
    cp api_ms_win_core_profile_l1_1_0.dll $syswow64/api-ms-win-core-profile-l1-1-0.dll
    cp api_ms_win_core_rtlsupport_l1_1_0.dll $syswow64/api-ms-win-core-rtlsupport-l1-1-0.dll
    cp api_ms_win_core_string_l1_1_0.dll $syswow64/api-ms-win-core-string-l1-1-0.dll
    cp api_ms_win_core_synch_l1_1_0.dll $syswow64/api-ms-win-core-synch-l1-1-0.dll
    cp api_ms_win_core_synch_l1_2_0.dll $syswow64/api-ms-win-core-synch-l1-2-0.dll
    cp api_ms_win_core_sysinfo_l1_1_0.dll $syswow64/api-ms-win-core-sysinfo-l1-1-0.dll
    cp api_ms_win_core_timezone_l1_1_0.dll $syswow64/api-ms-win-core-timezone-l1-1-0.dll
    cp api_ms_win_core_util_l1_1_0.dll $syswow64/api-ms-win-core-util-l1-1-0.dll
    cp api_ms_win_crt_conio_l1_1_0.dll $syswow64/api-ms-win-crt-conio-l1-1-0.dll
    cp api_ms_win_crt_convert_l1_1_0.dll $syswow64/api-ms-win-crt-convert-l1-1-0.dll
    cp api_ms_win_crt_environment_l1_1_0.dll $syswow64/api-ms-win-crt-environment-l1-1-0.dll
    cp api_ms_win_crt_filesystem_l1_1_0.dll $syswow64/api-ms-win-crt-filesystem-l1-1-0.dll
    cp api_ms_win_crt_heap_l1_1_0.dll $syswow64/api-ms-win-crt-heap-l1-1-0.dll
    cp api_ms_win_crt_locale_l1_1_0.dll $syswow64/api-ms-win-crt-locale-l1-1-0.dll
    cp api_ms_win_crt_math_l1_1_0.dll $syswow64/api-ms-win-crt-math-l1-1-0.dll
    cp api_ms_win_crt_multibyte_l1_1_0.dll $syswow64/api-ms-win-crt-multibyte-l1-1-0.dll
    cp api_ms_win_crt_private_l1_1_0.dll $syswow64/api-ms-win-crt-private-l1-1-0.dll
    cp api_ms_win_crt_process_l1_1_0.dll $syswow64/api-ms-win-crt-process-l1-1-0.dll
    cp api_ms_win_crt_runtime_l1_1_0.dll $syswow64/api-ms-win-crt-runtime-l1-1-0.dll
    cp api_ms_win_crt_stdio_l1_1_0.dll $syswow64/api-ms-win-crt-stdio-l1-1-0.dll
    cp api_ms_win_crt_string_l1_1_0.dll $syswow64/api-ms-win-crt-string-l1-1-0.dll
    cp api_ms_win_crt_time_l1_1_0.dll $syswow64/api-ms-win-crt-time-l1-1-0.dll
    cp api_ms_win_crt_utility_l1_1_0.dll $syswow64/api-ms-win-crt-utility-l1-1-0.dll

    POL_Wine_OverrideDLL "native,builtin" "vcruntime140_1"
fi

POL_Wine_OverrideDLL "native,builtin" "concrt140" "mfc140" "mfc140u" "mfcm140" "mfcm140" "mfcm140u" "msvcp140" "msvcp140_1" "msvcp140_2" "msvcp140_codecvt_ids" "ucrtbase" "vcamp140" "vccorlib140" "vcomp140" "vcruntime140" "api-ms-win-core-console-l1-1-0" "api-ms-win-core-datetime-l1-1-0" "api-ms-win-core-debug-l1-1-0" "api-ms-win-core-errorhandling-l1-1-0" "api-ms-win-core-file-l1-1-0" "api-ms-win-core-file-l1-2-0" "api-ms-win-core-file-l2-1-0" "api-ms-win-core-handle-l1-1-0" "api-ms-win-core-heap-l1-1-0" "api-ms-win-core-interlocked-l1-1-0" "api-ms-win-core-libraryloader-l1-1-0" "api-ms-win-core-localization-l1-2-0" "api-ms-win-core-memory-l1-1-0" "api-ms-win-core-namedpipe-l1-1-0" "api-ms-win-core-processenvironment-l1-1-0" "api-ms-win-core-processthreads-l1-1-0" "api-ms-win-core-processthreads-l1-1-1" "api-ms-win-core-profile-l1-1-0" "api-ms-win-core-rtlsupport-l1-1-0" "api-ms-win-core-string-l1-1-0" "api-ms-win-core-synch-l1-1-0" "api-ms-win-core-synch-l1-2-0" "api-ms-win-core-sysinfo-l1-1-0" "api-ms-win-core-timezone-l1-1-0" "api-ms-win-core-util-l1-1-0" "api-ms-win-crt-conio-l1-1-0" "api-ms-win-crt-convert-l1-1-0" "api-ms-win-crt-environment-l1-1-0" "api-ms-win-crt-filesystem-l1-1-0" "api-ms-win-crt-heap-l1-1-0" "api-ms-win-crt-locale-l1-1-0" "api-ms-win-crt-math-l1-1-0" "api-ms-win-crt-multibyte-l1-1-0" "api-ms-win-crt-private-l1-1-0" "api-ms-win-crt-process-l1-1-0" "api-ms-win-crt-runtime-l1-1-0" "api-ms-win-crt-stdio-l1-1-0" "api-ms-win-crt-string-l1-1-0" "api-ms-win-crt-time-l1-1-0" "api-ms-win-crt-utility-l1-1-0"

rm -rf $POL_USER_ROOT/tmp/vcrun2019

Odpowiedzi

Thursday 29 August 2019 at 22:38
Approved.
Friday 13 September 2019 at 10:20
From Yaolt (august 31th 2019): I would recommend completely deleting this script (POL_Install_vcrun2017).
Version 2019 completely replaces the 2015 and 2017 versions. A name change from POL_Install_vcrun2019 to POL_Install_vcrun2015-2019 or POL_Install_vcrun2015_2017_2019 might be useful. See: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
Friday 13 September 2019 at 10:23
I removed 'POL_Install_vcrun2017'. Yaolt, I talked with the website admin (Quentin Paris), he think like me that separate functions would be better. Why do you do a package ? (vcrun2015_2017_2019).

Edytowane przez Yaotl