Difference between revisions of "Audacity"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(added hint for installation without desktop shortcut)
(Audacity 2.0)
Line 1: Line 1:
 
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.
 
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.
 +
 +
== 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.
 +
 +
 +
<source lang="xml">
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
 +
<packages>
 +
 +
<package
 +
id="audacity"
 +
name="audacity + lame"
 +
revision="202"
 +
priority="1">
 +
 +
<check type="uninstall" condition="exists" path="Audacity 2.0.2" />
 +
 +
<install cmd='%SOFTWARE%\logiciels\audacity-win-2.0.2.exe /sp- /verysilent /norestart' />
 +
<!--install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\"' /-->
 +
<install cmd='%COMSPEC% /C xcopy "%SOFTWARE%\logiciels\Lame_v3.99.3_for_Windows.exe" "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\" /S /E /Y /Q' />
 +
 +
<upgrade cmd='%SOFTWARE%\logiciels\audacity-win-2.0.2.exe /sp- /verysilent /norestart' />
 +
<!--upgrade cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\"' /-->
 +
<upgrade cmd='%COMSPEC% /C xcopy "%SOFTWARE%\logiciels\Lame_v3.99.3_for_Windows.exe" "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\" /S /E /Y /Q' />
 +
 +
 +
<remove  cmd='"%PROGRAMFILES%\Audacity\unins000.exe" /verysilent' />
 +
<remove  cmd='%COMSPEC% /C rmdir /q /s "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3 >NUL' >
 +
<exit code="2" />
 +
</remove>
 +
 +
 +
</package>
 +
 +
</packages>
 +
</source>
 +
 +
 +
 +
== Audacity 1.x series ==
  
 
The 1.2 series is very old, having received minor updates over the years. The 1.3 series has for a very long time been in development with only a beta version available. However the authors say of the 1.3 Beta "This is our active version with the latest features and fixes. We recommend this version for more advanced users, and for everyone on Windows 7, Windows Vista". As an example of the move to version 1.3, Ubuntu ships 1.3 rather than 1.2.
 
The 1.2 series is very old, having received minor updates over the years. The 1.3 series has for a very long time been in development with only a beta version available. However the authors say of the 1.3 Beta "This is our active version with the latest features and fixes. We recommend this version for more advanced users, and for everyone on Windows 7, Windows Vista". As an example of the move to version 1.3, Ubuntu ships 1.3 rather than 1.2.

Revision as of 15:05, 29 August 2012

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.

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 + lame"
	revision="202"
	priority="1">

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

	<install cmd='%SOFTWARE%\logiciels\audacity-win-2.0.2.exe /sp- /verysilent /norestart' />
	<!--install cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\"' /-->
	<install cmd='%COMSPEC% /C xcopy "%SOFTWARE%\logiciels\Lame_v3.99.3_for_Windows.exe" "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\" /S /E /Y /Q' />

	<upgrade cmd='%SOFTWARE%\logiciels\audacity-win-2.0.2.exe /sp- /verysilent /norestart' />
	<!--upgrade cmd='%COMSPEC% /C mkdir "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\"' /-->
	<upgrade cmd='%COMSPEC% /C xcopy "%SOFTWARE%\logiciels\Lame_v3.99.3_for_Windows.exe" "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3\" /S /E /Y /Q' />


	<remove  cmd='"%PROGRAMFILES%\Audacity\unins000.exe" /verysilent' />
	<remove  cmd='%COMSPEC% /C rmdir /q /s "%PROGRAMFILES%\Audacity\libmp3lame-3.99.3 >NUL' >
		<exit code="2" />
	</remove>


</package>

</packages>


Audacity 1.x series

The 1.2 series is very old, having received minor updates over the years. The 1.3 series has for a very long time been in development with only a beta version available. However the authors say of the 1.3 Beta "This is our active version with the latest features and fixes. We recommend this version for more advanced users, and for everyone on Windows 7, Windows Vista". As an example of the move to version 1.3, Ubuntu ships 1.3 rather than 1.2.

Packaging For Audacity 1.2 series

Audacity uses Inno Setup.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <package
        id="audacity"
        name="Audacity"
        revision="2"
        reboot="false"
        priority="0">
 
        <check type="uninstall" condition="exists" path="Audacity 1.2.6" />
 
        <install cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /silent /norestart' />
 
        <remove  cmd='%PROGRAMFILES%\Audacity\unins000.exe /silent' />
 
    </package>
</packages>


Installing Audacity without desktop shortcut:
/MERGETASKS="!desktopicon"


Including LAME

If you want to use the LAME encoder (for MP3), copy lame-3.96.1 to %SOFTWARE%\audacity\ and add the following after the Audacity installer has run:

        <install cmd='cmd /C xcopy "%SOFTWARE%\audacity\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />

        <upgrade cmd='cmd /C xcopy "%SOFTWARE%\audacity\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />