Is there a way to generate release versions in the old Delphis directly by IDE?

1

In newer versions of Delphi we can easily generate a version of the executable for distribution just by performing the compilation by Release .

This removes several useful points for the debugger and leaves the executable smaller.

Is there a way to generate executables for distribution in older versions of Delphi? Is this configuration based?

I would like to know more about versions 6 and 7, as there are still systems in those versions in the company where I work.

We usually use UPX to get smaller executables, but how to do this directly through IDE as in newer versions?

    
asked by anonymous 29.03.2014 / 00:55

1 answer

3

I found some interesting information.

  

Delphi tb can generate smaller executables, just for this you do not   to use vcl, in this case all events must be done in the hand, as   as in masm32, such as keyboard events, mouse, screen drawing,   buttons and so on. Of course this takes time, but if the person wants a   application that is tiny, like a virus for example will not   use visual components in any way and tried in every way   as much as possible to reduce dependency on third parties by placing the   accesses on a separate unit instead of adding the whole unit.

source: ActiveDelphi . Answer by Johnny-Walker .

In this same post you have another answer, from RodrigoPrado

  

- Here in the company a common .exe would have 60.7 mb.   -we optimized it to 30.0   -then we still pack it in 7Zip using ultra-mode compression, dropping it to 4.5mb.

     

so in the end we would have a .zz file of 4.5 mb.

     

01-We use delphi 7, in Project --- Options on page DEBUGGING   uncheck all the ex: degug information, local symbols,   reference, definitions, assertions, use debug dcus. 02-on page LINKER   in the EXE AND DLL OPTION group, we have deselected the generate consolte, include   td32 debug and include remote debug simbols.

     

ai we click ok, let's shift + f to a build in the new exe, it goes   fall to less than half of the package, because in these options eh the   user we do not need to include any debug we use for   development, among other things ... .that there are only people who   develops, pro users do not need this or only receive the   pure code.

    
29.03.2014 / 15:11