Difference between revisions of "Media Player Classic"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 1: Line 1:
[http://sourceforge.net/project/showfiles.php?group_id=82303&package_id=84358 MediaPlayerClassic] is an OpenSource (GPL) Videoplayer in the style of the old WindowsMediaPlayer 6.4 but with much more features.
+
[http://sourceforge.net/project/showfiles.php?group_id=82303
 
+
<pre>
+
<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>
+
</pre>
+
 
+
 
+
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"
+
 
+
 
+
[[category:Silent Installers]]
+

Revision as of 17:32, 12 April 2007

[http://sourceforge.net/project/showfiles.php?group_id=82303