Difference between revisions of "Foobar2000"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
(Update to 1.1.8)
 
Line 5: Line 5:
  
 
<source lang="xml">
 
<source lang="xml">
<package id="foobar2000" name="Foobar 2000 0.9.5.1" revision="1" priority="1">
+
<package
        <check type="uninstall" condition="exists" path="foobar2000 v0.9.5.1" />
+
  id="foobar2000"
        <install cmd="%SOFTWARE%\foobar2000\foobar2000_0.9.5.1.exe /S" />
+
  name="Foobar2000"
        <remove cmd="%PROGRAMFILES%\foobar2000\uninstall.exe /S" />
+
  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>
 
</package>
 
</source>
 
</source>
  
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]

Latest revision as of 20:58, 6 October 2011

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>