POL_Install_msvc100

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 190330
Wine: System

Feedbacks

Description

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

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

Source code

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

# Downloading MSvc100
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc100.crt.zip" "5fc2ade663d069f4a0f98ad6d45beabe" ""

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

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

Contributions

Filters:

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

Information

This update has been approved by the team.

Differences

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

New source code

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

# Downloading MSvc100
POL_Download_Resource "http://files.playonlinux.com/microsoft.vc100.crt.zip" "5fc2ade663d069f4a0f98ad6d45beabe" ""

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

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

Replies

Friday 29 October 2021 at 22:54
Script approved.