POL_Install_vcrun2015
Informations
Creator | Message |
---|---|
Dadu042
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks1 0 DescriptionBased off the winetricks vcrun2015 implementation, translated to POL calls.
This only installs 32 bits files. Source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" # POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" "$TITLE" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 POL_Debug_Message "Extracting DLL files..." cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140.dll $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u.dll $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140.dll $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcruntime140.dll $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140.dll $WINEPREFIX/drive_c/windows/system32/vcomp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140enu.dll $WINEPREFIX/drive_c/windows/system32/mfc140enu.dll POL_Wine_OverrideDLL "native,builtin" "mfc140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 |
Contributions
Filters:
ContributeMember | Message |
Dadu042 | Saturday 13 June 2020 at 11:22 |
Dadu042
|
InformationThis update has been approved by the team. MessageIt fail to run on 32 bits OS... Differences@@ -9,8 +9,8 @@ # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then - # POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" - POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" "$TITLE" + POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" + # POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" "$TITLE" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" New source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" # POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) can not work on a 64-bit installation.')" "$TITLE" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 POL_Debug_Message "Extracting DLL files..." cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140.dll $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u.dll $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140.dll $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcruntime140.dll $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140.dll $WINEPREFIX/drive_c/windows/system32/vcomp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140enu.dll $WINEPREFIX/drive_c/windows/system32/mfc140enu.dll POL_Wine_OverrideDLL "native,builtin" "mfc140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 RepliesTuesday 28 July 2020 at 20:57
|
Dadu042 | Saturday 13 June 2020 at 11:12 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageDo not block installation on 64 bits, just show a warning. Differences@@ -9,7 +9,8 @@ # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then - POL_Debug_Fatal "$(eval_gettext 'This package might not work on a 64-bit installation')" + # POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" + POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" "$TITLE" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" New source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then # POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" POL_SetupWindow_message "$(eval_gettext 'WARNING: This 32bits package (vcrun2015) might not work on a 64-bit installation.')" "$TITLE" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 POL_Debug_Message "Extracting DLL files..." cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140.dll $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u.dll $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140.dll $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcruntime140.dll $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140.dll $WINEPREFIX/drive_c/windows/system32/vcomp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140enu.dll $WINEPREFIX/drive_c/windows/system32/mfc140enu.dll POL_Wine_OverrideDLL "native,builtin" "mfc140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 RepliesEdited by Dadu042 |
Dadu042 | Saturday 21 March 2020 at 22:25 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageFix attempt (fix file names), with the help of Yaolt. Differences@@ -4,9 +4,14 @@ # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 - + POL_Debug_Message "Installing vcrun2015..." - + +# Checking wine arch +if [ "$POL_ARCH" == "amd64" ]; then + POL_Debug_Fatal "$(eval_gettext 'This package might not work on a 64-bit installation')" +fi + POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 @@ -20,17 +25,18 @@ POL_Debug_Message "Copying DLL files..." -cp $POL_USER_ROOT/tmp/vcrun2015/mfc140_x86 $WINEPREFIX/drive_c/windows/system32/mfc140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u_x86 $WINEPREFIX/drive_c/windows/system32/mfc140u.dll -cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140_x86 $WINEPREFIX/drive_c/windows/system32/msvcp140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/msvcr140_x86 $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140_x86 $WINEPREFIX/drive_c/windows/system32/vcomp140.dll - +cp $POL_USER_ROOT/tmp/vcrun2015/mfc140.dll $WINEPREFIX/drive_c/windows/system32/mfc140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u.dll $WINEPREFIX/drive_c/windows/system32/mfc140u.dll +cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140.dll $WINEPREFIX/drive_c/windows/system32/msvcp140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/vcruntime140.dll $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140.dll $WINEPREFIX/drive_c/windows/system32/vcomp140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/mfc140enu.dll $WINEPREFIX/drive_c/windows/system32/mfc140enu.dll -POL_Wine_OverrideDLL "native,builtin" "atl140" +POL_Wine_OverrideDLL "native,builtin" "mfc140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" +POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase New source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'This package might not work on a 64-bit installation')" fi POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 POL_Debug_Message "Extracting DLL files..." cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140.dll $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u.dll $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140.dll $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcruntime140.dll $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140.dll $WINEPREFIX/drive_c/windows/system32/vcomp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140enu.dll $WINEPREFIX/drive_c/windows/system32/mfc140enu.dll POL_Wine_OverrideDLL "native,builtin" "mfc140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 RepliesSaturday 21 March 2020 at 22:43
Edited by Dadu042 |
Dadu042 | Monday 16 September 2019 at 16:47 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageFix attempt. Differences@@ -10,7 +10,9 @@ POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 - + +POL_Debug_Message "Extracting DLL files..." + cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" New source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 POL_Debug_Message "Extracting DLL files..." cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140_x86 $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u_x86 $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140_x86 $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcr140_x86 $WINEPREFIX/drive_c/windows/system32/vcruntime140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140_x86 $WINEPREFIX/drive_c/windows/system32/vcomp140.dll POL_Wine_OverrideDLL "native,builtin" "atl140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "vcruntime140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 RepliesWednesday 25 September 2019 at 13:13
Sunday 17 November 2019 at 19:20
Wednesday 20 November 2019 at 23:01
Edited by Dadu042 |
Dadu042 | Friday 13 September 2019 at 10:37 |
Dadu042
|
WarningThis update has not been approved yet by the team. MessageScript don't work, cabextract returns a error (-1 ?). Differences@@ -18,11 +18,11 @@ POL_Debug_Message "Copying DLL files..." -cp $POL_USER_ROOT/tmp/vcrun2015/F_CENTRAL_mfc140_x86 $WINEPREFIX/drive_c/windows/system32/mfc140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/F_CENTRAL_mfc140u_x86 $WINEPREFIX/drive_c/windows/system32/mfc140u.dll -cp $POL_USER_ROOT/tmp/vcrun2015/F_CENTRAL_msvcp140_x86 $WINEPREFIX/drive_c/windows/system32/msvcp140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/F_CENTRAL_msvcr140_x86 $WINEPREFIX/drive_c/windows/system32/msvcr140.dll -cp $POL_USER_ROOT/tmp/vcrun2015/F_CENTRAL_vcomp140_x86 $WINEPREFIX/drive_c/windows/system32/vcomp140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/mfc140_x86 $WINEPREFIX/drive_c/windows/system32/mfc140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u_x86 $WINEPREFIX/drive_c/windows/system32/mfc140u.dll +cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140_x86 $WINEPREFIX/drive_c/windows/system32/msvcp140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/msvcr140_x86 $WINEPREFIX/drive_c/windows/system32/msvcr140.dll +cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140_x86 $WINEPREFIX/drive_c/windows/system32/vcomp140.dll POL_Wine_OverrideDLL "native,builtin" "atl140" New source code#!/bin/bash # Date : (2019-09-13 10:34) # Distribution used to test : Xubuntu 18.04 - 64-bit # Author : Dadu042 (inspired from RoninDusette's vcrun2013 script) # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2015..." POL_Download_Resource "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe" "1a15e6606bac9647e7ad3caa543377cf" "vcrun2015" mkdir $POL_USER_ROOT/tmp/vcrun2015 cd $POL_USER_ROOT/tmp/vcrun2015 cp $POL_USER_ROOT/ressources/vcrun2015/vc_redist.x86.exe $POL_USER_ROOT/tmp/vcrun2015/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/vc_redist.x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a10" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2015/a11" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2015/mfc140_x86 $WINEPREFIX/drive_c/windows/system32/mfc140.dll cp $POL_USER_ROOT/tmp/vcrun2015/mfc140u_x86 $WINEPREFIX/drive_c/windows/system32/mfc140u.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcp140_x86 $WINEPREFIX/drive_c/windows/system32/msvcp140.dll cp $POL_USER_ROOT/tmp/vcrun2015/msvcr140_x86 $WINEPREFIX/drive_c/windows/system32/msvcr140.dll cp $POL_USER_ROOT/tmp/vcrun2015/vcomp140_x86 $WINEPREFIX/drive_c/windows/system32/vcomp140.dll POL_Wine_OverrideDLL "native,builtin" "atl140" POL_Wine_OverrideDLL "native,builtin" "msvcp140" POL_Wine_OverrideDLL "native,builtin" "msvcr140" POL_Wine_OverrideDLL "native,builtin" "vcomp140" # Piece (unused here) from the Winetricks sourcecode (2019-09): # w_override_dlls native,builtin api-ms-win-crt-conio-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-runtime-l1-1-0 api-ms-win-crt-stdio-l1-1-0 api-ms-win-crt-time-l1-1-0 atl140 concrt140 msvcp140 msvcr140 ucrtbase POL_Debug_Message "Cleaning tmp folder..." # rm -rf $POL_USER_ROOT/tmp/vcrun2015 RepliesMonday 16 September 2019 at 16:43
Edited by Dadu042 |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com