Changes
Vlc
,→Native method by TGellan
<package id='VLC' name='VideoLAN Client' revision='2' priority='40' reboot='false' >
<check type='uninstall' condition='exists' path='VLC media player 1.1.14' />
<!-- Uninstall if necessary and install new version -->
<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.14-win32.exe" /S /NCRC /D="%ProgramFiles%"'/>
<!-- Remove desktop shortcut. WARNING: 'Desktop' directory is for English Windows localization. Replace as needed. -->
<install cmd='%COMSPEC% /C del /F /Q "%ALLUSERSPROFILE%\Desktop\VLC media player**"'/>
<!-- 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 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.14-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 copy /y "%SOFTWARE%\VLC\vlcrc." "%a\Application Data\vlc\."' />