Difference between revisions of "Audacity"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Added category)
m (We don't gain anything worthwhile enough by removing the leftover program directory itself that make it worth complicating these instructions with a ping to self etc; + some minor edits)
Line 1: Line 1:
This is a silent installer and uninstaller for Audacity.
+
Audacity is an audio editor.
 +
This is a silent installer and uninstaller for Audacity (1.2 series).
 +
 
 +
== Packaging For Audacity ==
  
 
<source lang="xml">
 
<source lang="xml">
Line 7: Line 10:
 
         id="audacity"
 
         id="audacity"
 
         name="Audacity 1.2.4"
 
         name="Audacity 1.2.4"
         revision="1"
+
         revision="2"
 
         reboot="false"
 
         reboot="false"
 
         priority="0">
 
         priority="0">
Line 20: Line 23:
 
</packages>
 
</packages>
 
</source>
 
</source>
If you want to use LAME encoder, put lame-3.96.1 to %SOFTWARE%\audacity\.
 
  
Then, the audacity.xml file should look like that:
+
== Packaging For Audacity with LAME ==
 +
 
 +
If you want to use LAME encoder (for MP3), copy lame-3.96.1 to %SOFTWARE%\audacity\.
 +
 
 +
Then, the audacity.xml file should look like this:
 
<source lang="xml">
 
<source lang="xml">
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
Line 30: Line 36:
 
     <package
 
     <package
 
         id="audacity"
 
         id="audacity"
         name="audacity 1.2.6 + lame"
+
         name="audacity + lame"
         revision="1"
+
         revision="2"
 
         priority="1">
 
         priority="1">
  
 
         <check type="uninstall" condition="exists" path="Audacity 1.2.6" />
 
         <check type="uninstall" condition="exists" path="Audacity 1.2.6" />
  
         <install cmd='%SOFTWARE%\audacity\\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
+
         <install cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
         <install cmd='cmd /C xcopy "%SOFTWARE%\audacity\\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />
+
         <install cmd='cmd /C xcopy "%SOFTWARE%\audacity\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />
  
  
 
<remove  cmd='"%PROGRAMFILES%\Audacity\unins000.exe" /verysilent' />
 
<remove  cmd='"%PROGRAMFILES%\Audacity\unins000.exe" /verysilent' />
<remove  cmd='ping -n 3 127.0.0.1' />
 
<remove  cmd='cmd /C rd "%PROGRAMFILES%\Audacity" /s /q' />
 
  
         <upgrade cmd='%SOFTWARE%\audacity\\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
+
         <upgrade cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
         <upgrade 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' />
  
 
     </package>
 
     </package>

Revision as of 14:45, 27 October 2008

Audacity is an audio editor. This is a silent installer and uninstaller for Audacity (1.2 series).

Packaging For Audacity

<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <package
        id="audacity"
        name="Audacity 1.2.4"
        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>

Packaging For Audacity with LAME

If you want to use LAME encoder (for MP3), copy lame-3.96.1 to %SOFTWARE%\audacity\.

Then, the audacity.xml file should look like this:

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

<packages>

    <package
        id="audacity"
        name="audacity + lame"
        revision="2"
        priority="1">

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

        <install cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
        <install cmd='cmd /C xcopy "%SOFTWARE%\audacity\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />


	<remove  cmd='"%PROGRAMFILES%\Audacity\unins000.exe" /verysilent' />

        <upgrade cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /verysilent /norestart' />
        <upgrade cmd='cmd /C xcopy "%SOFTWARE%\audacity\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />

    </package>

</packages>

Installer type

Audacity uses Inno Setup.