Difference between revisions of "Media Player Classic"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Reverted edit of 210.13.105.23, changed back to last version by WPKGSysop)
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&package_id=84358 MediaPlayerClassic] is an OpenSource (GPL) Videoplayer in the style of the old WindowsMediaPlayer 6.4 but with much more features.
  
<pre>
+
<source lang="xml">
 
<package id="mediaplayerclassic" name="Media Player Classic" revision="1" reboot="false" priority="0">
 
<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" />
 
     <check type="file" condition="exists" path="%PROGRAMFILES%\media player classic\mplayerc.exe" />
Line 8: Line 8:
 
     <upgrade cmd='%SOFTWARE%\mpc\upgradempc.bat' />
 
     <upgrade cmd='%SOFTWARE%\mpc\upgradempc.bat' />
 
</package>
 
</package>
</pre>
+
</source>
  
  
 
install.cmd:
 
install.cmd:
mkdir "%ProgramFiles%\media player classic"
+
<source lang="dos">
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
+
mkdir "%ProgramFiles%\media player classic"
copy /Y "%SOFTWARE%\mpc\odtwarzanie wideo, DVD, V-CD.lnk" "%ALLUSERSPROFILE%\PULPIT"
+
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
 
+
copy /Y "%SOFTWARE%\mpc\odtwarzanie wideo, DVD, V-CD.lnk" "%ALLUSERSPROFILE%\PULPIT"
 +
</source>
  
 
uninstall.cmd:
 
uninstall.cmd:
del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
+
<source lang="dos">
del /Y "%ProgramFiles%\media player classic"
+
del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
 
+
del /Y "%ProgramFiles%\media player classic"
 +
</source>
  
 
upgrade.cmd:
 
upgrade.cmd:
del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
+
<source lang="dos">
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
+
del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
 
+
copy /Y "%SOFTWARE%\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
 +
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Latest revision as of 19:08, 19 February 2008

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"