have a look at LoadCompressedResource in the help file for TCompress, and the SELFEXTR.DPR and BMTEST.DPR sample projects.
 
There also the SFX.DPR and MAKEEXE.DPR projects with TCompLHA (available even in the shareware version) that I have had a play with, for making self extracting EXEs.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steven Wild
Sent: Friday, 4 February 2000 13:31
To: Multiple recipients of list delphi
Subject: [DUG]: resources

How do we go about storing a several files (LZh's) in one exe.  The Exe would run, decompress the files to a temp directory and then install them in various places in a users system (based on registry settings).  This would upgrade an existing application, with the user only needing to run one app. 
 
We can do the decompression (thanks to SPIS's wonderful components) but how do we wrap the LZH file (or any other file) into a delphi app (presumably as a resource??).
 
If it is a resource, do we need a resource editor to create the resource file??
 
Steven
 
Wild Software Ltd
*Chreos Business Systems
CHCH, NZ

Reply via email to