POL_Install_vcrun6

Informations

Créateur Messages
Berillions

Information

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

Informations

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

Retours d'expérience

Code source

#!/bin/bash
# PlayOnLinux Function
 
# Date : (2009-11-21)
# Author : Berillions
# Licence : 
# Depend : none

POL_Download_Resource "http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe" "53a0925609b366daa17051e1e4be3b86"


if [ "$POL_ARCH" = "amd64" ]; then
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/stdole2.tlb"
else
    rm -rf "$WINEPREFIX/drive_c/windows/system32/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/stdole2.tlb"
fi

#Install vcrun6
cd "$POL_USER_ROOT/tmp/"
cabextract "$POL_USER_ROOT/ressources/VC6RedistSetup_deu.exe"
POL_Wine --ignore-errors "vcredist.exe"
case "$?" in
    0|43) ;;
    *) POL_Debug_Error "Failed installing VC6 runtime"
esac
POL_Call POL_Install_mfc42

Contributions

Filters:

Contribuer
Membre Messages
GuerreroAzul Mercredi 21 Février 2024 à 22:44
GuerreroAzul

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -6,7 +6,8 @@
 # Licence : 
 # Depend : none
 
-POL_Download_Resource "http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe" "53a0925609b366daa17051e1e4be3b86"
+# [GuerreroAzul] Update Resourse
+POL_Download_Resource "http://files.ausgamers.com/downloads/1708551662/VC6RedistSetup_enu.exe" "dd50945bcf3e09e22453be43684f3d39"
 
 
 if [ "$POL_ARCH" = "amd64" ]; then
@@ -25,7 +26,7 @@
 
 #Install vcrun6
 cd "$POL_USER_ROOT/tmp/"
-cabextract "$POL_USER_ROOT/ressources/VC6RedistSetup_deu.exe"
+cabextract "$POL_USER_ROOT/ressources/VC6RedistSetup_enu.exe"
 POL_Wine --ignore-errors "vcredist.exe"
 case "$?" in
     0|43) ;;

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
 
# Date : (2009-11-21)
# Author : Berillions
# Licence : 
# Depend : none

# [GuerreroAzul] Update Resourse
POL_Download_Resource "http://files.ausgamers.com/downloads/1708551662/VC6RedistSetup_enu.exe" "dd50945bcf3e09e22453be43684f3d39"


if [ "$POL_ARCH" = "amd64" ]; then
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/stdole2.tlb"
else
    rm -rf "$WINEPREFIX/drive_c/windows/system32/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/stdole2.tlb"
fi

#Install vcrun6
cd "$POL_USER_ROOT/tmp/"
cabextract "$POL_USER_ROOT/ressources/VC6RedistSetup_enu.exe"
POL_Wine --ignore-errors "vcredist.exe"
case "$?" in
    0|43) ;;
    *) POL_Debug_Error "Failed installing VC6 runtime"
esac
POL_Call POL_Install_mfc42

Réponses

Edité par GuerreroAzul

Yaotl Lundi 18 Octobre 2021 à 18:20
Yaotl Anonymous

Information

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

Differences

@@ -9,11 +9,19 @@
 POL_Download_Resource "http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe" "53a0925609b366daa17051e1e4be3b86"
 
 
-rm -rf "$WINEPREFIX/drive_c/windows/system32/comcat.dll"
-rm -rf "$WINEPREFIX/drive_c/windows/system32/msvcrt.dll"
-rm -rf "$WINEPREFIX/drive_c/windows/system32/oleaut32.dll"
-rm -rf "$WINEPREFIX/drive_c/windows/system32/olepro32.dll"
-rm -rf "$WINEPREFIX/drive_c/windows/system32/stdole2.tlb"
+if [ "$POL_ARCH" = "amd64" ]; then
+    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/comcat.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/msvcrt.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/oleaut32.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/olepro32.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/stdole2.tlb"
+else
+    rm -rf "$WINEPREFIX/drive_c/windows/system32/comcat.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/system32/msvcrt.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/system32/oleaut32.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/system32/olepro32.dll"
+    rm -rf "$WINEPREFIX/drive_c/windows/system32/stdole2.tlb"
+fi
 
 #Install vcrun6
 cd "$POL_USER_ROOT/tmp/"

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
 
# Date : (2009-11-21)
# Author : Berillions
# Licence : 
# Depend : none

POL_Download_Resource "http://download.microsoft.com/download/vc60pro/Update/2/W9XNT4/EN-US/VC6RedistSetup_deu.exe" "53a0925609b366daa17051e1e4be3b86"


if [ "$POL_ARCH" = "amd64" ]; then
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/syswow64/stdole2.tlb"
else
    rm -rf "$WINEPREFIX/drive_c/windows/system32/comcat.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/msvcrt.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/oleaut32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/olepro32.dll"
    rm -rf "$WINEPREFIX/drive_c/windows/system32/stdole2.tlb"
fi

#Install vcrun6
cd "$POL_USER_ROOT/tmp/"
cabextract "$POL_USER_ROOT/ressources/VC6RedistSetup_deu.exe"
POL_Wine --ignore-errors "vcredist.exe"
case "$?" in
    0|43) ;;
    *) POL_Debug_Error "Failed installing VC6 runtime"
esac
POL_Call POL_Install_mfc42

Réponses

Vendredi 29 Octobre 2021 à 22:56
Script approved.