Solved

Embedding an EXE into my Delphi app

Posted on 2007-11-27
1
177 Views
Last Modified: 2010-04-05
Hi,

I'm creating a simple installer for my application and I need to embed an EXE file to extract it to the Program Files/My App Folder when my "installer" is launched.

How can this be accomplished?

Please help.
0
Comment
Question by:EEssam
1 Comment
 
LVL 28

Accepted Solution

by:
ciuly earned 500 total points
ID: 20361530
there are several ways:
1) http://www.ciuly.com/delphi/basicSecurity/integrityCheck/index.html but instead of the md5hash you will use the exe and as I read the md5hash in that example you will read the exe and save it to program files
2) add the exe as a resource:
http://www.howtodothings.com/computers/a1176-embedding-files-as-resources-in-a-delphi-executable.html
http://delphi.about.com/od/objectpascalide/a/embed_resources.htm
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now