OneFile.exe

Hi there,
I am develloping my software on many computers and will need to save
space a lot. I have a good number of projects running, each of them
has all those DLLs in their directories. On most of the PCs on which
I work I cannot install those DLLs in the system folder. And I still
need to save space. I was wondering if it was possible to install
those DLL in a defined directory and tell my file exe to look there
(ie: “…/DLLs/SDL.dll”). This way I would be left with only my dev
files in my working directory.

And another thing I was wondering, is the ability to merge those
DLLs with my file.exe. I believe this may be against the license from
SDL, but I believe if it is done in a way that somebody can actually
upgrade them, by placing them in the directory… here’s a more
graphical example of what I mean:#####
Directory:
-OneFile.exe (contains:)
-MyExec.exe
-oldSDL.dll
-more dlls
-newSDL.dll (obsoletes the imbedded oldSDL.dll)

I would be using this for an installer that needs to have only one
file, not even a readme. The program can display the license when it
starts if (legally) needed and could mention how to upgrade it etc…

Is there any way this can be acheived? I’m not good with windows and I
have no idea what can be done…

Thanks,
Simon

Hi there,
I am develloping my software on many computers and will need to save
space a lot. I have a good number of projects running, each of them
has all those DLLs in their directories. On most of the PCs on which
I work I cannot install those DLLs in the system folder. And I still
need to save space. I was wondering if it was possible to install
those DLL in a defined directory and tell my file exe to look there
(ie: “…/DLLs/SDL.dll”). This way I would be left with only my dev
files in my working directory.

If you could dynamically load DLLs, then it’s a piece of cake.
Otherwise, I don’t know if it’s possible.

And another thing I was wondering, is the ability to merge those
DLLs with my file.exe. I believe this may be against the license from
SDL, but I believe if it is done in a way that somebody can actually
upgrade them, by placing them in the directory… here’s a more
graphical example of what I mean:

Is there any way this can be acheived? I’m not good with windows and I
have no idea what can be done…

You could use existing programs, ie. http://www.molebox.com/.

Koshmaar

If you could dynamically load DLLs, then it’s a piece of cake.
Otherwise, I don’t know if it’s possible.

Even without dynamic loading, I don’t really mind recompiling the
whole thing for SDL 1.3 for example. I would my my OneFile_v1.1.exe
(now supports SDL 1.3)… But having the program check if there is a
newer file available in the directory instead of inside the program
itself would be closer to what the LGPL license wants.

Talking about license, is it possible to purchase a commercial SDL
license and avoid all the troubles of LGPL? It could be interpreted
as a donation to the organisation… that would be great!

You could use existing programs, ie. http://www.molebox.com/.

Ok, but if this program does it, certainly that gcc can do it too, to
bundle the dlls with the executables and data files (images, etc…).

Thanks,
Simon