POL_Install_vcrun6

Informations

Creator Message
Berillions

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 618102
Wine: System

Feedbacks

Source code

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

Contribute
Member Message
GuerreroAzul Wednesday 21 February 2024 at 22:44
GuerreroAzul

Warning

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

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) ;;

New source code

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

Replies

Edited by GuerreroAzul

Yaotl Monday 18 October 2021 at 18:20
Yaotl Anonymous

Information

This update has been approved by the team.

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

New source code

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

Replies

Friday 29 October 2021 at 22:56
Script approved.