Changes

Jump to: navigation, search

Vlc

117 bytes removed, 15:28, 24 June 2010
version 1.1.0 + the more usefull at the begining
[http://www.videolan.org/vlc/ VLC] (VideoLAN Client) is a multimedia player. It plays a very wide range of audio and video and DVD.
 
For security reasons you are encouraged to update to version 0.9.8a: http://www.videolan.org/security/sa0811.html.
VLC is packaged using the [[NSIS:_Nullsoft_Scriptable_Install_System]] which means you can use the standard ISIS switches to aid installation.
== Native method by TGellan ==
 
This install method evolved from the Advanced method by SkyBeam and the Alternative method without forking.
 
<source lang="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% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/>
<install cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/>
<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 %a in ("c:\Documents and Settings\*.*") do mkdir "%a\Application Data\vlc"' />
<install cmd='%COMSPEC% /C for /d %a in ("c:\Documents and Settings\*.*") do copy /y "%SOFTWARE%\VLC\vlcrc." "%a\Application Data\vlc\."' />
<upgrade cmd='%COMSPEC% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/>
<upgrade cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/>
<upgrade cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-1.1.0-win32.exe" /S /NCRC /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% /C for /d %a in ("c:\Documents and Settings\*.*") 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 ==
</source>
Note that there must not be spaces around the path that follows _?=
 
== Native method by TGellan ==
 
This install method evolved from the Advanced method by SkyBeam and the Alternative method without forking.
 
<source lang="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.0.3' />
<!-- 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% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/>
<install cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/>
<install cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-1.0.3-win32.exe" /S /NCRC /D="%ProgramFiles%"'/>
<install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Desktop\VLC media player**"'/>
<install cmd='%COMSPEC% /C for /d %a in ("c:\Documents and Settings\*.*") do mkdir "%a\Application Data\vlc"' />
<install cmd='%COMSPEC% /C for /d %a in ("c:\Documents and Settings\*.*") do copy /y "%SOFTWARE%\VLC\vlcrc." "%a\Application Data\vlc\."' />
<upgrade cmd='%COMSPEC% /c if exist "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S _?=%ProgramFiles%\VideoLAN\VLC'/>
<upgrade cmd='%COMSPEC% /C if exist "%ProgramFiles%\VideoLAN\VLC" rmdir /S /Q "%ProgramFiles%\VideoLAN"'/>
<upgrade cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-1.0.3-win32.exe" /S /NCRC /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% /C for /d %a in ("c:\Documents and Settings\*.*") 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.0.3 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.
[[category:Silent Installers]]
[[category:Security Advisories]]
11
edits

Navigation menu