POL_Install_cc580

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

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

Retours d'expérience

Description

Install MS common controls 5.80 sdk.

Code source

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

# Downloading CC580
POL_Download_Resource "http://download.microsoft.com/download/platformsdk/redist/5.80.2614.3600/w9xnt4/en-us/cc32inst.exe" "d46736967c161d9a065064387354ec31"

# Installing CC580
cd "$POL_USER_ROOT/ressources/"
POL_Wine cc32inst.exe /T:C:\playonlinux /c /q
unzip -o -d "$WINEPREFIX"/drive_c/windows/temp/ "$WINEPREFIX"/drive_c/playonlinux/playonlinux/comctl32.exe
POL_Wine "$WINEPREFIX"/drive_c/windows/temp/x86/50ComUpd.Exe /T:C:\playonlinux /c /q
if [ "$POL_ARCH" == "amd64" ]; then
        cp "$WINEPREFIX"/drive_c/playonlinux/playonlinux/comcnt.dll "$WINEPREFIX"/drive_c/windows/syswow64/comctl32.dll
else
        cp "$WINEPREFIX"/drive_c/playonlinux/playonlinux/comcnt.dll "$WINEPREFIX"/drive_c/windows/system32/comctl32.dll
fi
POL_Wine_WaitExit "cc580"

# Overriding dll
POL_Wine_OverrideDLL "native, builtin" "comctl32"

# Fix for builtin apps
POL_Call POL_Function_override_app_dlls winecfg.exe builtin comctl32
POL_Call POL_Function_override_app_dlls explorer.exe builtin comctl32
POL_Call POL_Function_override_app_dlls iexplore.exe builtin comctl32
POL_Call POL_Function_override_app_dlls regedit.exe builtin comctl32

Contributions

Filters:

Contribuer
Membre Messages

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