19
edits
Changes
m
<package id="mediaplayerclassic" name="Media Player Classic" revision="1" reboot="false" priority="0"> <check type="file" condition="exists" path="c[http:\Program Files\media player classic\mplayerc.exe" /> <install cmd='\\Serwer\instalki\mpc\installmpc/sourceforge.bat'> <exit code="0" net/> <project/install> <remove cmd='\\Serwer\instalki\mpc\uninstallmpcshowfiles.bat' /> <upgrade cmdphp?group_id=82303&package_id='\\Serwer\instalki\mpc\upgradempc84358 MediaPlayerClassic] is an OpenSource (GPL) Videoplayer in the style of the old WindowsMediaPlayer 6.4 but with much more features.bat' /> </package>
installmpc.bat:
uninstallmpcuninstall.batcmd: 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"
upgradempcupgrade.batcmd: del /Y "c:\Program Files%ProgramFiles%\media player classic\mplayerc.exe" copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "c:\Program Files%ProgramFiles%\media player classic"
%ProgramFiles%
<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>
install.cmd:
mkdir "%ProgramFiles%\media player classic"
copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "%ProgramFiles%\media player classic"
[[category:Silent Installers|Media Player Classic]]