[sldev] [HELP] How do I create an installer/setup file?

Ambrosia chaosstar at gmail.com
Thu Dec 4 02:17:00 PST 2008


On Thu, Dec 4, 2008 at 10:50, karen.chow <karen.chow at clicksandlinks.com> wrote:
> Hi,
>
>
>
> I have made some changes to the SL viewer source code and successfully
> compiled it using Visual C++ 2005 Express Edition. I have followed the wiki
> to compile my code, and I have built it using RelWithDebInfo, and my startup
> project is secondlife-bin. How do I create an installer/setup file for my
> viewer? Also, which files do I need to include with my installer/setup file?


Try this:

http://www.innosetup.com/isinfo.php

> Also, when I double-click on secondlife-bin.exe, I get the error below. Is
> this not the exe file for my compiled code? It runs if I use the debug
> option on Visual C++ 2005 Express Edition.
>
>
>
> ERROR: LLAppViewer::initConfiguration: Cannot load default configuration
> file
>
> C:\...\linden\indra\build-VC80\newview\relwithdebinfo\app_settings\settings_files.xml
>

Basically, after compiling, do the following:

* copy all files in
C:\...\linden\indra\build-VC80\newview\relwithdebinfo\* into a shiny
new folder somewhere on your harddrive.

* from the indra\newview folder, copy the following:

- all .dll files
- the skins, character, app_settings and fonts folders
- all .txt files that have the word 'feature' in them. should be 5 or 6.

Change to that folder and try again :> Basically after a compile, the
files aren't quite yet where they should be for running the viewer.

Note: you can't pack and distribute your viewer with llkdu.dll, the
fonts folder, and anything *vivox*


If you want to run the viewer from -within- visual studio (green arrow
icon thingie), you need to copy the above files from the indra\newview
into the C:\...\linden\indra\build-VC80\newview\ folder, and after
clicking said icon select the secondlife-bin.exe in your
\relwithdebinfo\ folder.

Hope that helps.


More information about the SLDev mailing list