Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Add file, into Executable

Posted on 2001-07-19
5
132 Views
Last Modified: 2010-04-06
How do I "paste" a file into a executable (let's say it is a zip-file, the executable is going to extract)? Just like WinZip is doing it with Self-Extractor.
0
Comment
Question by:easysoft_studios
5 Comments
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 6300667
Hi... sometimes it's easier (and relatively 'cheaper') to search for PAQ before posting a question :)

Anyway, check out these article:
http://www.experts-exchange.com/jsp/qShow.jsp?qid=10314362
http://www.experts-exchange.com/jsp/qShow.jsp?qid=20091498

Also:
http://www.ec-software.com/delphi/backfile.zip
http://www.geocities.com/gacarpenter386/


DragonSlayer
0
 

Expert Comment

by:Richard_Yu
ID: 6300698
Self extracting EXE - programming example:
http://www.ec-software.com/comppage.htm
TRessourceStore:
http://www.torry.net/codertools.htm
0
 
LVL 5

Accepted Solution

by:
Gwena earned 50 total points
ID: 6301329
It depends on whether you want to add the file to the exe at compile time (easy) or if you want to have a delphi program that can modify itself at runtime by adding files to it's own exe that can later be extracted.... I have some demos of the 2nd method on my site http://delphi.does.it

look at (the extractor) and the (new extractor) demos
the new one has cleaner source code :-)
0
 

Author Comment

by:easysoft_studios
ID: 6350362
Thanks! That were the thing to do the job!
0
 
LVL 5

Expert Comment

by:Gwena
ID: 6350978
I am glad that my crazy code was helpful to you :-)
Thanks for the points!
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert MS Word document to a PDF file 9 91
Delphi and Access based Enumeration 9 70
Graphics32 under Delphi 10.1 Berlin 2 103
Delphi: making a BW image transparent 10 61
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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