Difference between revisions of "Audacity"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 9: Line 9:
 
         priority="0">
 
         priority="0">
 
   
 
   
         <check type="uninstall" condition="exists" path="Audacity 1.2.4" />
+
         <check type="uninstall" condition="exists" path="Audacity 1.2.6" />
 
   
 
   
         <install cmd='%SOFTWARE%\audacity\audacity-win-1.2.4b.exe /sp- /silent /norestart' />
+
         <install cmd='%SOFTWARE%\audacity\audacity-win-1.2.6.exe /sp- /silent /norestart' />
 
   
 
   
 
         <remove  cmd='%PROGRAMFILES%\Audacity\unins000.exe /silent' />
 
         <remove  cmd='%PROGRAMFILES%\Audacity\unins000.exe /silent' />
Line 17: Line 17:
 
     </package>
 
     </package>
  
 +
If you want to use LAME encoder, put lame-3.96.1 to %SOFTWARE%\audacity\.
 +
 +
Then, the audacity.xml file should look like that:
 +
<pre>
 +
<?xml version="1.0" encoding="UTF-8"?>
 +
 +
<packages>
 +
 +
    <package
 +
        id="audacity"
 +
        name="audacity 1.2.6 + lame"
 +
        revision="1"
 +
        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' />
 +
<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='cmd /C xcopy "%SOFTWARE%\audacity\\lame-3.96.1" "%PROGRAMFILES%\Audacity\lame-3.96.1\" /S /E /Y /Q' />
 +
 +
    </package>
 +
 +
</packages>
 +
</pre>
  
 
== Installer type ==
 
== Installer type ==

Revision as of 15:42, 18 January 2007

This is a silent installer and uninstaller for Audacity.


   <package
       id="audacity"
       name="Audacity 1.2.4"
       revision="1"
       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>

If you want to use LAME encoder, put lame-3.96.1 to %SOFTWARE%\audacity\.

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

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

<packages>

    <package
        id="audacity"
        name="audacity 1.2.6 + lame"
        revision="1"
        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' />
	<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='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.