POL_Install_msvc80

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 111824
Wine: System

Feedbacks

Description

Français :
Cette fonction vous permettra d'installer les DLL msvc80 losrque cela est nécéssaire.

English :
This function will allow you to install msvc80 DLLs when it's needed.

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-09-07 19:00)
# Last revision : (2021-10-18 17:51)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading MSvc80
cd "$POL_USER_ROOT"/ressources/
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc80.crt.zip" "53accbf0e1e7a67415ddcdd44f8e226e" ""

# Installing MSvc80
POL_Wine_WaitBefore "MSvc80 DLLs"
cd "$WINEPREFIX"/drive_c/windows/temp
unzip "$POL_USER_ROOT"/ressources/microsoft.vc80.crt.zip
if [ "$POL_ARCH" = "amd64" ]; then
    cp Microsoft.VC80.CRT/*.* ../syswow64/
else
    cp Microsoft.VC80.CRT/*.* ../system32/
fi
rm -rf Microsoft.VC80.CRT

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

Contributions

Filters:

Contribute
Member Message
Yaotl Monday 18 October 2021 at 17:51
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-09-07 19:00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2021-10-18 17:51)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
@@ -13,7 +13,11 @@
 POL_Wine_WaitBefore "MSvc80 DLLs"
 cd "$WINEPREFIX"/drive_c/windows/temp
 unzip "$POL_USER_ROOT"/ressources/microsoft.vc80.crt.zip
-cp Microsoft.VC80.CRT/*.* ../system32/
+if [ "$POL_ARCH" = "amd64" ]; then
+    cp Microsoft.VC80.CRT/*.* ../syswow64/
+else
+    cp Microsoft.VC80.CRT/*.* ../system32/
+fi
 rm -rf Microsoft.VC80.CRT
 
 # Overriding dll

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-09-07 19:00)
# Last revision : (2021-10-18 17:51)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading MSvc80
cd "$POL_USER_ROOT"/ressources/
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc80.crt.zip" "53accbf0e1e7a67415ddcdd44f8e226e" ""

# Installing MSvc80
POL_Wine_WaitBefore "MSvc80 DLLs"
cd "$WINEPREFIX"/drive_c/windows/temp
unzip "$POL_USER_ROOT"/ressources/microsoft.vc80.crt.zip
if [ "$POL_ARCH" = "amd64" ]; then
    cp Microsoft.VC80.CRT/*.* ../syswow64/
else
    cp Microsoft.VC80.CRT/*.* ../system32/
fi
rm -rf Microsoft.VC80.CRT

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

Replies

Friday 29 October 2021 at 22:54
Script approved.