Audacity

From WPKG | Open Source Software Deployment and Distribution

Jump to: navigation, search

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>

[edit] Installer type

Audacity uses Inno Setup.

Retrieved from "http://wpkg.org/Audacity"
Personal tools