POL_Install_vbrun6

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 296560
Wine: System

Feedbacks

Source code

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:

Contribute
Member Message
Yaotl Monday 18 October 2021 at 18:10
Yaotl Anonymous

Information

This update has been approved by the team.

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

New source code

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

Replies

Friday 29 October 2021 at 22:56
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