🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.documentation
Article #102

Patch file to update CHM help file

#102
From: Robert Small
Date: Sun, 27 May 2007 10:25
33 lines
2088 bytes
I know this isn't a Delphi problem, but maybe someone either knows the
answer, or has a workaround.

I am using Help&Manual to create my help files.

When I update my application, I may need to make a small change to the
help file, for example, I might change the text for one or two topics.

I then create a "patch file" for distribution. The patch file contains
the difference between the old and the new executable, and generally
is only a small file, typically 500K. As a comparison, the full setup
distribution is around 5MB.

I use InnoSetup for my install maker, and I use Clickteam PatchMaker
to generate the patch files.

Now, this has been working well when I was creating the old WinHelp
files. But now need to switch to CHM for Vista.

But, now that I have switched to the CHM format, PatchMaker is
generating a patch file around 3.5MB. In fact, almost the entire patch
file is now the new CHM file.
It would seem that the new CHM file is internally very different to
the older CHM file, even though I have only added one line of text to
one topic. It would seem that, at a binary level, almost the entire
file has had some change applied.

Is this how the CHM "compiler" works?
There are changes applied right through the file, rather than just in
one specific location?

-- 
Bob Small
Technical Details
Message-ID: <bsmi539op39h676ml3t7kjkrtpf644ve62@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10a202,46ff518100e7c897,start
X-Google-Attributes: gid10a202,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Small <me@noisp.com>
Newsgroups: borland.public.delphi.documentation
Subject: Patch file to update CHM help file
Date: Sun, 27 May 2007 20:25:57 +1000
Message-ID: <bsmi539op39h676ml3t7kjkrtpf644ve62@4ax.com>
X-Newsreader: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 124.148.41.182
X-Trace: newsgroups.borland.com 1180261558 124.148.41.182 (27 May 2007 03:25:58 -0700)
Lines: 33
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail