xanax for sleep reviews 2mg xanax order soma no rx needed cod accepted pill soma phentermine and picture cheap phentermine xa0 tramadol tramadol total buying tramadol tramadol identification mallinckrodt pharmaceuticals tramadol hydrochloride tablets buy online prescription viagra viagra professional 100mg buy purchase viagra fast delivery pills wanted cialis professional cialis pharmacy order ambien saturday delivery ambien 10mg overnight buy valium valium no prescription overnight fioricet next day no prescription needed fioricet side effects manufacturer cheapest diet meridia pill price cheap meridia overnight saturday delivery purchase zithromax no dr prescription online buy zithromax without prescription pay cod adipex p how it works adipex order canadian pharmacy levitra overnight no script mastercard accepted where to buy generic levitra online without a prescription zolpidem by cod buy zolpidem no prescription xanax online without prescription buy xanax overnight soma overnight delivery buy soma no prescription order phentermine without prescription phentermine online no rx buy tramadol hcl tramadol online no prescription viagra online order order viagra online no rx cheapest cialis buy cheap cialis online purchase ambien online buy cheapest ambien Cheap online valium no-presription buy Valium on line without a rx fioricet online overnight fioricet 37.5 mg online consultation free cheap Meridia no rx ordering Meridia online without a prescription cheap generic xanax buy xanax cod overnight buy soma online without dr approval soma no rx foreign buy phentermine online in the uk phentermine 37.5mg blue and white tab tramadol classified drug tramadol overdose resumption can you order viagra from a canadian pharmacy how do i order viagra online cialis overnight us pharmacy generic cialis pills and generic viagra buy ambien online overnight buy online rx ambien without buy liquid valium online Valium how much can you take fioricet online uk how to get a doctor to prescript fioricet cheap meridia by fedex cod meridia overnight fedex

Installing Audacity and LAME in one step

Filed Under (Technology) by User ImageCris Harshman on 18-04-2007

Tagged Under : , , , , , , , , , , , , , , , ,


A friend recently had an interesting problem - he wants to promote the use of podcasts to instructors as a component of courses taught online, and identified the excellent, open-source Audacity as their Windows tool of choice. However, as he began writing documentation for installing and using Audacity, he realized many instructors would be immediately turned off by the complicated installation process required to set Audacity up for exporting projects as mp3 files - many instructors who could otherwise be taught how to record and save projects would not understand how to unzip LAME, copy the DLL file into Audacity’s folder, then point Audacity to the lame encoder. Instead of writing thorough documentation that would likely daunt non-savvy instructors, I suggested an alternative - creating our own installer. It worked so well, I thought others might benefit from the idea.

First, a word about licensing.
I originally wanted to provide the one-step Audacity/LAME installer as a downloadable file, but started reconsidering after looking into license issues. Audacity and LAME are themselves covered by GPL/LGPL and therefore are re-distributable; however, I can’t tell what the SetupStream license terms are, and the patent mess covering the mp3 format may prevent distributing a package that installs Audacity with built-in mp3 output. Since I can’t really tell, I listed the steps required to make your own installer, and you can choose how you use or distribute it.

Step 1
First, I downloaded the tools I’d need. Since I was creating a custom installer, I needed the zipped version of Audacity, not their installer. Additionally, I needed LAME and an installation creator with the ability to insert registry keys. After trying a couple install creators, I chose SetupStream - it’s easy to use, freeware and offers a wide array of features, including all those I need.

Step 2
Next, some preliminary steps: unzip Audacity into its own folder, then unzip the file lame_enc.dll from the LAME zip file into the the same folder that contains Audacity.exe. Install and start SetupStream, select Create New Setup and click Next.

setupstream step2

Step 3
SetupStream now prompts for basic program information - enter at least the program name and version, select Announce as Application (I’ll explain more about this feature later) and click Next.

setupstream step3

Step 4
Now we add the files to be installed. Due to a quirk with SetupStream, to maintain folder structure each sub-folder has to be independently added to the project; otherwise, all files in sub-folders will be installed into one main root folder. We’ll start with the files contained in the main Audacity folder: click Add, enter <Install Root>\ in Destination Folder, click Browse and Add Folder Content, then select the folder containing our unzipped Audacity files and click OK. SetupStream will prompt to include files in subdirectories, click No Change the text in Destination Folder to <Install Root>\Languages, click Browse and Add Folder Content, then select the Languages subdirectory in our unzipped Audacity folder, and click No to prevent subdirectories from being included. Repeat the process for the Nyquist and Plug-ins subdirectories, first changing the text in Destination Folder then adding the files. When finished, click OK then Next.

