Difference between revisions of "Media Player Classic"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(No difference)

Revision as of 21:33, 15 November 2005

<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>


installmpc.bat:


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"


uninstallmpc.bat:

del /Y "c:\Program Files\media player classic\mplayerc.exe"
del /Y "c:\Program Files\media player classic"


upgradempc.bat:

del /Y "c:\Program Files\media player classic\mplayerc.exe"
copy /Y "\\serwer\instalki\mpc\mplayerc.exe" "c:\Program Files\media player classic"