?
Solved

Embedding an EXE into my Delphi app

Posted on 2007-11-27
1
Medium Priority
?
201 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 2000 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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month14 days, 1 hour left to enroll

809 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