POL_Install_vcrun2005

Informations

Créateur Messages
Berillions

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 3722418
Wine: System

Retours d'expérience

Description

Install VC Runtime 2005 SP1

Code source

#!/bin/bash
# PlayOnLinux Function
# Date : Unknown
# Last revision : (2021-06-02 02:31)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# [Berillions] (2013 ?)
#
# [petch] (2013-01-22 16:49)
#   Fixing bug #1787
# [Dadu042] (2019-09-05 18:21)
#   Update URLs.
#   Remove FR case.
# [Yaotl]
#   Update hash values

FORCE_MODE=$1

# Installing x64 version
if [ "$POL_ARCH" = "amd64" ]; then
        # Downloading vcrun2005 sp1 x64 EN
        POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "e231fbcce2c2cb16dcc299d36c734df3" "vcrun2005"
fi

# Downloading vcrun2005 sp1 x86 EN
POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "4f1611f2d0ae799507f60c10ff8654c5" "vcrun2005"


# Check if vcrun2005 is already installed
CHECK_VC2K5=`find $WINEPREFIX -name "msdia80.dll"`
if [ "$CHECK_VC2K5" = "" -o "$FORCE_MODE" = "--force" ]; then
        if [ "$CHECK_VC2K5" != "" ]; then
                POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
        fi

        cd "$POL_USER_ROOT/ressources/vcrun2005"

        # Installing vcrun2005 sp1
        if [ "$POL_ARCH" = "amd64" ]; then
                rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x64.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x64"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        else
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        fi

        # Overriding dll
        POL_Wine_OverrideDLL "native,builtin" "msvcr80"
fi

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Mercredi 2 Juin 2021 à 2:34
Yaotl Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : Unknown
-# Last revision : (2019-09-05 18:21)
+# Last revision : (2021-06-02 02:31)
 # Author : Berillions
 # Updated by : GNU_Raziel
 # Only For : http://www.playonlinux.com
@@ -10,20 +10,22 @@
 #
 # [petch] (2013-01-22 16:49)
 #   Fixing bug #1787
-# [Dadu042] (2019-09-05 18:21)
-#   Update URLs.
-#   Remove FR case.
- 
+# [Dadu042] (2019-09-05 18:21)
+#   Update URLs.
+#   Remove FR case.
+# [Yaotl]
+#   Update hash values
+
 FORCE_MODE=$1
- 
+
 # Installing x64 version
 if [ "$POL_ARCH" = "amd64" ]; then
-	# Downloading vcrun2005 sp1 x64 EN
-	POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "56eaf4e1237c974f6984edc93972c123" "vcrun2005"
+        # Downloading vcrun2005 sp1 x64 EN
+        POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "e231fbcce2c2cb16dcc299d36c734df3" "vcrun2005"
 fi
 
-Downloading vcrun2005 sp1 x86 EN
-POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "ce2922f83fb4b170affce0ea448b107b" "vcrun2005"
+# Downloading vcrun2005 sp1 x86 EN
+POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "4f1611f2d0ae799507f60c10ff8654c5" "vcrun2005"
 
 
 # Check if vcrun2005 is already installed
@@ -32,9 +34,9 @@
         if [ "$CHECK_VC2K5" != "" ]; then
                 POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
         fi
- 
+
         cd "$POL_USER_ROOT/ressources/vcrun2005"
- 
+
         # Installing vcrun2005 sp1
         if [ "$POL_ARCH" = "amd64" ]; then
                 rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
@@ -48,7 +50,7 @@
                 POL_Wine start /unix "vcredist_x86.exe" /q
                 POL_Wine_WaitExit "vcrun2005 sp1 x86"
         fi
- 
+
         # Overriding dll
         POL_Wine_OverrideDLL "native,builtin" "msvcr80"
 fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : Unknown
# Last revision : (2021-06-02 02:31)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# [Berillions] (2013 ?)
#
# [petch] (2013-01-22 16:49)
#   Fixing bug #1787
# [Dadu042] (2019-09-05 18:21)
#   Update URLs.
#   Remove FR case.
# [Yaotl]
#   Update hash values

FORCE_MODE=$1

# Installing x64 version
if [ "$POL_ARCH" = "amd64" ]; then
        # Downloading vcrun2005 sp1 x64 EN
        POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "e231fbcce2c2cb16dcc299d36c734df3" "vcrun2005"
fi

# Downloading vcrun2005 sp1 x86 EN
POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "4f1611f2d0ae799507f60c10ff8654c5" "vcrun2005"


