Solved

Embedding an EXE into my Delphi app

Posted on 2007-11-27
1
179 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

24 Experts available now in Live!

Get 1:1 Help Now