Windows Media Player 10

Informations

Creator Message
SuperPlumus Anonymous
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 196999
Wine: 1.3.19

Feedbacks

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (2011-10-14 18-20)
# Last revision : (2013-12-10 09-56)
# Wine version used : 1.3.19
# Author : SuperPlumus

# CHANGELOG
# [SuperPlumus] (2013-12-10 09-56)
#   Update gettext messages

[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"

TITLE="Windows Media Player 10"
PREFIX="WMP10"
WORKING_WINE_VERSION="1.3.19"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft" "http://www.windowsmediaplayer.com" "SuperPlumus" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

POL_Call POL_Install_wsh57

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    cd "$POL_System_TmpDir"
    POL_Call POL_Softpedia_Download "http://www.softpedia.com/dyn-postdownload.php?p=4121&t=4&i=1" "e57645c5ab34485d56d019aaa17c3150"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "MP10Setup.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$APP_ANSWER"
fi

# On attend la fin de premier setup (qui a la fin, va lancer le 2eme setup)
INSTALL_ON="1"
until [ "$INSTALL_ON" == "" ]; do
sleep 15
INSTALL_ON=`ps aux | grep "MP10Setup" | grep -v "grep"`
done

# On attend la fin du 2eme setup
INSTALL_ON="1"
until [ "$INSTALL_ON" == "" ]; do
sleep 15
INSTALL_ON=`ps aux | grep "setup_wm" | grep -v "grep"`
done

# On attend que l'installateur lance le player, pour ensuite le killer, pour permettre de terminer l'installation
sleep 30
killall "wmplayer.exe"

POL_Wine_WaitExit "$TITLE"

POL_Wine regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdr4_2K"
POL_Wine regedit /D "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Cdralw2k"

# Installation des codecs
POL_Call POL_Install_wmpcodecs

POL_System_TmpDelete

POL_Shortcut "wmplayer.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message
petch Thursday 14 January 2016 at 20:54
petch
Developer

Message

Softpedia support, which is used to download WMP10, seems to be broken...

Replies