Windows - Convert HTML or Word to CHM Without Installation - Stack Overflow
Windows - Convert HTML or Word to CHM Without Installation - Stack Overflow
Just browsing Stack Overflow? Help us improve your experience. Sign up for research
I would like to convert an HTML file or a Word file (.doc, .docx or .rtf) to a .chm file. I searched
for ways of doing this and they all said that I should install a program on my computer. Is
5 there a way of doing this without installing anything (online, with a program initially installed
on Windows or with a USB version of a program)? I also accept a CHM editor as long as it
doesn't need to be installed. I found a way to open a .html with hh.exe (the program that
opens .chm) but as soon as I rename it from help.html to help.chm it doesn't work.
Share Improve this question Follow asked Jan 17, 2015 at 9:09
Donald Duck
8,821 23 79 101
What's about giving Word to PDF a chance for your needs? – help-info.de Jan 26, 2015 at 19:14
This isn't really an answer to my question since it requires an installation but HTML Help Workshop is a
good program to make chm files. – Donald Duck May 19, 2016 at 16:47
Sorted by:
2 Answers
Highest score (default)
As far as I know the answer is – no. I've seen never an online version or a USB solution for
effective HTMLHelp (CHM) compiling.
5
You can’t rename a foobar.html to foobar.chm and get this working for a single file, because
CHM is like a zipped webpage with all files needed inside and some more internal files e.g.
for full text search or an index with keywords. Please see snapshot of a special view with FAR
HTML below (left side only, navigation pane).
You can't rename from .zip to .chm too, because the internal structure of a CHM file is
complicated and you need a compiler for generating CHM's.
Background:
Please note that the proprietary file format is normally generated by MS HH Workshop
(hhw.exe). It’s nearly 20 years old und was first shipped with IE4 and Windows 95. It’s deep
integrated to the Windows operating system.
https://stackoverflow.com/questions/27997913/convert-html-or-word-to-chm-without-installation 1/3
07/12/2024 12:15 windows - Convert HTML or Word to CHM without installation - Stack Overflow
The HTML Help compiler is part of MS HTML Help Workshop (HHW.exe). This is a free, very
basic authoring system provided by Microsoft and must be installed before any other
authoring tool (e.g. such as FAR HTML) can compile to a .chm help file.
HTML Help Workshop (HHW) installer is called HtmlHelp.EXE and contains a copy of the
HTML Help Run-time installer (HHUpd.EXE). There are a few Independent Software Vendor
(ISV) that install HHA.DLL and itcc.dll separately instead of installing the full MS HH Workshop
(htmlhelp.exe). This is generally an OK practice if the ISV knows what they are doing. But there
are many problems. ISVs please keep in mind the safest approach is probably to install the full
Workshop.
HTML Help is in maintenance mode, which means no new features are expected for either the
runtime or the compiler. All mainstream development on HH has stopped – but HTMLHelp
(.chm help files) is still recommended as software application help (for offline (local) help).
At the time of writing (announced 1996-Feb) HTMLHelp is the only Microsoft help platform
available for general application help. WinHelp is deprecated and no longer ships with the
Windows OS. Visual Studio products such as MS Help 2 & Help Viewer only ship with VS.
Share Improve this answer edited Jan 27, 2015 at 18:40 answered Jan 26, 2015 at 19:18
Follow
https://stackoverflow.com/questions/27997913/convert-html-or-word-to-chm-without-installation 2/3
07/12/2024 12:15 windows - Convert HTML or Word to CHM without installation - Stack Overflow
help-info.de
7,214 16 41 42
You said that chm is a zipped webpage. So does that mean that I can put the HTML page and all the
pictures that go with it in a .zip file and rename that .zip file to .chm? – Donald Duck Jan 27, 2015 at
17:00
I said "... is like a zipped webpage ..." - please see all edits to this post. – help-info.de Jan 27, 2015 at
18:43
Interesting decompile here- looks like it's packed using their own LZX algorithm. (Offtopic): Actually
came here on the reference to itcc.dll . For some reason it went missing from $SysDir even though
HTMLhelp had been re-installed more than once. That may be due to having tried an OEM product
that installs its own itcc.dll , and the OEM uninstaller removing it by mistake, as if it were not in
$SysDir beforehand. Or perhaps something else. Who knows? – Laurie Stearn Feb 2, 2019 at 12:01
You maybe interested in Unofficial (Preliminary) HTML Help Specification and MJ's Diagnostics. With
MJ's Diagnostics you can make some checks e.g. itcc.dll. – help-info.de Feb 2, 2019 at 12:45
"Interesting decompile here- looks like it's packed using their own LZX algorithm." According to
wikipedia.org. Microsoft modified the LZX algorithm so that hh.exe could search the nearest 64bytes.
This was done so that searching the help docs would be much faster than if the program had to always
start from the beginning. – Scott Tovey Mar 1, 2020 at 2:52
https://sourceforge.net/projects/word2chm/
0
You will need Microsoft's HTML Help Workshop installed for this to work.
Requirements of nuhelp: 1) Word 2003, 2007, 2010 or 2013. 2) HTML Help Workshop
(included in zip file) 3) .Net 3.5 Client Profile (already on most computers)
Share Improve this answer edited Mar 1, 2020 at 3:07 answered Mar 1, 2020 at 2:48
Follow Scott Tovey
180 1 3
A link to a solution is welcome, but please ensure your answer is useful without it: add context around
the link so your fellow users will have some idea what it is and why it’s there, then quote the most
relevant part of the page you're linking to in case the target page is unavailable. Answers that are little
more than a link may be deleted. – U13-Forward Mar 1, 2020 at 2:49
Try reading up on chm files why don't you? It is directly related to the OP's question as chm files are
what HTML Help Workshop compiles HTML files into. – Scott Tovey Mar 1, 2020 at 2:56
And lets review the title of the page shall we: "Convert HTML or Word to CHM without installation"
which is exactly what the linked program word2chm does for free. – Scott Tovey Mar 1, 2020 at 2:58
https://stackoverflow.com/questions/27997913/convert-html-or-word-to-chm-without-installation 3/3