Delphi XE2 Project Setting Dismiss

Posted on 2011-09-08
Medium Priority
Last Modified: 2012-05-12

Today I run Delphi XE2 first time and I make few changes in setting and can not remember. Now when I going to compile then EXE file size 6.9 Mb (simple a form without any button or something) . How reset to original?

Delphi Compiler screenshot is here:



Runtime Package:

I don’t understand. Please help me.
Question by:prasiddutta
  • 3
  • 2
LVL 25

Accepted Solution

epasquier earned 1000 total points
ID: 36507987
The only thing that can add that kind of sizeable data is 'debug informations' checked in
'Delphi Compiler' -> 'Linking'

But it looks like yours is correct. I can only tell for Delphi XE, but since this above fact has been true since D5, I suppose that is also the case for XE2.

I've looked at your other parameters, they look fine as well.

Maybe there is a small bug in XE2 ?
With older Delphi versions, I sometimes screwed a project in such similar ways (undetermined project config errors) .
Best option then : Recreate the project file and add all of your current project files and needed parameters.

Author Comment

ID: 36508264
First time when I build it's size 1.2 Mb

But after change in project option it increases. Thus I suppose I make mistake in project option.

Assisted Solution

rinfo earned 1000 total points
ID: 36509445
try and rename this configuration file
<system drive>\Users\<user name>\AppData\Roaming\Embarcadero\8.0\DefProject.bdsproj
in XE project configuration file is DefProject.bdsproj .
Renaming this file and restarting XE should create a default DefProject.bdsproj file.
Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.


Author Comment

ID: 36509744
no, don’t change. is same
LVL 25

Expert Comment

ID: 36510354
what that gives with a NEW project ?

Author Comment

ID: 36510383
Project is good but generate exe is big in size always.

Approx 6.9 Mb

if zipped then 1.2 Mb

I don’t know why so big in size

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question