Microsoft HTML Help under Debian.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 21 Nov 2012 21:30:05 +0200
changeset 1432 b7a7c8e89818
parent 1431 4c25fe5d35ae
child 1434 0593b620b83e
Microsoft HTML Help under Debian.
chm.rst
--- a/chm.rst	Wed Nov 21 19:36:51 2012 +0200
+++ b/chm.rst	Wed Nov 21 21:30:05 2012 +0200
@@ -34,6 +34,46 @@
   http://support.microsoft.com/kb/269766/
                 INFO: Limited Unicode Support in HTML Help
 
+Microsoft HTML Help under Debian.
+=================================
+
+Set Wine's Windows version to Windows 2000 (or above), and add an override to
+use the native itss.dll, both via ``winecfg``::
+
+  wine winecfg
+
+Download `Microsoft HTML Help Workshop
+<http://msdn.microsoft.com/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp>`_
+and install it as::
+
+  wine htmlhelp.exe
+
+Install itircl.dll and itss.dll as::
+
+  cabextract -F hhupd.exe htmlhelp.exe
+  cabextract -F itircl.dll hhupd.exe
+  cabextract -F itss.dll hhupd.exe
+  cp -a itircl.dll ~/.wine/drive_c/windows/system32/
+  cp -a itss.dll ~/.wine/drive_c/windows/system32/
+  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itircl.dll'
+  wine regsvr32 /s 'C:\WINDOWS\SYSTEM32\itss.dll'
+
+Download `Microsoft Foundation Classes update
+<http://activex.microsoft.com/controls/vc/mfc40.cab>`_, extract it, and install
+it as::
+
+  wget http://activex.microsoft.com/controls/vc/mfc40.cab
+  cabextract mfc40.cab
+  wine mfc40.exe
+  wget -N http://activex.microsoft.com/controls/vc/mfc40.cab
+  cabextract -F mfc40.exe mfc40.cab
+  cabextract -F mfc40.dll mfc40.exe
+  cp -a mfc40.dll ~/.wine/drive_c/windows/system32/
+
+See:
+
+ * http://code.google.com/p/htmlhelp/wiki/HHW4Wine
+
 Viewer.
 =======
 ::