POL_Install_msvc90

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

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

Retours d'expérience

Description

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

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

Code source

#!/bin/bash
# Date : (2011-03-16 21:00)
# Last revision : (2021-10-18 17:52)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading MSvc90
cd "$POL_USER_ROOT/ressources/"
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc90.crt.zip" "710598c9c1d03fc913146a9aa6681db8" ""

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

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

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Lundi 18 Octobre 2021 à 17:52
Yaotl Anonymous

Information

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2011-03-16 21:00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2021-10-18 17:52)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
@@ -12,7 +12,11 @@
 POL_Wine_WaitBefore "MSvc90 DLLs"
 cd "$WINEPREFIX/drive_c/windows/temp"
 unzip "$POL_USER_ROOT/ressources/microsoft.vc90.crt.zip"
-cp Microsoft.vc90.crt/*.* ../system32/
+if [ "$POL_ARCH" = "amd64" ]; then
+    cp Microsoft.vc90.crt/*.* ../syswow64/
+else
+    cp Microsoft.vc90.crt/*.* ../system32/
+fi
 rm -rf Microsoft.vc90.crt
 
 # Overriding dll

Nouveau code source

#!/bin/bash
# Date : (2011-03-16 21:00)
# Last revision : (2021-10-18 17:52)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading MSvc90
cd "$POL_USER_ROOT/ressources/"
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc90.crt.zip" "710598c9c1d03fc913146a9aa6681db8" ""

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

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

Réponses

Vendredi 29 Octobre 2021 à 22:55
Script approved.