setupstream step4

Step 5
SetupStream now prompts for any registry changes the installer should include. Audacity stores the location for the lame encoder (the lame_enc.dll file) in the registry; if that registry key doesn’t exist, Audacity will prompt the user for this file. By inserting this registry key as part of the installation process, the end-user suffers one less confusing step. Click Add, then select or type the following values:

  • Root: HKEY_CURRENT_USER
  • Path: \Software\Audacity\Audacity\MP3\
  • Key: MP3LibPath
  • Value: C:\\Program Files\\Audacity\\lame_enc.dll
  • Type: String

setupstream step 5asetupstream step5b

Step 6
SetupStream now prompts for a License Agreement - you can leave this blank.

setupstream step6

Step 7
SetupStream now prompts for Windows Compatability and whether to Require Reboot. Leave All Versions checked and Require Reboot unchecked, then click Next.

setupstream step7

Step 8
SetupStream next prompts for the Default Destination Folder - enter <ProgramFiles>\<AppName>, leave Enable Serial Checking unchecked and click Next.

setupstream step8

Step 9
SetupStream now prompts for start-up shortcuts. In my opinion, it’s a good idea to at least insert a short-cut on the Start > Programs menu, as most computer users look there for programs, and possibly also on the Desktop. To avoid cluttering a user’s Desktop, I instructed SetupStream to add a short-cut only on the Start menu by clicking Add, then selecting or entering the following values:

  • Location: <StartMenu>\<AppName>
  • Target: <InstallRoot>\audacity.exe
  • Parameters: left this value blank
  • Caption: Audacity
  • User-specific Short-cut Icon: left this value unchecked and blank

setupstream step9asetupstream step9b

Step 10
SetupStream now prompts for any DLL or OCX files to register - leave this blank.

setupstream step10

Step 11
SetupStream now prompts for any Additional Commands to execute post-installation or pre-uninstallation. Leave these blank.

setupstream step11

Step 12
SetupStream next prompts for the location and type of install file to create. I directed the finished installer to a folder on my desktop, chose Web as the installation type (CD will create a root folder complete with autorun.ini file) and left Unattended Setup blank. Click Next to compile the installer, Finish to exit the program and enjoy your new, easy-to-use Audacity and LAME installer!

setupstream step12asetupstream step12b

Screenshots of the resulting installation program:

setupstream finished1setupstream finished2setupstream finished3setupstream finished4

Thank you for visiting The Life Ledger. If you enjoyed this article, check out the related posts below and subscribe to our feed.

Rate this:
2.9

No related posts.

Comments:

16 Responses to “Installing Audacity and LAME in one step”


  1. good.
    interesting to know how easy to create installer for win32 app

    Rate this:
    2.5

  2. To those reading this page in the future:

    The SetupStream Windows setup application used here is very outdated. Use another free application called INNO SETUP. It does a much better job of installing software (works with sub-folders too).

    Rate this:
    3.5

  3. Решил добавить RSS и получать новости, мне лично понравилось, что написал автор


  4. Добавлю в избранное, написано не плохо


  5. Достаточно интересная статья. Думаю стоит добавить в избранное для дальнейшего изучения


  6. Давно искал подобный материал, перерыл весь инет, а тут на тебе. Благодарю автора


  7. Автор явно умеет привлечь посетителей на сайт). Пишет очень понятно и интересно. Огромное человеческое спасибо


  8. Для более подробного и внимательного изучения добавил в избранное. Буду изучать


  9. Автор, можно с вами познакомиться?


  10. Не увидел нотки благодарности за этот материал в комментариях. Скажу тогда сам:
    автору огромная благодарность


  11. Интересно, а почему Вы пришли именно к этому выводу?


  12. Неплохой ресурсик, буду постоянно пользоваться, при условии постоянного обновления.


  13. что-то в этом есть, безусловно


  14. You are not right. I can prove it. Write to me in PM.
    It is remarkable, it is an amusing phrase
    And you so tried to do?
    I apologise, but, in my opinion, you are not right. Let’s discuss it. Write to me in PM, we will talk.
    In my opinion you commit an error. I can prove it. Write to me in PM.


  15. Спасибо за информацию. На нашем сайте также ролики любой тематики - от музыки до полезных советов.


  16. Такое можно обсудить и по аське, а не засирать страницу.

Leave a Reply