Difference between revisions of "Media Player Classic"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (%ProgramFiles%)
Line 1: Line 1:
<package id="mediaplayerclassic" name="Media Player Classic" revision="1" reboot="false" priority="0">
+
[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.
<check type="file" condition="exists" path="c:\Program Files\media player classic\mplayerc.exe" />
+
<install cmd='\\Serwer\instalki\mpc\installmpc.bat'>
+
<exit code="0" />
+
</install>
+
<remove cmd='\\Serwer\instalki\mpc\uninstallmpc.bat' />
+
<upgrade cmd='\\Serwer\instalki\mpc\upgradempc.bat' />
+
</package>
+
  
 +
<pre>
 +
<package id="mediaplayerclassic" name="Media Player Classic" revision="1" reboot="false" priority="0">
 +
    <check type="file" condition="exists" path="c:\Program Files\media player classic\mplayerc.exe" />
 +
    <install cmd='\\Serwer\instalki\mpc\installmpc.bat'>
 +
        <exit code="0" />
 +
    </install>
 +
    <remove cmd='\\Serwer\instalki\mpc\uninstallmpc.bat' />
 +
    <upgrade cmd='\\Serwer\instalki\mpc\upgradempc.bat' />
 +
</package>
 +
</pre>
  
installmpc.bat:
 
  
 +
install.cmd:
 
  mkdir "%ProgramFiles%\media player classic"
 
  mkdir "%ProgramFiles%\media player classic"
 
  copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
 
  copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
Line 16: Line 19:
  
  
uninstallmpc.bat:
+
uninstall.cmd:
 +
del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
 +
del /Y "%ProgramFiles%\media player classic"
  
del /Y "c:\Program Files\media player classic\mplayerc.exe"
 
del /Y "c:\Program Files\media player classic"
 
  
 
+
upgrade.cmd:
upgradempc.bat:
+
  del /Y "%ProgramFiles%\media player classic\mplayerc.exe"
 
+
  copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
  del /Y "c:\Program Files\media player classic\mplayerc.exe"
+
  copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "c:\Program Files\media player classic"
+
  
  
 
[[category:Silent Installers|Media Player Classic]]
 
[[category:Silent Installers|Media Player Classic]]

Revision as of 14:05, 26 April 2006

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="c:\Program Files\media player classic\mplayerc.exe" />
    <install cmd='\\Serwer\instalki\mpc\installmpc.bat'>
        <exit code="0" />
    </install>
    <remove cmd='\\Serwer\instalki\mpc\uninstallmpc.bat' />
    <upgrade cmd='\\Serwer\instalki\mpc\upgradempc.bat' />
</package>


install.cmd:

mkdir "%ProgramFiles%\media player classic"
copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
copy /Y "\\serwer\instalki\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 "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"