>Hi All,
>
>One of our applications is already at ~18 Meg, and includes some 60 frx's.
>What would be a good way to reduce the exe size?
>Can we and/or should we compile all the frx's into a dll?
>Any other ideas?
Sorry for coming into this so late, I was distracted elsewhere.
Depends on what you use for building the setup. I've found that Inno setup compiler has pretty good compression, and if you have the time to let it run a bit longer, can do much better. I'm using it at next-to-the-best compression, and it crunches the runtimes, about three megs of extra dlls, plus about 500 megs of data, ... a total of 530 megs altogether, into a setup.exe of just 80 megs. Keep in mind that I got a fair amount of integer fields in my tables, which don't compress so well.
A way to reduce the size of your exe nicely is to omit the debugging information when you build it. I use this bit of code for that:
MODIFY PROJECT {pjx name here} NOWAIT noshow
op=_vfp.Projects(1)
op.Debug=.f.
op.close()
RELEASE op
BUILD EXE "{full path to exe here}" FROM "{pjx name here}" recomp