Solved

Embedding an EXE into my Delphi app

Posted on 2007-11-27
1
186 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:
2266180 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 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