POL_Install_vcrun2010
Informatie
| Creator | Bericht |
|---|---|
|
GNU_Raziel
|
InformationThis installer has been approved by the team. InformatiePlatforms: Feedbacks0 0 OmschrijvingInstall VC Runtime 2010 SP1 Broncode#!/bin/bash
# PlayOnLinux Function
# Date : (2010-12-17 21:00)
# Last revision : (2013-01-22 21:13)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
# [petch] (2013-01-22 21:13)
# Fixing bug #1787
# [Dadu042] (2020-07-26 09:00)
# [NEW] overrides (to match Winetricks code)
FORCE_MODE=$1
if [ "$POL_ARCH" = "amd64" ]; then
# Downloading vcrun2010 sp1 x64
POL_Download_Resource "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" "be79543624f806ced4c7dff25751a3e4" "vcrun2010"
fi
# Downloading vcrun2010 sp1 x86
POL_Download_Resource "http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" "bd2af26fccd52e01511ff3e088f4c8bb" "vcrun2010"
# Check if vcrun2010 is already installed
CHECK_VC2K10=`find $WINEPREFIX -name "msdia100.dll"`
if [ "$CHECK_VC2K10" = "" -o "$FORCE_MODE" = "--force" ]; then
if [ "$CHECK_VC2K10" != "" ]; then
POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2010 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
fi
cd "$POL_USER_ROOT/ressources/vcrun2010"
# Fix before install for wine 1.3.37 and older
POL_AdvisedVersion 4.0.16 || POL_Debug_Error "$(eval_gettext 'VCRun2010 might fail to install because your PlayOnLinux version is too old. Please update.')"
if VersionLower $(POL_Config_PrefixRead VERSION) 1.3.37; then
POL_Call POL_Install_msxml3
ln -s "$WINEPREFIX/drive_c" "$WINEPREFIX/harddiskvolume0"
rm -f "$WINEPREFIX/dosdevices/c:"
ln -s "$WINEPREFIX/harddiskvolume0" "$WINEPREFIX/dosdevices/c:"
fi
# Installing vcrun2010
if [ "$POL_ARCH" = "amd64" ]; then
rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp100.dll"
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x64.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x64"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
else
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
fi
# Overriding dll
POL_Wine_OverrideDLL "native,builtin" "msvcp100"
POL_Wine_OverrideDLL "native,builtin" "msvcr100"
POL_Wine_OverrideDLL "native,builtin" "vcomp100"
POL_Wine_OverrideDLL "native,builtin" "atl100"
fi |
Contributions
Filters:
Contribute| Member | Bericht |
| camthegeek | Dinsdag 11 Mei 2021 om 17:57 |
camthegeek
|
InformationThis update has been approved by the team. BerichtMD5's mismatch from microsoft.com. It is very likely they have replaced the files on their servers.
Differences@@ -14,11 +14,11 @@ if [ "$POL_ARCH" = "amd64" ]; then # Downloading vcrun2010 sp1 x64 - POL_Download_Resource "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" "cbe0b05c11d5d523c2af997d737c137b" "vcrun2010" + POL_Download_Resource "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" "be79543624f806ced4c7dff25751a3e4" "vcrun2010" fi # Downloading vcrun2010 sp1 x86 -POL_Download_Resource "http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" "cede02d7af62449a2c38c49abecc0cd3" "vcrun2010" +POL_Download_Resource "http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" "bd2af26fccd52e01511ff3e088f4c8bb" "vcrun2010" # Check if vcrun2010 is already installed CHECK_VC2K10=`find $WINEPREFIX -name "msdia100.dll"` New source code#!/bin/bash
# PlayOnLinux Function
# Date : (2010-12-17 21:00)
# Last revision : (2013-01-22 21:13)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
# [petch] (2013-01-22 21:13)
# Fixing bug #1787
# [Dadu042] (2020-07-26 09:00)
# [NEW] overrides (to match Winetricks code)
FORCE_MODE=$1
if [ "$POL_ARCH" = "amd64" ]; then
# Downloading vcrun2010 sp1 x64
POL_Download_Resource "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" "be79543624f806ced4c7dff25751a3e4" "vcrun2010"
fi
# Downloading vcrun2010 sp1 x86
POL_Download_Resource "http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" "bd2af26fccd52e01511ff3e088f4c8bb" "vcrun2010"
# Check if vcrun2010 is already installed
CHECK_VC2K10=`find $WINEPREFIX -name "msdia100.dll"`
if [ "$CHECK_VC2K10" = "" -o "$FORCE_MODE" = "--force" ]; then
if [ "$CHECK_VC2K10" != "" ]; then
POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2010 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
fi
cd "$POL_USER_ROOT/ressources/vcrun2010"
# Fix before install for wine 1.3.37 and older
POL_AdvisedVersion 4.0.16 || POL_Debug_Error "$(eval_gettext 'VCRun2010 might fail to install because your PlayOnLinux version is too old. Please update.')"
if VersionLower $(POL_Config_PrefixRead VERSION) 1.3.37; then
POL_Call POL_Install_msxml3
ln -s "$WINEPREFIX/drive_c" "$WINEPREFIX/harddiskvolume0"
rm -f "$WINEPREFIX/dosdevices/c:"
ln -s "$WINEPREFIX/harddiskvolume0" "$WINEPREFIX/dosdevices/c:"
fi
# Installing vcrun2010
if [ "$POL_ARCH" = "amd64" ]; then
rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp100.dll"
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x64.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x64"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
else
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
fi
# Overriding dll
POL_Wine_OverrideDLL "native,builtin" "msvcp100"
POL_Wine_OverrideDLL "native,builtin" "msvcr100"
POL_Wine_OverrideDLL "native,builtin" "vcomp100"
POL_Wine_OverrideDLL "native,builtin" "atl100"
fi AntwoordenDinsdag 11 Mei 2021 om 20:24
|
| Dadu042 | Zondag 26 Juli 2020 om 9:56 |
|
Dadu042
|
WarningThis update has not been approved yet by the team. BerichtNote : .EXE files are outdated compared to Winetricks source code. Differences@@ -7,6 +7,8 @@ # [petch] (2013-01-22 21:13) # Fixing bug #1787 +# [Dadu042] (2020-07-26 09:00) +# [NEW] overrides (to match Winetricks code) FORCE_MODE=$1 @@ -51,5 +53,8 @@ fi # Overriding dll + POL_Wine_OverrideDLL "native,builtin" "msvcp100" POL_Wine_OverrideDLL "native,builtin" "msvcr100" + POL_Wine_OverrideDLL "native,builtin" "vcomp100" + POL_Wine_OverrideDLL "native,builtin" "atl100" fi \ No newline at end of file New source code#!/bin/bash
# PlayOnLinux Function
# Date : (2010-12-17 21:00)
# Last revision : (2013-01-22 21:13)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
# [petch] (2013-01-22 21:13)
# Fixing bug #1787
# [Dadu042] (2020-07-26 09:00)
# [NEW] overrides (to match Winetricks code)
FORCE_MODE=$1
if [ "$POL_ARCH" = "amd64" ]; then
# Downloading vcrun2010 sp1 x64
POL_Download_Resource "http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe" "cbe0b05c11d5d523c2af997d737c137b" "vcrun2010"
fi
# Downloading vcrun2010 sp1 x86
POL_Download_Resource "http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe" "cede02d7af62449a2c38c49abecc0cd3" "vcrun2010"
# Check if vcrun2010 is already installed
CHECK_VC2K10=`find $WINEPREFIX -name "msdia100.dll"`
if [ "$CHECK_VC2K10" = "" -o "$FORCE_MODE" = "--force" ]; then
if [ "$CHECK_VC2K10" != "" ]; then
POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2010 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
fi
cd "$POL_USER_ROOT/ressources/vcrun2010"
# Fix before install for wine 1.3.37 and older
POL_AdvisedVersion 4.0.16 || POL_Debug_Error "$(eval_gettext 'VCRun2010 might fail to install because your PlayOnLinux version is too old. Please update.')"
if VersionLower $(POL_Config_PrefixRead VERSION) 1.3.37; then
POL_Call POL_Install_msxml3
ln -s "$WINEPREFIX/drive_c" "$WINEPREFIX/harddiskvolume0"
rm -f "$WINEPREFIX/dosdevices/c:"
ln -s "$WINEPREFIX/harddiskvolume0" "$WINEPREFIX/dosdevices/c:"
fi
# Installing vcrun2010
if [ "$POL_ARCH" = "amd64" ]; then
rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp100.dll"
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x64.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x64"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
else
rm "$WINEPREFIX/drive_c/windows/system32/msvcp100.dll"
POL_Wine start /unix "vcredist_x86.exe" /q
POL_Wine_WaitExit "vcrun2010 sp1 x86"
fi
# Overriding dll
POL_Wine_OverrideDLL "native,builtin" "msvcp100"
POL_Wine_OverrideDLL "native,builtin" "msvcr100"
POL_Wine_OverrideDLL "native,builtin" "vcomp100"
POL_Wine_OverrideDLL "native,builtin" "atl100"
fi Antwoorden |
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