README.TXT for LHEX (LHEXINST.EXE)

Author: Prof. John C Nash, University of Ottawa

1999-08-10

LHEX provides a small but useful 'double-click to extract' utility 
for LHA archives (.LZH filename extensions). For example, if you have
an archive file myarch.lzh, the utility creates a new directory in 
the directory holding myarch.lzh and extracts the files into it. If
such a directory exists, "newer" files in the archive will be extracted
and, where necessary, over-write those that are there. By creating a 
new directory for the files, LHEX avoids the possiblity of file
collision or confusion should files exist in the directory where
myarch.lzh is stored.

INSTALLATION -- READ CAREFULLY!!

Unzip the package LHEX11.zip.
Run the LHEXINST.EXE Setup program. It will display this file when it
finishes.  When this file is displayed, PLEASE follow the instructions to
register the .LZH file type with Windows so that double-clicking on .lzh
archives causes them to be unpacked automatically.  [Because of the
dangers of automating this registry change, I have NOT put it in the
installation script, but welcome email on how it may be done safely.]

Windows 95/98/NT (not tested under NT as at 1999-8-9)

The installer should leave open a window with shortcuts to "LHEX" and
"Uninstall LHEX". These are in a sub-directory LHEX under your Windows
Start Menu\Programs\ directory. Note that I do NOT assume that you use
C:\WINDOWS as your Windows directory, but gather this information from
the operating system.

1) Right Click the LHEX shortcut, choose properties.
2) Choose the "Program" tab. Click on "Close on exit". 
  [This will avoid leaving an open MSDOS window on your screen that you
   have to close each time you double-click an LHA archive.]

3) Note that the "Working Directory" should be the installation directory. You 
should not need to change this.

In the currently open window (actually any window will work), 
  choose View, (Folder) Options, File Types

If a LZH file type exists:
   Click on the "LZH file" item,
   Edit
   Under "Action" choose "Open", Edit
   Browse to find the Windows directory, then "Start Menu\Programs\"
      then "LHEX" directory
   Select the shortcut to LHEX.EXE.
   Select OK
   Select Close
   Select Close


Else if .LZH file type does not exist:
   Choose "New Type"
   Add "LZH file"
   Under "Action" choose "Open"
   Browse to find the Windows directory, then "Start Menu\Programs\"
      then "LHEX" directory
   Select the shortcut to LHEX.EXE.
   Select OK
   Select Close
   Select Close



Windows 3.1

Open the File Manager. 
Choose F(ile), A(ssociate).
Enter LZH as the file extension, or else click on an LZH archive file.
Browse.
Find your installation directory for LHEX and point to LHEX.EXE.
Select Close or OK


--------------------------------------------------------------------

Notes:

  The installer puts a copy of LHA version 2.55 (Copyright (c) Haruyasu
  Yoshizaki, 1988-91) in your Windows directory.  It calls this LHAJN.EXE
  to avoid deleting any LHA.EXE you may have on your system should you
  uninstall the LHEX software.  The uninstaller removes the LHAJN.EXE from
  your system. As required by the author of the free software LHA, the 
  installer of LHEX includes the distribution files for LHA.

  The setup program was created with the Inno Setup compiler of Jordan 
  Russell (jordanr@iname.com. See http://www.jordanr.dhs.org/
  -or-  http://www.digicron.com/jordanr/)

  The source code of the program is in LHEX.PAS. You are welcome to use this 
  to develop similar tools, but please acknowledge its origins in your program
  documentation and do send me a copy of your work. 

  Please contact the author of LHEX, Dr. J C Nash,  with any comments, bug 
  reports, or suggestions on automating the file registration.

Author: Dr. John C. Nash,  jcnash@uottawa.ca   October 1998, August 1999
