You are here
POL_Install_dxdiag
Informations
Creator | Message |
---|---|
SuperPlumus
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 0 Source code#!/bin/bash # PlayOnLinux Function # Date : (2012-03-03 18-48) # Last revision : (2012-03-03 18-48) # Author : SuperPlumus # CHANGELOG # [SuperPlumus] (2012-03-03 19-32) # Initial writting (for X3 : Terran Conflict) cd "$POL_USER_ROOT/ressources" POL_Download_Resource "http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe" "4cf007a355cb5f34a3c5c400113b33c3" POL_Wine_WaitBefore "DxDiag" mkdir -p "$POL_USER_ROOT/tmp/dxdiag" DXDIAG_TEMP="$POL_USER_ROOT/tmp/dxdiag" cabextract -d "$DXDIAG_TEMP" -L -F "dxnt.cab" "$POL_USER_ROOT/ressources/directx_feb2010_redist.exe" if [ "$POL_ARCH" = "amd64" ]; then cabextract -d "$WINEPREFIX/drive_c/windows/syswow64" -L -F "dxdiag.exe" "$DXDIAG_TEMP/dxnt.cab" cabextract -d "$WINEPREFIX/drive_c/windows/syswow64" -L -F "dxdiagn.dll" "$DXDIAG_TEMP/dxnt.cab" else cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F "dxdiag.exe" "$DXDIAG_TEMP/dxnt.cab" cabextract -d "$WINEPREFIX/drive_c/windows/system32" -L -F "dxdiagn.dll" "$DXDIAG_TEMP/dxnt.cab" fi mkdir -p "$WINEPREFIX/drive_c/windows/help" cabextract -d "$WINEPREFIX/drive_c/windows/help" -L -F "dxdiag.chm" "$DXDIAG_TEMP/dxnt.cab" POL_Wine_OverrideDLL native dxdiag.exe dxdiagn POL_Call POL_Install_devenum POL_Call POL_Install_quartz rm -rf "$POL_USER_ROOT/tmp/dxdiag" |
Contributions
Filters:
ContributeMember | Message |
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