You are here
POL_Install_vcrun2013
Informations
Creator | Message |
---|---|
Ronin DUSETTE
![]() Admin
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks0 0 DescriptionAn attempt to implement vcrun2013. Based off of winetricks implementation, translated to POL calls. Source code#!/bin/bash # Date : (2015-01-8 11-30) # Distribution used to test : Kubuntu 14.04 - 64-bit # Author : RoninDusette # Licence : GPLv3 # PlayOnLinux: 4.2.5 POL_Debug_Message "Installing vcrun2013..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2013) 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 "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir $POL_USER_ROOT/tmp/vcrun2013 cd $POL_USER_ROOT/tmp/vcrun2013 cp $POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2013/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/vcredist_x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a2" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a3" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $WINEPREFIX/drive_c/windows/system32/mfc120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $WINEPREFIX/drive_c/windows/system32/mfc120u.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $WINEPREFIX/drive_c/windows/system32/msvcp120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $WINEPREFIX/drive_c/windows/system32/msvcr120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $WINEPREFIX/drive_c/windows/system32/vcomp120.dll POL_Wine_OverrideDLL "native,builtin" "atl120" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" POL_Debug_Message "Cleaning tmp folder..." rm -rf $POL_USER_ROOT/tmp/vcrun2013 |
Contributions
Filters:
ContributeMember | Message |
Dadu042 | Thursday 1 October 2020 at 9:37 |
Dadu042
![]() Moderator
|
InformationThis update has been approved by the team. MessageIncompatible with 64bits prefixes. Differences@@ -7,6 +7,12 @@ POL_Debug_Message "Installing vcrun2013..." +# Checking wine arch +if [ "$POL_ARCH" == "amd64" ]; then + POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2013) 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 "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir $POL_USER_ROOT/tmp/vcrun2013 cd $POL_USER_ROOT/tmp/vcrun2013 New source code#!/bin/bash # Date : (2015-01-8 11-30) # Distribution used to test : Kubuntu 14.04 - 64-bit # Author : RoninDusette # Licence : GPLv3 # PlayOnLinux: 4.2.5 POL_Debug_Message "Installing vcrun2013..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then POL_Debug_Fatal "$(eval_gettext 'WARNING: This 32bits package (vcrun2013) 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 "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir $POL_USER_ROOT/tmp/vcrun2013 cd $POL_USER_ROOT/tmp/vcrun2013 cp $POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2013/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/vcredist_x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a2" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a3" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $WINEPREFIX/drive_c/windows/system32/mfc120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $WINEPREFIX/drive_c/windows/system32/mfc120u.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $WINEPREFIX/drive_c/windows/system32/msvcp120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $WINEPREFIX/drive_c/windows/system32/msvcr120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $WINEPREFIX/drive_c/windows/system32/vcomp120.dll POL_Wine_OverrideDLL "native,builtin" "atl120" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" POL_Debug_Message "Cleaning tmp folder..." rm -rf $POL_USER_ROOT/tmp/vcrun2013 Replies |
Ronin DUSETTE | Thursday 8 January 2015 at 20:33 |
Ronin DUSETTE
![]() Admin
|
WarningThis update has not been approved yet by the team. MessageInitial commit Differences@@ -0,0 +1,33 @@ +#!/bin/bash +# Date : (2015-01-8 11-30) +# Distribution used to test : Kubuntu 14.04 - 64-bit +# Author : RoninDusette +# Licence : GPLv3 +# PlayOnLinux: 4.2.5 + +POL_Debug_Message "Installing vcrun2013..." + +POL_Download_Resource "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" +mkdir $POL_USER_ROOT/tmp/vcrun2013 +cd $POL_USER_ROOT/tmp/vcrun2013 + +cp $POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2013/ +POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/vcredist_x86.exe" +POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a2" +POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a3" + +POL_Debug_Message "Copying DLL files..." + +cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $WINEPREFIX/drive_c/windows/system32/mfc120.dll +cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $WINEPREFIX/drive_c/windows/system32/mfc120u.dll +cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $WINEPREFIX/drive_c/windows/system32/msvcp120.dll +cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $WINEPREFIX/drive_c/windows/system32/msvcr120.dll +cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $WINEPREFIX/drive_c/windows/system32/vcomp120.dll + +POL_Wine_OverrideDLL "native,builtin" "atl120" +POL_Wine_OverrideDLL "native,builtin" "msvcp120" +POL_Wine_OverrideDLL "native,builtin" "msvcr120" +POL_Wine_OverrideDLL "native,builtin" "vcomp120" + +POL_Debug_Message "Cleaning tmp folder..." +rm -rf $POL_USER_ROOT/tmp/vcrun2013 \ No newline at end of file New source code#!/bin/bash # Date : (2015-01-8 11-30) # Distribution used to test : Kubuntu 14.04 - 64-bit # Author : RoninDusette # Licence : GPLv3 # PlayOnLinux: 4.2.5 POL_Debug_Message "Installing vcrun2013..." POL_Download_Resource "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir $POL_USER_ROOT/tmp/vcrun2013 cd $POL_USER_ROOT/tmp/vcrun2013 cp $POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe $POL_USER_ROOT/tmp/vcrun2013/ POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/vcredist_x86.exe" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a2" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/a3" POL_Debug_Message "Copying DLL files..." cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $WINEPREFIX/drive_c/windows/system32/mfc120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $WINEPREFIX/drive_c/windows/system32/mfc120u.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $WINEPREFIX/drive_c/windows/system32/msvcp120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $WINEPREFIX/drive_c/windows/system32/msvcr120.dll cp $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $WINEPREFIX/drive_c/windows/system32/vcomp120.dll POL_Wine_OverrideDLL "native,builtin" "atl120" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" POL_Debug_Message "Cleaning tmp folder..." rm -rf $POL_USER_ROOT/tmp/vcrun2013 RepliesThursday 8 January 2015 at 20:59
Thursday 8 January 2015 at 21:04
Thursday 8 January 2015 at 21:09
Thursday 8 January 2015 at 21:16
Thursday 8 January 2015 at 21:20
Thursday 8 January 2015 at 21:27
Thursday 8 January 2015 at 21:34
Thursday 8 January 2015 at 21:35
Thursday 8 January 2015 at 21:36
Friday 9 January 2015 at 1:02
Friday 9 January 2015 at 1:03
Friday 9 January 2015 at 1:08
Friday 9 January 2015 at 1:25
Friday 9 January 2015 at 1:37
Friday 9 January 2015 at 8:49
Friday 9 January 2015 at 18:43
Friday 9 January 2015 at 21:32
|