[Lazarus] Extracting a resource from an exe file & adding it back in
Reinier Olislagers
reinierolislagers at gmail.com
Sun Oct 16 19:31:02 CEST 2011
On 15-10-2011 16:48, Hans-Peter Diettrich wrote:
> Reinier Olislagers schrieb:
>> I want to give users an editor to edit a text file inside helped.zip &
>> save the changes back to the executable.
>
> You'll run into a couple of problems:
Thanks for your answer, DoDi, please see below.
>
> - An executable cannot update itself (at runtime).
I know. CheckRideHelper is going to update CheckRide.exe
> - A resource editor or compiler tool is needed, which may not be
> available on every platform.
Yep, I guess I'm looking for a scriptable one ;)
As of now, my tool only works on Windows; the compressed resource
includes winvnc.exe and stunnel.exe. For Linux, I'll have a lot less
problems in this respect as I'll just specify a VNC flavour (or two) and
stunnel as dependencies.
> - The user must have write permissions for the executable file.
Yep.
Regards,
Reinier
More information about the Lazarus
mailing list