frog
asked on
The exe that isn't an exe
I have read past answers to questions about reducing the size of the compiled exe file and I will try some of the suggestions.
An even bigger problem for me is that my compiled exe isn't a stand alone exe file.
It still needs VCL30.DPL (and a couple of smaller .dpls) for it to run.
The result is that a very small application (and the dpls) won't fit on a 1.4Mb floppy.
So how do I get Delphi to put everything into the exe file?
(And of course only the bits it actually needs.)
I have looked at the compiler directives, etc, and can't find what I am doing wrong.
An even bigger problem for me is that my compiled exe isn't a stand alone exe file.
It still needs VCL30.DPL (and a couple of smaller .dpls) for it to run.
The result is that a very small application (and the dpls) won't fit on a 1.4Mb floppy.
So how do I get Delphi to put everything into the exe file?
(And of course only the bits it actually needs.)
I have looked at the compiler directives, etc, and can't find what I am doing wrong.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
upx the VCL30.DPL, I think its a dll so should compress fine with upx, alternatively try 7zip (7zip.org) for some good compression, I would suggest you use nsis2 installer if you actually need a installer it has a very low overhead.
Disable "Build with Runtime files" from project option. It will create only self executable EXE. You won't need any DPL (Delphi Package Library) anymore...
ASKER
Yes!
Thanks -mac10- and Munim,
uncheck 'Build with runtime packages' did it.
I now have one application that won't compile without the runtime packages.
It uses the Math unit.
I assume it is in a runtime package but not in a designtime package.
I have installed all DCL* in \bin and \lib but it still isn't there.
Any idea where it might be?
Thanks -mac10- and Munim,
uncheck 'Build with runtime packages' did it.
I now have one application that won't compile without the runtime packages.
It uses the Math unit.
I assume it is in a runtime package but not in a designtime package.
I have installed all DCL* in \bin and \lib but it still isn't there.
Any idea where it might be?
if there is a need for a compact exe-file
http://upx.sourceforge.net/
meikl ;-)