How do I make an installer after a successfull compiling

Building and customizing Audacity from the source code.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
cmjone
Posts: 96
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

How do I make an installer after a successfull compiling

Post by cmjone » Sun Jul 08, 2012 2:06 pm

Hello:

I need some advise as to how to make an installer for audacity after I successfully compiled the source code. I recompiled Audacity because I wanted to incorporate ASIO with 2.0.1 version. First of all I need to tell you that I do not have experience in this type of programming. So please do not just give me a very simple descriptopm with a lot of the technical stuff that a competent programmer should have known already. I compiled 2.0.1 according to the instructions by Edgar who has a posting in this forum. The link is in the compiling error for libsndfile. I got 25 successes, 0 errors, 0 skips and 0 up to date. However, I had a lot of warnings, like type mismatch, integer/float/bolean, etc. I have a Windows 7, ultimate, 32 bit box. Now, I need to install this re-compiled version to my computer. How do I do it? Please specify any further software, download links, etc.

Thank you.

P.S. I found this link, http://wiki.audacityteam.org/wiki/Release_Process/Win, but it is not very helpful because I do not have experience in this type of programming. I've never created any installer before.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How do I make an installer after a successfull compiling

Post by steve » Sun Jul 08, 2012 6:00 pm

I've not compiled in Windows, but I don't think that you need to make an installer just to run Audacity. As far as I'm aware you should be able to run Audacity from the build directory. Have you tried running your fresh build of Audacity?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

cmjone
Posts: 96
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: How do I make an installer after a successfull compiling

Post by cmjone » Sun Jul 08, 2012 6:36 pm

Hello:

I have not because I do not know that. There are many files in the Build directory and which one should I click to run. In addtion, I would like to transfer the new compilation to my second computer to record music. In this case, do I need to build the installer?

Thanks.

steve
Site Admin
Posts: 80677
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: How do I make an installer after a successfull compiling

Post by steve » Sun Jul 08, 2012 7:12 pm

If Audacity has built correctly there will be a file called "audacity.exe". That is the "executable" file and you should be able to run it by double clicking on it.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ragnar.jensen
Posts: 118
Joined: Thu Jan 26, 2012 7:39 pm
Operating System: Please select

Re: How do I make an installer after a successfull compiling

Post by ragnar.jensen » Sun Jul 08, 2012 7:43 pm

Building an installer is fairly straight-forward. No programming is necessary, the developers have already taken care of that.
Download and install the latest Unicode Inno Setup QuickStart Pack self-installing package. (http://www.jrsoftware.org/download.php/ ... nicode.exe).
During the installation of Inno Setup, answer yes to any extras the installation suggests to download.

In the "win" directory of the source tree, you'll find the file audacity.iss:
AudacityInstallerScript.png
InnoIDE installer creation script for Audacity
AudacityInstallerScript.png (95.19 KiB) Viewed 5302 times
Double-click on it and the Inno Setup installer creator will start up:
InnoIDECompile.png
InnoIDE installer creator
InnoIDECompile.png (69.09 KiB) Viewed 5302 times
Click on the compile button (the button the mouse pointer is resting on in the picture above) or press Ctrl+F9.

Inno Setup builds the Audacity installer and places the result in the winOutput directory:
AudacityInstaller.png
Audacity installer
AudacityInstaller.png (54.23 KiB) Viewed 5302 times
That's all there's to it.

--
Ragnar

cmjone
Posts: 96
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: How do I make an installer after a successfull compiling

Post by cmjone » Sun Jul 08, 2012 8:52 pm

Hello:

There is no Build directory in the source code file after compiling and I could not find any audacity.exe anywhere. I will try to make an executable for audacity using the recommendation from another viewer.

Thanks.

ragnar.jensen
Posts: 118
Joined: Thu Jan 26, 2012 7:39 pm
Operating System: Please select

Re: How do I make an installer after a successfull compiling

Post by ragnar.jensen » Mon Jul 09, 2012 7:32 am

cmjone wrote: I got 25 successes, 0 errors, 0 skips and 0 up to date.
Excellent! That means that the build has succeeded.
You should find the Audacity executable audacity.exe in the winUnicode Release directory.
cmjone wrote: However, I had a lot of warnings, like type mismatch, integer/float/bolean, etc.
This is normal.

--
Ragnar

cmjone
Posts: 96
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: How do I make an installer after a successfull compiling

Post by cmjone » Tue Jul 10, 2012 12:49 am

Hello Ragnar:

I found the .exe file and it worked. Thank you. I have another question. What is the difference between opening Audacity by using .exe and install Audacity first by using an installer? As a matter of fact, I want to install Audacity to another computer to record music. In this case, is an installable version a better choice to move Audacity to another computer? Or I can just copy the compiled source code and paste it to another computer.

At this time, the choice I have for the drivers are MME and Windows directive sound driver. But I did not see ASIO. Do I need to download this driver first? I know I do not have this driver installed right now. Before the compilation, I did download all the "Steinberg Stuff" from their site, so the capability using ASIO should be with this new compiled version. Is my assumption correct"

Thanks.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: How do I make an installer after a successfull compiling

Post by Gale Andrews » Tue Jul 10, 2012 4:12 am

cmjone wrote:What is the difference between opening Audacity by using .exe and install Audacity first by using an installer? As a matter of fact, I want to install Audacity to another computer to record music. In this case, is an installable version a better choice to move Audacity to another computer? Or I can just copy the compiled source code and paste it to another computer.
If you are not replacing an existing installation of Audacity there is little benefit from installing. The installation creates a file association for .aup Audacity project files. If you do not install Audacity then on first run you will be asked if you want to associate .aup files with Audacity. Either way you can move the .exe installer or a folder containing all the following to the new computer

audacity.exe
EQDefaultCurves.xml
Languages
LICENSE.txt
Microsoft.VC90.CRT.manifest
modules
msvcp90.dll
msvcr90.dll
nyquist
plug-ins
README.txt
wxbase28u_net_vc_custom.dll
wxbase28u_vc_custom.dll
wxmsw28u_adv_vc_custom.dll
wxmsw28u_core_vc_custom.dll
wxmsw28u_html_vc_custom.dll

This assumes you built Unicode Release. If you built Unicode Debug, the widgets dll's will have "28ud" in their name, not "28u".
cmjone wrote:At this time, the choice I have for the drivers are MME and Windows directive sound driver. But I did not see ASIO. Do I need to download this driver first? I know I do not have this driver installed right now. Before the compilation, I did download all the "Steinberg Stuff" from their site, so the capability using ASIO should be with this new compiled version. Is my assumption correct"
To be precise you have to install the ASIO SDK from Steinberg (http://www.steinberg.net). Select Company, then Developer.

If you defined an environment variable called ASIOSDK_DIR pointing to the base directory of the ASIO SDK and received no related errors then you will see the ASIO host when you have connected an ASIO enabled sound device, or are using third-party ASIO drivers like ASIO4ALL.

Please note that if you built Audacity with ASIO support you must not distribute it (or the installer) to anyone else.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

cmjone
Posts: 96
Joined: Fri Jul 06, 2012 12:00 am
Operating System: Windows 10

Re: How do I make an installer after a successfull compiling

Post by cmjone » Wed Jul 11, 2012 1:41 am

Thank you guys for all the information. That is all the questions I have for now. I will play around with it for a few days and I might have more questions later on. When I do, I will come back.

Post Reply