Solved

Add file, into Executable

Posted on 2001-07-19
5
134 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
[X]
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
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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…
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…
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 …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

752 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