My favorites | Sign in
Project Logo
                
Search
for
Updated Dec 15, 2007 by Jose.R.Fonseca
Labels: HowTo, CHM
HHW4Wine  
Microsoft HTML Help Workshop with Wine How-to

Requirements

  • Wine
    • It's assumed you have an empty Wine environment. Installed software in an existing Wine enviroment may cause conflicts during the installation steps below.
    • The following instructions were tested with Wine version 0.9.47. Your mileage with other versions will likely vary.
  • cabextract

Setup

  1. Set Wine's Windows version to Windows 2000 (or above), and add an override to use the native itss.dll, both via winecfg:
  2. wine winecfg
  3. Download Microsoft HTML Help Workshop and install it as:
  4. wine htmlhelp.exe
  5. Install itircl.dll and itss.dll as:
  6. 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'
    
  7. Download Microsoft Foundation Classes update, extract it, and install it as:
  8. 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/
    

Alternatively, download htmlhelp.reg and the htmlhelp.sh script, which will do all the work above for you.

Usage

You can now run the command line compiler by doing

wine 'C:\Program Files\HTML Help Workshop\hhc.exe' ...

You can now run the workshop by doing

wine 'C:\Program Files\HTML Help Workshop\hhw.exe' ...

Links


Sign in to add a comment
Hosted by Google Code