Solved

Embedding an EXE into my Delphi app

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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