Difference between revisions of "Vlc"
From WPKG | Open Source Software Deployment and Distribution
Line 22: | Line 22: | ||
</pre> | </pre> | ||
− | Upgrade is also possible, but | + | Upgrade is also possible, but then the installer asks (not silently) to remove the old version - so it is needed to insert two <upgrade /> statements: one for remove the old one (as <remove /> above) and one for install it (as <install /> above). |
[[category:Silent Installers]] | [[category:Silent Installers]] |
Revision as of 12:09, 27 April 2007
This is the package for VLC (Video LAN Client), a multimedia player.
The second install command removes the desktop shortcut (the path may have to be changed to a localized name).
<?xml version="1.0" encoding="UTF-8"?> <packages> <package id="vlc" name="Video LAN Client" revision="1" reboot="false" priority="0"> <check type="uninstall" condition="exists" path="VideoLAN VLC media player 0.8.4a" /> <install cmd='"%SOFTWARE%\vlc\vlc-0.8.4a-win32.exe" /S' /> <install cmd='%CMD% /c del "%ALLUSERSPROFILE%\Desktop\VLC media player.lnk"' /> <remove cmd='"%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" /S' /> </package> </packages>
Upgrade is also possible, but then the installer asks (not silently) to remove the old version - so it is needed to insert two <upgrade /> statements: one for remove the old one (as <remove /> above) and one for install it (as <install /> above).