POL_Install_msvc90

Informations

Creator Wiadmości
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 107655
Wine: System

Feedbacks

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.

Source code

#!/bin/bash
# Date : (2011-03-16 21:00)
# Last revision : (2013-04-13 21:00)
# 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"
cp Microsoft.vc90.crt/*.* ../system32/
rm -rf Microsoft.vc90.crt

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

Contributions

Filters:

Contribute
Member Wiadmości
Yaotl Monday 18 October 2021 at 17:52
Yaotl Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

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

New source code

#!/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"

Odpowiedzi