Changes

Vlc

2,461 bytes added, 10:50, 17 July 2010
Undo revision 8180 by 213.5.70.184 (Talk)
VLC is packaged using the [[NSIS:_Nullsoft_Scriptable_Install_System]] which means you can use the standard ISIS switches to aid installation.
IBav5y == Native method by TGellan == This install method evolved from the Advanced method by SkyBeam and the Alternative method without forking. <a hrefsource lang="http:xml"><?xml version="1.0" encoding="UTF-8"?> <packages>  <package id='VLC' name='VideoLAN Client' revision='2' priority='40' reboot='false' > <check type='uninstall' condition='exists' path='VLC media player 1.1.0' /> <!-- In order to remove the question screen on the first start, vlcrc needs to be configured and copied to %appdata% folder for every user --> <install cmd='%COMSPEC% /wwwofngiulomc if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.comexe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/> <install cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/>wwwofngiulom <install cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-1.1.1-win32.exe" /S /NCRC /D="%ProgramFiles%"'/> <install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Desktop\VLC media player**"'/> <install cmd='%COMSPEC% /C for /d %ain ("c:\Documents and Settings\*.*") do mkdir "%a\Application Data\vlc"' />, [url <install cmd=http'%COMSPEC% /C for /d %a in ("c:\Documents and Settings\*.*") do copy /y "%SOFTWARE%\VLC\vlcrc." "%a\Application Data\vlc\."' /ecnnuhfftpwm> <upgrade cmd='%COMSPEC% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.comexe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /]ecnnuhfftpwm[S _?=%ProgramFiles%\VideoLAN\VLC'/url], [link> <upgrade cmd=http:'%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /vtxmgxfsknybS /Q "%ProgramFiles%\VideoLAN"'/> <upgrade cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-1.com1.0-win32.exe" /]vtxmgxfsknyb[S /link], httpNCRC /D="%ProgramFiles%"'/> <upgrade cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Desktop\VLC media player**"'/> <upgrade cmd='%COMSPEC% /C for /d %a in ("c:\Documents and Settings\*.*") do mkdir "%a\Application Data\vlc"' /> <upgrade cmd='%COMSPEC% /icbxfmhwvxbcC for /d %a in ("c:\Documents and Settings\*.com*") do copy /y "%SOFTWARE%\VLC\vlcrc." "%a\Application Data\vlc\."' /> <remove cmd='%COMSPEC% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/> <remove cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/> </package></packages></source> The package silently uninstalls a previous version (or the actual in case the wpkg.xml is not present) and then installs the 1.1.0 version. Afterwards a preconfigured vlcrc is copied to any user account. <BR>Minor problem: New users on the PC will not get the vlcrc automatically, thus will still be presented with the question screen on first start.
== Simple Method ==