577
edits
Changes
Vlc
,→Simple method
priority="0">
<check type="uninstall" condition="exists" path="VideoLAN VLC media player 0.89.4a2" /> <install cmd='"%SOFTWARE%\vlc\vlc-0.89.4a2-win32.exe" /S' />
<install cmd='%CMD% /c del "%ALLUSERSPROFILE%\Desktop\VLC media player.lnk"' />
<remove cmd='"%PROGRAMFILES%\VideoLAN\VLC\uninstall.exe" /S' />
</source>
Upgrade is also possible, but then there are issues. See the installer asks (not silently) advanced method for how 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)achieve this.
== Advanced method by SkyBeam ==