Foobar2000

This is a silent installer for Foobar2000.

Foobar2000 is an advanced audio player for the Windows platform. Some of the basic features include full unicode support, ReplayGain support and native support for several popular audio formats. -- http://www.foobar2000.org/

<package
  id="foobar2000"
  name="Foobar2000"
  revision="%version%"
  reboot="false"
  priority="50">

  <variable name="version" value="1.1.8" />

  <check
    type="uninstall"
    condition="exists"
    path="foobar2000 v%version%" />
		
  <install cmd="%SOFTWARE%\foobar2000\foobar2000_v%version%.exe /S" />
  <upgrade cmd="%SOFTWARE%\foobar2000\foobar2000_v%version%.exe /S" />
  <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\foobar2000\uninstall.exe" "%PROGRAMFILES%\foobar2000\uninstall.exe" /S' />
  <remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(X86)%\foobar2000\uninstall.exe" "%PROGRAMFILES(X86)%\foobar2000\uninstall.exe" /S' />
</package>