POL_Install_vcrun2013
Informations
Creator | Message |
---|---|
Ronin DUSETTE
|
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 : Linux Mint 20.1 # Author : RoninDusette # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2013..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then Path32Bit="$WINEPREFIX/drive_c/windows/syswow64" Path64Bit="$WINEPREFIX/drive_c/windows/system32" else Path32Bit="$WINEPREFIX/drive_c/windows/system32" fi POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir -p $POL_USER_ROOT/tmp/vcrun2013 POL_System_cabextract "$POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/" 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 -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $Path32Bit/mfc120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $Path32Bit/mfc120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $Path32Bit/msvcp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $Path32Bit/msvcr120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $Path32Bit/vcomp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcamp120_x86 $Path32Bit/vcamp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vccorlib120_x86 $Path32Bit/vccorlib120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120_x86 $Path32Bit/mfcm120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120u_x86 $Path32Bit/mfcm120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120chs_x86 $Path32Bit/mfc120chs.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120cht_x86 $Path32Bit/mfc120cht.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120deu_x86 $Path32Bit/mfc120deu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120enu_x86 $Path32Bit/mfc120enu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120esn_x86 $Path32Bit/mfc120esn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120fra_x86 $Path32Bit/mfc120fra.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120ita_x86 $Path32Bit/mfc120ita.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120jpn_x86 $Path32Bit/mfc120jpn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120kor_x86 $Path32Bit/mfc120kor.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120rus_x86 $Path32Bit/mfc120rus.dll if [ "$POL_ARCH" == "amd64" ]; then POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" "96b61b8e069832e6b809f24ea74567ba" "vcrun2013" mkdir -p $POL_USER_ROOT/tmp/vcrun2013/x64 POL_System_cabextract "$POL_USER_ROOT/ressources/vcrun2013/vcredist_x64.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/x64/" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a2" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a3" POL_Debug_Message "Copying x64 DLL files..." cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120_x64 $Path64Bit/mfc120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120u_x64 $Path64Bit/mfc120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcp120_x64 $Path64Bit/msvcp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcr120_x64 $Path64Bit/msvcr120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcomp120_x64 $Path64Bit/vcomp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcamp120_x64 $Path64Bit/vcamp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vccorlib120_x64 $Path64Bit/vccorlib120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120_x64 $Path64Bit/mfcm120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120u_x64 $Path64Bit/mfcm120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120chs_x64 $Path64Bit/mfc120chs.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120cht_x64 $Path64Bit/mfc120cht.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120deu_x64 $Path64Bit/mfc120deu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120enu_x64 $Path64Bit/mfc120enu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120esn_x64 $Path64Bit/mfc120esn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120fra_x64 $Path64Bit/mfc120fra.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120ita_x64 $Path64Bit/mfc120ita.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120jpn_x64 $Path64Bit/mfc120jpn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120kor_x64 $Path64Bit/mfc120kor.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120rus_x64 $Path64Bit/mfc120rus.dll fi POL_Wine_OverrideDLL "native,builtin" "mfc120" POL_Wine_OverrideDLL "native,builtin" "mfc120u" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" POL_Wine_OverrideDLL "native,builtin" "vcamp120" POL_Wine_OverrideDLL "native,builtin" "vccorlib120" POL_Wine_OverrideDLL "native,builtin" "mfcm120" POL_Wine_OverrideDLL "native,builtin" "mfcm120u" POL_Debug_Message "Cleaning tmp folder..." rm -rf $POL_USER_ROOT/tmp/vcrun2013 |
Contributions
Filters:
ContributeMember | Message |
Yaotl | Friday 4 June 2021 at 22:24 |
Yaotl
|
InformationThis update has been approved by the team. Differences@@ -1,39 +1,90 @@ #!/bin/bash # Date : (2015-01-8 11-30) -# Distribution used to test : Kubuntu 14.04 - 64-bit +# Distribution used to test : Linux Mint 20.1 # Author : RoninDusette # Licence : GPLv3 -# PlayOnLinux: 4.2.5 +# PlayOnLinux: 4.3.4 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" + Path32Bit="$WINEPREFIX/drive_c/windows/syswow64" + Path64Bit="$WINEPREFIX/drive_c/windows/system32" +else + Path32Bit="$WINEPREFIX/drive_c/windows/system32" 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 +POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" +mkdir -p $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/ressources/vcrun2013/vcredist_x86.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/" 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 +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $Path32Bit/mfc120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $Path32Bit/mfc120u.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $Path32Bit/msvcp120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $Path32Bit/msvcr120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $Path32Bit/vcomp120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcamp120_x86 $Path32Bit/vcamp120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vccorlib120_x86 $Path32Bit/vccorlib120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120_x86 $Path32Bit/mfcm120.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120u_x86 $Path32Bit/mfcm120u.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120chs_x86 $Path32Bit/mfc120chs.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120cht_x86 $Path32Bit/mfc120cht.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120deu_x86 $Path32Bit/mfc120deu.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120enu_x86 $Path32Bit/mfc120enu.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120esn_x86 $Path32Bit/mfc120esn.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120fra_x86 $Path32Bit/mfc120fra.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120ita_x86 $Path32Bit/mfc120ita.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120jpn_x86 $Path32Bit/mfc120jpn.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120kor_x86 $Path32Bit/mfc120kor.dll +cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120rus_x86 $Path32Bit/mfc120rus.dll -POL_Wine_OverrideDLL "native,builtin" "atl120" +if [ "$POL_ARCH" == "amd64" ]; then + + POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" "96b61b8e069832e6b809f24ea74567ba" "vcrun2013" + mkdir -p $POL_USER_ROOT/tmp/vcrun2013/x64 + + POL_System_cabextract "$POL_USER_ROOT/ressources/vcrun2013/vcredist_x64.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/x64/" + POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a2" + POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a3" + + POL_Debug_Message "Copying x64 DLL files..." + + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120_x64 $Path64Bit/mfc120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120u_x64 $Path64Bit/mfc120u.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcp120_x64 $Path64Bit/msvcp120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcr120_x64 $Path64Bit/msvcr120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcomp120_x64 $Path64Bit/vcomp120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcamp120_x64 $Path64Bit/vcamp120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vccorlib120_x64 $Path64Bit/vccorlib120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120_x64 $Path64Bit/mfcm120.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120u_x64 $Path64Bit/mfcm120u.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120chs_x64 $Path64Bit/mfc120chs.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120cht_x64 $Path64Bit/mfc120cht.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120deu_x64 $Path64Bit/mfc120deu.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120enu_x64 $Path64Bit/mfc120enu.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120esn_x64 $Path64Bit/mfc120esn.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120fra_x64 $Path64Bit/mfc120fra.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120ita_x64 $Path64Bit/mfc120ita.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120jpn_x64 $Path64Bit/mfc120jpn.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120kor_x64 $Path64Bit/mfc120kor.dll + cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120rus_x64 $Path64Bit/mfc120rus.dll +fi + +POL_Wine_OverrideDLL "native,builtin" "mfc120" +POL_Wine_OverrideDLL "native,builtin" "mfc120u" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" +POL_Wine_OverrideDLL "native,builtin" "vcamp120" +POL_Wine_OverrideDLL "native,builtin" "vccorlib120" +POL_Wine_OverrideDLL "native,builtin" "mfcm120" +POL_Wine_OverrideDLL "native,builtin" "mfcm120u" 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 : Linux Mint 20.1 # Author : RoninDusette # Licence : GPLv3 # PlayOnLinux: 4.3.4 POL_Debug_Message "Installing vcrun2013..." # Checking wine arch if [ "$POL_ARCH" == "amd64" ]; then Path32Bit="$WINEPREFIX/drive_c/windows/syswow64" Path64Bit="$WINEPREFIX/drive_c/windows/system32" else Path32Bit="$WINEPREFIX/drive_c/windows/system32" fi POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x86.exe" "0fc525b6b7b96a87523daa7a0013c69d" "vcrun2013" mkdir -p $POL_USER_ROOT/tmp/vcrun2013 POL_System_cabextract "$POL_USER_ROOT/ressources/vcrun2013/vcredist_x86.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/" 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 -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120_x86 $Path32Bit/mfc120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120u_x86 $Path32Bit/mfc120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcp120_x86 $Path32Bit/msvcp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_msvcr120_x86 $Path32Bit/msvcr120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcomp120_x86 $Path32Bit/vcomp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vcamp120_x86 $Path32Bit/vcamp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_vccorlib120_x86 $Path32Bit/vccorlib120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120_x86 $Path32Bit/mfcm120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfcm120u_x86 $Path32Bit/mfcm120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120chs_x86 $Path32Bit/mfc120chs.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120cht_x86 $Path32Bit/mfc120cht.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120deu_x86 $Path32Bit/mfc120deu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120enu_x86 $Path32Bit/mfc120enu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120esn_x86 $Path32Bit/mfc120esn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120fra_x86 $Path32Bit/mfc120fra.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120ita_x86 $Path32Bit/mfc120ita.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120jpn_x86 $Path32Bit/mfc120jpn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120kor_x86 $Path32Bit/mfc120kor.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/F_CENTRAL_mfc120rus_x86 $Path32Bit/mfc120rus.dll if [ "$POL_ARCH" == "amd64" ]; then POL_Download_Resource "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" "96b61b8e069832e6b809f24ea74567ba" "vcrun2013" mkdir -p $POL_USER_ROOT/tmp/vcrun2013/x64 POL_System_cabextract "$POL_USER_ROOT/ressources/vcrun2013/vcredist_x64.exe" -d "$POL_USER_ROOT/tmp/vcrun2013/x64/" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a2" POL_System_cabextract "$POL_USER_ROOT/tmp/vcrun2013/x64/a3" POL_Debug_Message "Copying x64 DLL files..." cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120_x64 $Path64Bit/mfc120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120u_x64 $Path64Bit/mfc120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcp120_x64 $Path64Bit/msvcp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_msvcr120_x64 $Path64Bit/msvcr120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcomp120_x64 $Path64Bit/vcomp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vcamp120_x64 $Path64Bit/vcamp120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_vccorlib120_x64 $Path64Bit/vccorlib120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120_x64 $Path64Bit/mfcm120.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfcm120u_x64 $Path64Bit/mfcm120u.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120chs_x64 $Path64Bit/mfc120chs.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120cht_x64 $Path64Bit/mfc120cht.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120deu_x64 $Path64Bit/mfc120deu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120enu_x64 $Path64Bit/mfc120enu.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120esn_x64 $Path64Bit/mfc120esn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120fra_x64 $Path64Bit/mfc120fra.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120ita_x64 $Path64Bit/mfc120ita.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120jpn_x64 $Path64Bit/mfc120jpn.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120kor_x64 $Path64Bit/mfc120kor.dll cp -f $POL_USER_ROOT/tmp/vcrun2013/x64/F_CENTRAL_mfc120rus_x64 $Path64Bit/mfc120rus.dll fi POL_Wine_OverrideDLL "native,builtin" "mfc120" POL_Wine_OverrideDLL "native,builtin" "mfc120u" POL_Wine_OverrideDLL "native,builtin" "msvcp120" POL_Wine_OverrideDLL "native,builtin" "msvcr120" POL_Wine_OverrideDLL "native,builtin" "vcomp120" POL_Wine_OverrideDLL "native,builtin" "vcamp120" POL_Wine_OverrideDLL "native,builtin" "vccorlib120" POL_Wine_OverrideDLL "native,builtin" "mfcm120" POL_Wine_OverrideDLL "native,builtin" "mfcm120u" POL_Debug_Message "Cleaning tmp folder..." rm -rf $POL_USER_ROOT/tmp/vcrun2013 RepliesSaturday 5 June 2021 at 0:15
|
Dadu042 | Thursday 1 October 2020 at 9:37 |
Dadu042
|
WarningThis update has not been approved yet 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
|
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
|
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