POL_Install_quartz

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

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

Retours d'expérience

Description

Install quartz DLL for WMP (Windows Media Player) video support.

Note (2020-07): installing the function Devenum may be require in order to let this scritpt work with success.

Code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-03-12 04:29)
# Last revision : (2013-06-20 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading DLL 
POL_Download_Resource "https://web.archive.org/web/20180619044052if_/http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"

# Extracting DLL
cd "$POL_USER_ROOT/ressources"
mkdir -p quartz
cabextract -d quartz/ -L -F 'dxnt.cab' directx_feb2010_redist.exe || POL_Debug_Error "POL_Install_quartz : Failed te extract directx_feb2010_redist.exe"
cd quartz
cabextract dxnt.cab  -L -F 'quartz.dll' || POL_Debug_Error "POL_Install_quartz : Failed to extract dxnt.cab"

# Installing DLL
if [ "$POL_ARCH" == "amd64" ]; then
        cp "quartz.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp "quartz.dll" "$WINEPREFIX/drive_c/windows/system32"
fi

# Overriding DLL
POL_Wine_OverrideDLL "native,builtin" "quartz"

POL_Wine regsvr32 quartz.dll

Contributions

Filters:

Contribuer
Membre Messages
Quentin PÂRIS Dimanche 28 Février 2021 à 20:10
Quentin PÂRIS Anonymous

Information

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

Differences

@@ -6,7 +6,7 @@
 # Only For : http://www.playonlinux.com
 
 # Downloading DLL 
-POL_Download_Resource "http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"
+POL_Download_Resource "https://web.archive.org/web/20180619044052if_/http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"
 
 # Extracting DLL
 cd "$POL_USER_ROOT/ressources"

Nouveau code source

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-03-12 04:29)
# Last revision : (2013-06-20 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Downloading DLL 
POL_Download_Resource "https://web.archive.org/web/20180619044052if_/http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3"

# Extracting DLL
cd "$POL_USER_ROOT/ressources"
mkdir -p quartz
cabextract -d quartz/ -L -F 'dxnt.cab' directx_feb2010_redist.exe || POL_Debug_Error "POL_Install_quartz : Failed te extract directx_feb2010_redist.exe"
cd quartz
cabextract dxnt.cab  -L -F 'quartz.dll' || POL_Debug_Error "POL_Install_quartz : Failed to extract dxnt.cab"

# Installing DLL
if [ "$POL_ARCH" == "amd64" ]; then
        cp "quartz.dll" "$WINEPREFIX/drive_c/windows/syswow64"
else
        cp "quartz.dll" "$WINEPREFIX/drive_c/windows/system32"
fi

# Overriding DLL
POL_Wine_OverrideDLL "native,builtin" "quartz"

POL_Wine regsvr32 quartz.dll

Réponses

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