Difference between revisions of "Audacity"
(fix Lame installation, add x64 remove commands and add download links for current version) |
(depends) |
||
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. | ||
+ | |||
+ | Audacity needs [[Visual Cpp Redistributable]] 2008 to be installed. | ||
== Packaging For Audacity 2.0 series == | == Packaging For Audacity 2.0 series == | ||
Line 16: | Line 18: | ||
priority="1"> | priority="1"> | ||
− | <variable name="version" value="2.0. | + | <variable name="version" value="2.0.3" /> |
<variable name="lame_version" value="3.99.3" /> | <variable name="lame_version" value="3.99.3" /> | ||
<!-- http://audacity.googlecode.com/files/audacity-win-%version%.exe" | <!-- http://audacity.googlecode.com/files/audacity-win-%version%.exe" | ||
http://lame1.buanzo.com.ar/Lame_v%lame_version%_for_Windows.exe" --> | http://lame1.buanzo.com.ar/Lame_v%lame_version%_for_Windows.exe" --> | ||
+ | |||
+ | <depends package-id="vc-runtime-2008" /> | ||
<check type="uninstall" condition="exists" path="Audacity %version%" /> | <check type="uninstall" condition="exists" path="Audacity %version%" /> |
Revision as of 09:57, 13 February 2013
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.
Contents
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="%version%"
priority="1">
<variable name="version" value="2.0.3" />
<variable name="lame_version" value="3.99.3" />
<!-- http://audacity.googlecode.com/files/audacity-win-%version%.exe"
http://lame1.buanzo.com.ar/Lame_v%lame_version%_for_Windows.exe" -->
<depends package-id="vc-runtime-2008" />
<check type="uninstall" condition="exists" path="Audacity %version%" />
<check type="uninstall" condition="exists" path="LAME v%lame_version%.*" />
<install cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />
<install cmd='%SOFTWARE%\audacity\Lame_v%lame_version%_for_Windows.exe /sp- /verysilent /norestart' />
<upgrade cmd='%SOFTWARE%\audacity\audacity-win-%version%.exe /sp- /verysilent /norestart' />
<upgrade cmd='%SOFTWARE%\audacity\Lame_v%lame_version%_for_Windows.exe /sp- /verysilent /norestart' />
<remove timeout="300" architecture="x86" cmd='%PROGRAMFILES%\Audacity\unins000.exe /verysilent' />
<remove timeout="300" architecture="x86" cmd='%PROGRAMFILES%\Lame for Audacity\unins000.exe /verysilent' />
<remove timeout="300" architecture="x64" cmd='%PROGRAMFILES(x86)%\Audacity\unins000.exe /verysilent' />
<remove timeout="300" architecture="x64" cmd='%PROGRAMFILES(x86)%\Lame for Audacity\unins000.exe /verysilent' />
</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>
/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' />