[DUG] How to reduce size of Delphi XE2/DevExpress compiled exe?

Jeremy Coulter jscoulter at gmail.com
Thu Aug 23 21:31:13 NZST 2012


You could also use UPXG which compresses and does some other bits and pieces
to the exe to make it smaller.
I have used it for at least 8 years and never had a problem. A 19mb exe goes
to just over 6mb!

Jeremy C.

-----Original Message-----
From: delphi-bounces at listserver.123.net.nz
[mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Robo
Sent: Thursday, 23 August 2012 17:25
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] How to reduce size of Delphi XE2/DevExpress compiled exe?

Thanks, do you know exactly where that is?

Is it Component > Install Packages, then un-tick all the 'ExpressSkins
Library Uses Clause AutoFill Helper'?

Robo

On Thu, Aug 23, 2012 at 5:13 PM, Jeremy North <jeremy.north at gmail.com>
wrote:
> Make sure you don't have the 300 skins that come with devexpress included.
>
> There is an option in the IDE to disabled them for a project or for all
> time.
>
>
> On Thu, Aug 23, 2012 at 2:53 PM, Colin Johnsun <colin.adug at gmail.com>
wrote:
>>
>> Delphi XE2 carries over a lot of meta information for use with the
>> RTTI. This may be the cause of the bloat in size.
>>
>> There are compiler options which you can use to switch it off. See the
>> link below:
>>
>>
>>
http://delphi.about.com/b/2011/07/26/create-smaller-delphi-xe-executables-re
move-rtti-pack-exe.htm
>>
>> Cheers,
>> Colin
>>
>> On 23 August 2012 13:41, Robo <robo555 at gmail.com> wrote:
>> > If I compile the attached project in Delphi XE2, which only contains a
>> > blank form, I get a 7MB exe.
>> >
>> > If I start using DevExpress components, what used to be a 5MB exe in
>> > Delphi 2005 turns into a 25MB exe in XE2.
>> >
>> > - What can I do to reduce the size? The blank project would have been
>> > about 500KB in previous versions of Delphi.
>> > - How can I keep the file size down when using DevExpress components?
>> >
>> > _______________________________________________
>> > NZ Borland Developers Group - Delphi mailing list
>> > Post: delphi at listserver.123.net.nz
>> > Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> > Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> > Subject: unsubscribe
>> _______________________________________________
>> NZ Borland Developers Group - Delphi mailing list
>> Post: delphi at listserver.123.net.nz
>> Admin: http://delphi.org.nz/mailman/listinfo/delphi
>> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
>> Subject: unsubscribe
>
>
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at listserver.123.net.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
Subject: unsubscribe



More information about the Delphi mailing list