Difference between revisions of "Audacity"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m (Added category)
Line 56: Line 56:
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]
 +
[[category:Inno Setup]]

Revision as of 19:10, 9 July 2008

This is a silent installer and uninstaller for Audacity.

<?xml version="1.0" encoding="UTF-8"?>
<packages>
    <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>
</packages>

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.