Media Player Classic

MediaPlayerClassic is an OpenSource (GPL) Videoplayer in the style of the old WindowsMediaPlayer 6.4 but with much more features.

<package id="mediaplayerclassic" name="Media Player Classic" revision="1" reboot="false" priority="0">
    <check type="file" condition="exists" path="%PROGRAMFILES%\media player classic\mplayerc.exe" />
    <install cmd='%SOFTWARE%\mpc\installmpc.bat' />
    <remove cmd='%SOFTWARE%\mpc\uninstallmpc.bat' />
    <upgrade cmd='%SOFTWARE%\mpc\upgradempc.bat' />
</package>


install.cmd:

mkdir "%ProgramFiles%\media player classic"
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
copy /Y "%SOFTWARE%\mpc\odtwarzanie wideo, DVD, V-CD.lnk" "%ALLUSERSPROFILE%\PULPIT"

uninstall.cmd:

del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
del /Y "%ProgramFiles%\media player classic"

upgrade.cmd:

del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"