Stand-Alone compiler switches?

Silly question, but it's been awhile since I've done this. I have Delphi 2.0 and have created a one-form small code program to deal with a text file. My question is what switches in the compiler directives and linker area should be set in order to generate a stand-alone application that's ready to use on another computer? I am not using any portion of the BDE, just reading a text file.

Thanks in advance for your assistance!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

there is a file in the delphi directory called deploy.txt it should explain it all fairly well.
basically you shouldnt need to change any directives but dont quote me on that as i skipped from d1 to d3 so are unsure of d2 requirements.
regards :-)
Hi Pegassus,

   Sorry if I didn't get you right. But if you don't change anything it doesn't generate a stand alone application already?

yes it would but some of the runtime packages may need to be installed also on the client pc (unless they have any other delphi apps that have installed them already in windows\system).
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Hi Pegasus,

   Make the following line the first line of your unit(s) and you're probably done.
   if not. Let us know.


Pegasus100397Author Commented:
Hey all, the .EXE copy on my FDD was flaked. The HDD version worked fine, apparently all was intact.

The advice given here was great, all of it. Please advise on how I can split the credits.

Thanks Inthe & Rarigo.
The only thing you need to do to produce a standalone exe is make sure the "compile with packages" checkbox is cleared in the project options.  This will insure that *everything* you need is put into the exe, and no .dpl files will be needed.  

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Good Grief...

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.