Create install-mf-32.sh

This commit is contained in:
z0z0z 2019-04-30 04:00:34 +00:00 committed by GitHub
parent 0ef8ca91df
commit 4698e070ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 0 deletions

21
RE2/install-mf-32.sh Normal file
View File

@ -0,0 +1,21 @@
#!/bin/sh
[ -z "$WINEPREFIX" ] && echo "WINEPREFIX not set" && exit 1
set -e
scriptdir=$(dirname "$0")
cd "$scriptdir"
if [ ! -f "windows6.1-KB976932-X86.exe" ]; then
wget "https://download.microsoft.com/download/0/A/F/0AFB5316-3062-494A-AB78-7FB0D4461357/windows6.1-KB976932-X86.exe"
fi
python2 installcab.py windows6.1-KB976932-X86.exe mediafoundation
python2 installcab.py windows6.1-KB976932-X86.exe mf_
python2 installcab.py windows6.1-KB976932-X86.exe mfreadwrite
python2 installcab.py windows6.1-KB976932-X86.exe wmadmod
python2 installcab.py windows6.1-KB976932-X86.exe wmvdecod
python2 installcab.py windows6.1-KB976932-X86.exe wmadmod
echo -e "\nNow you need to get mfplat.dll in your application directory"