POL_Install_msvc90

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 115960
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 : (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:

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

Information

This update has been approved by the team.

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"

Replies

Friday 29 October 2021 at 22:55
Script approved.

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