# Check if vcrun2005 is already installed
CHECK_VC2K5=`find $WINEPREFIX -name "msdia80.dll"`
if [ "$CHECK_VC2K5" = "" -o "$FORCE_MODE" = "--force" ]; then
        if [ "$CHECK_VC2K5" != "" ]; then
                POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
        fi

        cd "$POL_USER_ROOT/ressources/vcrun2005"

        # Installing vcrun2005 sp1
        if [ "$POL_ARCH" = "amd64" ]; then
                rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x64.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x64"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        else
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        fi

        # Overriding dll
        POL_Wine_OverrideDLL "native,builtin" "msvcr80"
fi

Réponses

Samedi 5 Juin 2021 à 0:15
Script approved.
jminuscula Lundi 26 Avril 2021 à 13:37
jminuscula Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -22,7 +22,7 @@
 	POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "56eaf4e1237c974f6984edc93972c123" "vcrun2005"
 fi
 
-Downloading vcrun2005 sp1 x86 EN
+# Downloading vcrun2005 sp1 x86 EN
 POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "ce2922f83fb4b170affce0ea448b107b" "vcrun2005"
 
 

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : Unknown
# Last revision : (2019-09-05 18:21)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# [Berillions] (2013 ?)
#
# [petch] (2013-01-22 16:49)
#   Fixing bug #1787
# [Dadu042] (2019-09-05 18:21)
#   Update URLs.
#   Remove FR case.
 
FORCE_MODE=$1
 
# Installing x64 version
if [ "$POL_ARCH" = "amd64" ]; then
        # Downloading vcrun2005 sp1 x64 EN
        POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "56eaf4e1237c974f6984edc93972c123" "vcrun2005"
fi

# Downloading vcrun2005 sp1 x86 EN
POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "ce2922f83fb4b170affce0ea448b107b" "vcrun2005"


# Check if vcrun2005 is already installed
CHECK_VC2K5=`find $WINEPREFIX -name "msdia80.dll"`
if [ "$CHECK_VC2K5" = "" -o "$FORCE_MODE" = "--force" ]; then
        if [ "$CHECK_VC2K5" != "" ]; then
                POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
        fi
 
        cd "$POL_USER_ROOT/ressources/vcrun2005"
 
        # Installing vcrun2005 sp1
        if [ "$POL_ARCH" = "amd64" ]; then
                rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x64.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x64"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        else
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        fi
 
        # Overriding dll
        POL_Wine_OverrideDLL "native,builtin" "msvcr80"
fi

Réponses

Dadu042 Jeudi 5 September 2019 à 18:21
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

URLs fixed.

Differences

@@ -1,58 +1,54 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : Unknown
-# Last revision : (2013-01-22 16:49)
+# Last revision : (2019-09-05 18:21)
 # Author : Berillions
 # Updated by : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
+# [Berillions] (2013 ?)
+#
 # [petch] (2013-01-22 16:49)
 #   Fixing bug #1787
-
+# [Dadu042] (2019-09-05 18:21)
+#   Update URLs.
+#   Remove FR case.
+ 
 FORCE_MODE=$1
-
+ 
 # Installing x64 version
 if [ "$POL_ARCH" = "amd64" ]; then
-	if [ "$POL_LANG" = "fr" ]; then
-		# Downloading vcrun2005 sp1 x64 FR
-		POL_Download_Resource "http://download.microsoft.com/download/2/d/8/2d83625f-1af0-4807-9da0-5b994058d213/vcredist_x64.exe" "684871e3a5acf1a0be20d24abe897287" "vcrun2005"
-	else
-		# Downloading vcrun2005 sp1 x64 EN
-		POL_Download_Resource "http://download.microsoft.com/download/d/4/1/d41aca8a-faa5-49a7-a5f2-ea0aa4587da0/vcredist_x64.exe" "b55acaf32792a0627986aa724ebfcf07" "vcrun2005"
-	fi
+	# Downloading vcrun2005 sp1 x64 EN
+	POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "56eaf4e1237c974f6984edc93972c123" "vcrun2005"
 fi
 
-if [ "$POL_LANG" = "fr" ]; then
-	# Downloading vcrun2005 sp1 x86 FR
-	POL_Download_Resource "http://download.microsoft.com/download/a/3/7/a379292d-24f2-4bbb-841b-c2aeb1100471/vcredist_x86.exe" "7edcbd8887a5d01c95517fb4483853b3" "vcrun2005"
-else
-	# Downloading vcrun2005 sp1 x86 EN
-	POL_Download_Resource "http://download.microsoft.com/download/e/1/c/e1c773de-73ba-494a-a5ba-f24906ecf088/vcredist_x86.exe" "5c82be7ad1775b67916ee19c15b99331" "vcrun2005"
-fi
+Downloading vcrun2005 sp1 x86 EN
+POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "ce2922f83fb4b170affce0ea448b107b" "vcrun2005"
+
 
 # Check if vcrun2005 is already installed
 CHECK_VC2K5=`find $WINEPREFIX -name "msdia80.dll"`
 if [ "$CHECK_VC2K5" = "" -o "$FORCE_MODE" = "--force" ]; then
