Changes

Vlc

1,479 bytes added, 12:26, 11 July 2013
m
32/64 bit added; package largely simplified
VLC is packaged using the [[NSIS:_Nullsoft_Scriptable_Install_System]] which means you can use the standard ISIS switches to aid installation.
== VLC for all ==
A combination of all mentioned tips and tricks in the long list of package flavours further down the page.
<source lang="xml">
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages
xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
<!-- VLC simple install ; for 32-bit and 64-bit hosts -->
<package
id='vlc'
name='VideoLAN Client'
revision='%version%-20130706'
priority='10'
reboot='false' >
<variable name="version" value="2.0.7" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\VideoLAN" architecture="x64"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\VideoLAN" architecture="x86"/>
<check type='uninstall' condition='exists' path='VLC media player %version%' />
<install include="remove"/>
<install cmd='%COMSPEC% /C start /wait "VLC" "%SOFTWARE%\VLC\vlc-%version%-win32.exe" /S /NCRC'/>
<upgrade include="install"/>
<remove cmd='%COMSPEC% /c if exist "%PKG_DESTINATION%\VLC\uninstall.exe" "%PKG_DESTINATION%\VLC\uninstall.exe" /S _?=%PKG_DESTINATION%\VLC'/>
<remove cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"'/>
</package>
</packages:packages>
</source>
== Native method by TGellan ==
36
edits