home *** CD-ROM | disk | FTP | other *** search
-
-
- PURPOSE
- This short file explains how to create an self-extracting library file.
-
-
- DEFINITION
- A self-extracting library file is an aggregate file composed of the file
- COMBINE.DAT, an INSTALL.DAT script file, and a library file. Self-extracting
- files are useful in two contexts: 1) when you are distributing a file via
- public domain bulletin boards, and 2) when you want the make sure your end
- -users don't try to install some files by hand (since only one file is
- distributed, it's pretty hard for them to make a mistake).
-
-
- CREATION OF A SELF-EXTRACTING FILE
- The syntax for the INSTALL.DAT file is the same as for the non-self
- -extracting version with one additional restriction:
-
-
- The script file must have exactly one @DefineDisk/@EndDisk
- block, and that block must contain exactly one @BeginLib/
- @EndLib block. That is, all files to be installed must be
- within a single library file.
-
- To actually create a combined file, you should follow the steps below:
-
- 1) First, create a single library file containing all of the
- files you wish to distribute.
-
- 2) Use the librarian's GENERATE command to create a @BeginLib/
- @EndLib block which can be included in a INSTALL.DAT script
- file.
-
- 3) Edit the skeleton INSTALL.DAT file supplied as file
- EXAMPLEC.DAT and put your product name, version, etc. in the
- appropriate fields. Put the GENERATEd file (from step 2) in
- the @DefineDisk block.
-
- 4) Make sure the file COMBINE.DAT is on the current drive & directory.
-
- 5) Run COMBINE.EXE with three command line parameters. The
- first parameter is the name of the combined file you want to
- distribute. The second is the name of the script file created
- in step 3. The third, is the name of the library file created
- in step 1 above. When COMBINE.EXE is done, your default
- drive/directory will contain the newly-created combined file
- in executable format.
-
- 5) Test the new aggregate file - you should try all combinations of
- installation options.
-
- Note: since the combined file is may be intended for electronic
- distribution, INSTALL.EXE has some new capabilities that make it resilient
- to files that 'grow' when transmitted via XMODEM.
-
- The file COMBINE.DAT the self-extracting version of INSTALL.EXE. You
- must be certain that the self-extracting version of INSTALL.EXE
- (identified by a letter 's' after the version number in the banner) is
- in the default drive/directory before using COMBINE.EXE.
-
- If you have any questions, difficulties, or comments, please feel free to
- call Knowledge Dynamics at 1-512-964-3994.
-
- IMPORTANT: You should not rename the self-extracting .EXE file once it
- has been combined with the script file and the library file. If the file is
- renamed, then computers running a DOS version less than 3.0 will be unable
- to run the self-extracting file until it is renamed to the name you specified
- as the first parameter to COMBINE.EXE. This behavior is due the inability
- of programs to determine the location of the currently execution program. For
- example, under DOS 3.0 and above, if you run the program INSTALL.EXE by
- typing "C:\INSTALL\INSTALL" the program INSTALL.EXE can, if necessary,
- determine that the end-user typed "C:\INSTALL\INSTALL.EXE" and look on drive
- C: and on subdirectory "\INSTALL\" for the file "INSTALL.EXE".
-
- ----------------------------- end-of-file -------------------------------------
-