Audacity

This is a silent installer and uninstaller for Audacity, a free software audio editor available from http://audacity.sourceforge.net/. Audacity is free software and cross-platform.

Audacity needs Visual Cpp Redistributable 2008 to be installed.

Packaging For Audacity 2.0 series

The 2.x is the earliest release at this time. The below wpkg allows to install both Audacity and latest Lame plugin.


<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
	id="audacity"
	name="audacity"
	revision="%version%"
	priority="1">

	<variable architecture="x86" name="PROGFILES" value="%PROGRAMFILES%" />
	<!-- This is a 32-bit program -->
	<variable architecture="x64" name="PROGFILES" value="%PROGRAMFILES(X86)%" />

        <variable name="version" value="2.0.3" />
 
        <depends package-id="vc-runtime-2008" />

        <check type="uninstall" condition="exists" path="Audacity %version%" />

        <install cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />

        <upgrade cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />

        <remove timeout="300" cmd='%PROGFILES%\Audacity\unins000.exe /verysilent' />
</package>
</packages>


LAME

<?xml version="1.0" encoding="UTF-8"?>

<packages>

<package
	id="lame"
	name="lame"
	revision="%version%"
	priority="1">

	<variable architecture="x86" name="PROGFILES" value="%PROGRAMFILES%" />
	<!-- This is a 32-bit program -->
	<variable architecture="x64" name="PROGFILES" value="%PROGRAMFILES(X86)%" />

        <variable name="lame_version" value="3.99.3" />
 
        <check type="uninstall" condition="exists" path="LAME v%lame_version%.*" />

        <install cmd='%SOFTWARE%\lame\Lame_v%lame_version%_for_Windows.exe /sp- /verysilent /norestart' />

        <upgrade cmd='%SOFTWARE%\lame\Lame_v%lame_version%_for_Windows.exe /sp- /verysilent /norestart' />

        <remove timeout="300" cmd='%PROGFILES%\Lame for Audacity\unins000.exe /verysilent' />
</package>
</packages>