Re: Patching distributed EXE's

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Chris,

Write a program that analyzes the difference between two files and outputs a set
of instructions for transforming one into the other - a "delta file". Then write
another program to execute those instructions. Ha ha, easier said than done, esp.
with binary files, but wouldn't it be a good exercise? Something you could
contribute to the archives, too. (This is on *my* to do list - when I get around
to it, which of course may be never.)
George

--

On Wed, 24 Jan 2001 13:25:29
 Chris Bensler wrote:
>hi,
>
>   I know I can modify the binary, but I don't like that idea. Not that I
>have any particular need for it now, but in the future, if I want to
>distribute an exe, and by chance it contains an error. I would like to be
>able to fix it without the user having to download the entire file again,
>or something of similar size. I'm wondering if there's a way to re-include
>a source file that contains the bug fix without having to recompile the
>exe. Or will the patch just end up being too big? Would I have to include
>the compiler to do so?
>Do I make sense? LOL
>
>Chris
>
>Kat wrote:
>
>>On 24 Jan 2001, at 12:18, chris bensler wrote:
>>
>>> Hi all,
>>>
>>>   Just curious, is it possible to patch an EXE file created with EU?
>>
>>Depends on what you mean by "patch". Since everything is a file of bytes,
>>you can always replace bytes, but the code may or maynot do what you
>>expect afterwards. Just look at microsoft, they haveto send out patches
>>*all* the time.
>>
>>Kat
>


Get your small business started at Lycos Small Business at
http://www.lycos.com/business/mail.html

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu