POL_Install_vbrun6

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

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

Retours d'expérience

Code source

POL_Download_Resource "https://web.archive.org/web/20210125001711if_/http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" #"http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" "ef5b83c4cc60e246bf627d85f6d7397b"

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$WINEPREFIX/drive_c/windows/syswow64"
else
    cd "$WINEPREFIX/drive_c/windows/system32"
fi

rm comcat.dll
rm oleaut32.dll
rm olepro32.dll
rm stdole2.tlb

cd "$POL_USER_ROOT/ressources" 

POL_SetupWindow_wait "$(eval_gettext 'Installing Visual Basic runtime')" "$TITLE"
cabextract VB6.0-KB290887-X86.exe
POL_Wine --ignore-errors "vbrun60sp6.exe"
_ec=$?
POL_Wine_WaitExit

case "$_ec" in
    0|43) ;;
    *) POL_Debug_Error "Failed installing VB6 runtime"
esac

Contributions

Filters:

Contribuer
Membre Messages
Yaotl Lundi 18 Octobre 2021 à 18:10
Yaotl Anonymous

Information

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

Differences

@@ -1,6 +1,10 @@
-POL_Download_Resource "http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" "ef5b83c4cc60e246bf627d85f6d7397b"
+POL_Download_Resource "https://web.archive.org/web/20210125001711if_/http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" #"http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" "ef5b83c4cc60e246bf627d85f6d7397b"
 
-cd "$WINEPREFIX/drive_c/windows/system32"
+if [ "$POL_ARCH" = "amd64" ]; then
+    cd "$WINEPREFIX/drive_c/windows/syswow64"
+else
+    cd "$WINEPREFIX/drive_c/windows/system32"
+fi
 
 rm comcat.dll
 rm oleaut32.dll

Nouveau code source

POL_Download_Resource "https://web.archive.org/web/20210125001711if_/http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" #"http://download.microsoft.com/download/5/a/d/5ad868a0-8ecd-4bb0-a882-fe53eb7ef348/VB6.0-KB290887-X86.exe" "ef5b83c4cc60e246bf627d85f6d7397b"

if [ "$POL_ARCH" = "amd64" ]; then
    cd "$WINEPREFIX/drive_c/windows/syswow64"
else
    cd "$WINEPREFIX/drive_c/windows/system32"
fi

rm comcat.dll
rm oleaut32.dll
rm olepro32.dll
rm stdole2.tlb

cd "$POL_USER_ROOT/ressources" 

POL_SetupWindow_wait "$(eval_gettext 'Installing Visual Basic runtime')" "$TITLE"
cabextract VB6.0-KB290887-X86.exe
POL_Wine --ignore-errors "vbrun60sp6.exe"
_ec=$?
POL_Wine_WaitExit

case "$_ec" in
    0|43) ;;
    *) POL_Debug_Error "Failed installing VB6 runtime"
esac

Réponses

Vendredi 29 Octobre 2021 à 22:56
Script approved.