		DOCUMENTATION FOR ChiefPro MAKESFX
		----------------------------------

** Please read the disclaimer section of this file before attempting to use
MAKESFX.
***

MAKESFX is a DOS command line program for the purpose of manual creation
of Chief's Installer Pro self-extracting (SFX) ZIP files. 

ChiefPro supplies a proprietary self-extract stub (STUBSFX.EXE) with
MAKESFX.EXE for this purpose. These files are in your Chiefpro\UTILS 
directory.

**** NOTE: ****
The ChiefPro SFX format is proprietary and is *NOT* compatible with other 
ZIP SFX formats. Although the programs work only with standard ZIP archives, 
the SFX files that are created by using MAKESFX are of a different format from
those created by other ZIP SFX tools, and cannot be manipulated with other ZIP 
SFX tools.

For the purposes of manual creation of a self-extracting archive, the
following program files can act as the STUB executable passed to
MAKESFX.EXE: 

	[a] STUBSFX.EXE, or 
	[b] ChiefPro's SETUP.EXE, or
	[c] MAKESFX.EXE itself. 

No other executable will suffice.

From your ZIP files, the first two will create Windows based
self-extracting .EXEs (including support for long filenames in your ZIP file
when running under Windows 9x and Windows NT) while MAKESFX.EXE will only
create DOS based .EXEs (no long filenames allowed in the ZIP file in this
case). The SFX STUB that you choose for any particular ZIP file depends on
your purpose. Either STUBSFX.EXE or SETUP.EXE will suffice for a Windows
installation. STUBSFX.EXE will do the job if you want the user to be able to
decide whether or not to run an installation program after extracting the
files from the .EXE archive. SETUP.EXE is best for a proper ChiefPro
installation - but for this purpose, you would be best advised to use the
ChiefPro IDE facilities.

USAGE
-----
The syntax for MAKESFX is:

[1] MAKESFX <ZipFile.ZIP> <Target Dir>

In this format, MAKESFX just acts as a (very basic) DOS unzip tool.

or  

[2] MAKESFX <[/S /L /X /E]>  <parameters>

This is the recommended usage of MAKESFX. In this way, the tool can be
used to create or manipulate ChiefPro SFX files.

LEGEND:
-------
1.   Add SFX stub to a ZIP archive to produce SFX file:
     (and optionally run a program after extracting the files)
 	Syntax:   MAKESFX /S <SFX-stub.EXE> <ZipFile.ZIP> [SFX-File.EXE [EXE-to-run]]
	Examples: MAKESFX /S setup.exe project1.zip MYPROG.EXE
                  MAKESFX /S setup.exe project1.zip MYPROG.EXE INSTALL.EXE
		  MAKESFX /S stubsfx.exe project2.zip

2.   List the contents of any ZIP archive:
   	Syntax:   MAKESFX /L <ZipFile.ZIP>
	Examples: MAKESFX /L project1.zip
		  MAKESFX /L chief410.zip 

3.   Extract the ZIP archive inside this current ChiefPro SFX file into a ZIP file:
     (only for those SFX files for which MAKESFX.EXE itself is the SFX stub)
   	Syntax:   MAKESFX /X <ZipFile.ZIP>
	Examples: MYPROG /X test.zip
		  project1 /X project0.zip 

4.   Extract the Zip archive from another ChiefPro SFX file, into ZIP file:
   	Syntax:   MAKESFX /E <SFX-File.EXE> <ZipFile.ZIP>
	Examples: MAKESFX /E project1.exe test.zip
		  MAKESFX /E myprog.exe myprog.zip


DISCLAIMER
----------
MAKESFX.EXE and STUBSFX.EXE are supplied AS IS - and WITHOUT ANY WARRANTIES 
WHATSOEVER. They are not an integral part of Chief's Installer Pro, and are
supplied, as extras, only as a result of a specific request. You use both or 
either of them ENTIRELY AT YOUR OWN RISK. 

If these terms are not acceptable to you, then you have no license to use 
either of these programs, and YOU SHOULD PLEASE DELETE THEM FROM YOUR DISKS 
IMMEDIATELY AND PERMANENTLY.

Dr A A Olowofoyeku.
-------------------