-	if [ "$CHECK_VC2K5" != "" ]; then
-		POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
-	fi
-
-	cd "$POL_USER_ROOT/ressources/vcrun2005"
-
-	# Installing vcrun2005 sp1
-	if [ "$POL_ARCH" = "amd64" ]; then
-		rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
-		rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
-		POL_Wine start /unix "vcredist_x64.exe" /q
-		POL_Wine_WaitExit "vcrun2005 sp1 x64"
-		POL_Wine start /unix "vcredist_x86.exe" /q
-		POL_Wine_WaitExit "vcrun2005 sp1 x86"
-	else
-		rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
-		POL_Wine start /unix "vcredist_x86.exe" /q
-		POL_Wine_WaitExit "vcrun2005 sp1 x86"
-	fi
-
-	# Overriding dll
-	POL_Wine_OverrideDLL "native,builtin" "msvcr80"
+        if [ "$CHECK_VC2K5" != "" ]; then
+                POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
+        fi
+ 
+        cd "$POL_USER_ROOT/ressources/vcrun2005"
+ 
+        # Installing vcrun2005 sp1
+        if [ "$POL_ARCH" = "amd64" ]; then
+                rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
+                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
+                POL_Wine start /unix "vcredist_x64.exe" /q
+                POL_Wine_WaitExit "vcrun2005 sp1 x64"
+                POL_Wine start /unix "vcredist_x86.exe" /q
+                POL_Wine_WaitExit "vcrun2005 sp1 x86"
+        else
+                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
+                POL_Wine start /unix "vcredist_x86.exe" /q
+                POL_Wine_WaitExit "vcrun2005 sp1 x86"
+        fi
+ 
+        # Overriding dll
+        POL_Wine_OverrideDLL "native,builtin" "msvcr80"
 fi
\ No newline at end of file

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : Unknown
# Last revision : (2019-09-05 18:21)
# Author : Berillions
# Updated by : GNU_Raziel
# Only For : http://www.playonlinux.com

# [Berillions] (2013 ?)
#
# [petch] (2013-01-22 16:49)
#   Fixing bug #1787
# [Dadu042] (2019-09-05 18:21)
#   Update URLs.
#   Remove FR case.
 
FORCE_MODE=$1
 
# Installing x64 version
if [ "$POL_ARCH" = "amd64" ]; then
        # Downloading vcrun2005 sp1 x64 EN
        POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x64.EXE" "56eaf4e1237c974f6984edc93972c123" "vcrun2005"
fi

Downloading vcrun2005 sp1 x86 EN
POL_Download_Resource "https://download.microsoft.com/download/8/B/4/8B42259F-5D70-43F4-AC2E-4B208FD8D66A/vcredist_x86.EXE" "ce2922f83fb4b170affce0ea448b107b" "vcrun2005"


# Check if vcrun2005 is already installed
CHECK_VC2K5=`find $WINEPREFIX -name "msdia80.dll"`
if [ "$CHECK_VC2K5" = "" -o "$FORCE_MODE" = "--force" ]; then
        if [ "$CHECK_VC2K5" != "" ]; then
                POL_SetupWindow_message "$(eval_gettext 'Warning : vcrun2005 seems to be already installed.\nForcing reinstallation.')" "$TITLE"
        fi
 
        cd "$POL_USER_ROOT/ressources/vcrun2005"
 
        # Installing vcrun2005 sp1
        if [ "$POL_ARCH" = "amd64" ]; then
                rm "$WINEPREFIX/drive_c/windows/syswow64/msvcp80.dll"
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x64.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x64"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        else
                rm "$WINEPREFIX/drive_c/windows/system32/msvcp80.dll"
                POL_Wine start /unix "vcredist_x86.exe" /q
                POL_Wine_WaitExit "vcrun2005 sp1 x86"
        fi
 
        # Overriding dll
        POL_Wine_OverrideDLL "native,builtin" "msvcr80"
fi

Réponses

Anonymous
Lundi 26 Avril 2021 à 13:36
@Dadu042 this is failing for me on line 25. Examining the diff, looks like that line should be a comment?
proenix12 Samedi 14 Mai 2016 à 3:27
proenix12 Anonymous

Messages

Can't download all microsoft stuff

Réponses

Jeudi 5 September 2019 à 18:13
I confirm missing files (dead links).
Mercredi 22 Janvier 2020 à 13:25
 

Links (to microsoft) are working again.

 

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