VLC for WPKG on iPasserelle
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<packages>
|
|
|
|
<package id='vlc'
|
|
|
|
name='Lecteur multimedia VideoLAN Client'
|
|
|
|
revision='6'
|
|
|
|
priority='10'
|
|
|
|
reboot='false' >
|
|
|
|
|
|
|
|
<variable name="PKG_VERSION" value="2.0.2" />
|
|
|
|
<variable architecture="x86" name="INSTALL_PATH" value="%PROGRAMFILES%" />
|
|
|
|
<variable architecture="x64" name="INSTALL_PATH" value="%PROGRAMFILES(x86)%" />
|
|
|
|
|
|
|
|
<check type='uninstall' condition='exists' path='VLC media player %PKG_VERSION%' />
|
|
|
|
|
|
|
|
<install include='remove' />
|
|
|
|
<install cmd='%COMSPEC% /C if exist "%SOFTWARE%\vlc\vlc-%PKG_VERSION%-win32.exe" start /wait "VLC" "%SOFTWARE%\vlc\vlc-%PKG_VERSION%-win32.exe" /S /NCRC /D="%INSTALL_PATH%"'/>
|
|
|
|
<!-- XP -->
|
|
|
|
<install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Bureau\VLC media player**"'>
|
|
|
|
<exit code="any" />
|
|
|
|
</install>
|
|
|
|
<!-- Vista / 7 -->
|
|
|
|
<install cmd='%COMSPEC% /C del /F /Q "%PUBLIC%\Desktop\VLC media player**"'>
|
|
|
|
<exit code="any" />
|
|
|
|
</install>
|
|
|
|
|
|
|
|
<upgrade include='install'/>
|
|
|
|
|
|
|
|
<downgrade include='install' />
|
|
|
|
|
|
|
|
<remove cmd='%COMSPEC% /c if exist "%INSTALL_PATH%\VideoLAN\VLC\uninstall.exe" "%INSTALL_PATH%\VideoLAN\VLC\uninstall.exe" /S _?=%INSTALL_PATH%\VideoLAN\VLC'/>
|
|
|
|
<remove cmd='%COMSPEC% /C if exist "%INSTALL_PATH%\VideoLAN\VLC" rmdir /S /Q "%INSTALL_PATH%\VideoLAN"'/>
|
|
|
|
</package>
|
|
|
|
</packages>
|