
==============================================
|  Ssetup ver. 1.50                          |
|  (c) by Davor Zorc, Zagreb, Croatia, 1998. |
==============================================

General purpose Win3.1x/Win95 installation/uninstall utility.
It will check available space on the chosen drive, create target
directories and copy files to them and the Windows directory, create
a Program group and start the target application.

FEATURES
--------
- small size (less than 50 kB)
- copy/delete files, create/remove desktop group
- easy configuration/customization for your project
- Setup program is secure - install information is scrambled and unreadable.
- create nested sub-directories to any depth
- create multiple target sub-directories and place files in them
- insert your own (c) copyright in the Setup window (for registered users)


INSTALLATION (GUIDE FOR YOUR USERS)
-----------------------------------
First unzip distribution file xxxxxxx.zip to some temporary directory.
Start Setup program. Choose Directory and program Group or just leave it
as it is. If chosen directory already exists, Setup asks if you wish to
use existing directory (and eventually overwrite existing files).
Click on 'Start Installation'. When finished click on Application icon.

NOTES:
- Do not use long filename for directory. In win95 you may use short-name
  form (for 'Program files\Applic' enter 'progra~1\Applic').
- If you do not wish to make a new group, or if you do not want new icons to
  be added in an existing group, make 'Group name' empty before installation.
- You do not need to uninstall any old version before installing a new one
  in the SAME directory but answer NO when Setup asks if you wish new icons
  added in the same Group (otherwise under win31 you may have double icons).
- In win95 Program Group is accessible under 'Start', 'Program Files'.


UNINSTALL (GUIDE FOR YOUR USERS)
--------------------------------
 - SETUP is copied to the target directory to act as UNINSTAL. It will
   delete files specified in SETUP.MON list and remove its Group. After
   that it will try to delete the target directory. If there are other
   files in that directory it will not delete them or the directory.


CUSTOMIZATION
-------------
1. Copy files from the Setup archive to a work directory (say, C:\WORK):
        SETUP.EXE, SETUP.INI, SETUP.MON, SETUP.LST
   (DUMMY.* files are templates to act as user application files).
   Then copy all of your application files to the work directory.

2. Write a README.TXT which will be readable during installation with
   the SETUP [Readme/Licence] button.

3. Edit SETUP.INI to suit your application (see sample below).
   Enter SpaceNeed in kiloBytes (add 50 kB for Setup files).

4. SETUP.LST is a READABLE list of the files to be installed. It can
   be created manually with a text editor or automatically using a
   SETUP.EXE hidden option:

    a) Execute SETUP.EXE
    b) In the [Drive and directory] textbox type /mon/
    c) Click [Start installation]
    d) A dialog will pop-up - Press Yes
    e) This will create a SETUP.LST with the names of ALL files in
       the work directory.
    f) Press No on the dialog to edit SETUP.LST.
    g) Before each file name insert a character. It instructs SETUP
       what to do with the file.
        1) Put + for files which must be copied and an icon made
        2) Put - for files which must be copied only
        3) Do NOT include SETUP.LST in the list.
        4) SETUP.EXE, SETUP.INI, SETUP.MON must be listed in the list
        5) See below sample for other possibilities.
    h) Save the edited file
    i) Press Cancel on the dialog to produce SETUP.MON. (This is a
       scrambled copy of SETUP.LST). 

5. Apart from Target directory additional directories may also be created:

   a) as sub-directory of the Target directory (example: tag \.DOC\FILE.EXT,
     see below example SETUP.LST). To copy a file to that directory use
     -DOC\FILE.EXT.
   b) as entry in root of the target DRIVE (example: tag \\DATA\PIPI).
      To copy a file to that directory use -\DATA\PIPI\F.DAT.
      On your source disk this F.DAT file must also be in the work
      directory (as must all other files).
   Put entries for creating directories after entries for file copy.

6. Try your Installation by running Setup. Try Uninstall. This is best
   done on another computer - to be sure that all necessary files have
   been installed.

7. Make a ZIP archive from the work directory or copy to the Installation
   diskette. Do NOT include SETUP.LST, or the original README.TXT in 
   the distribution package.


REMARKS AND LIMITATIONS
-----------------------
- if the same name file(s) exist in the target directory, setup will
  overwrite them.
- while uninstalling, all copied files are removed from the target drive.
  (from the target directory, other created directories and Windows
  directories.) It will ask before removing files copied to Windows
  directories since they might be shared.
- Win95 long filenames must be entered as short (Program files = progra~1)
- on some Win31 installations uninstall is unable to remove SETUP.EXE and
  since the directory is not empty, it is unable to remove target directory
- no multiple source disks (floppies)
- no processing of files (compress, zip)


SAMPLE FILES
------------

- sample SETUP.LST (does NOT go in distribution):

;-----------------------------------------------------------------------------
; SSETUP- comment lines begin with ; in colon 1
; Text on all lines must begin at column 1.
; + = copy & icon, - = copy, = = copy WinDir,
; . = no copy, ! = delete, > = run, \ = dir
;
;------------- files for Setup/ Uninstall ------------------------------
+SETUP.EXE        ;copy and makes icon for SETUP (for Uninstalling)
-SETUP.MON        ;needed for uninstall
-SETUP.INI        ;this file is copied and updated in target directory
;
; ------------ list of files to copy/ remove --------------------------
;
!DUMMY.TMP        ;delete if exist on target dir. from previous installation
+README.TXT
+DUMMY.EXE        ;copy & make icon
>DUMMY.EXE        ;run this after installation (must also be after +)
-DUMMY.RES        ;copy only
=DUMMY.INI        ;copy to Windows directory
.DUMMY.TMP        ;for uninstall-file generated later (by application)
-DOC\FILE_ID.DIZ  ;put in sub-directory of target directory
;
;-\DATA\PIPI\F.DAT   ;copy to directory on target drive
;=SYSTEM\DUM.DLL  ; copy to Windows \SYSTEM directory
;
;------------- make Directories - put those in last line(s) ------------
;
\.DOC             ;create extra sub-directory in Target directory
\\DATA\PIPI       ;create absolute directory on Target drive
;tot.kB$= 55      information on total file size (optional)
;-----------------------------------------------------------------------------


- sample SETUP.INI (does go in distribution):
------------------------------------------------------------------------------
[main]
ApplicName=Dummy
Def_path=c:\Dummy
Def_Group=Dummy Group
Head_Text=Dummy Application, ver. 1.00
SpaceNeed=55
------------------------------------------------------------------------------


REGISTRATION
------------
       This program is unregistered SHAREWARE and requires payment to the
       author. It is the full feature version and free to test for one month.

       If you find this program useful please send completed form together
       with cash (in opaque envelope) or a banker's check payable to:

       Dr.sc. Davor Zorc
       Bosiljevska 34
       10 000 Zagreb
       Croatia (Europe)

       e-mail: davor.zorc@fsb.hr  (comments and suggestions are welcome !)

       PRICE NEW USER    :  10 US$ or equivalent in convertible currency.
       PRICE UPGRADE USER:   5 US$ or equivalent in convertible currency.

       Experience shows that personal checks or bankers checks from USA
       and European Union banks are accepted. EuroChecks and postal
       checks (money orders) are NOT accepted.

       You will receive latest version by e-mail and the instructions on
       how to make your own copyrighted Setup.
       You will also receive free registered upgrades for at least six months.

       Latest version may be found at Ssetup homepage:
	   http://www.fsb.hr/~dzorc/ssetup.html 

       See the author at Author's homepage:       
  	   http://www.fsb.hr/~dzorc 

       Publication place in the world is:
           http://www.simtel.net,  under Win311, Install


     <------------------------ cut order form here --------------------->
     ___________________________________________________________________

     Registration form for : SSetup
     sset150.zip    Ssetup: small win31/win95 setup + uninstall
     ___________________________________________________________________

     Name:____________________________ Address: ________________________


     City, State: ____________________________ Country: ________________

     Zip:__________________     E-mail:  _______________________________

     Your Home page:____________________________________________________

     Program delivery:  e-mail [ ]      3 1/2" diskette [ ]

     Included US$:_____________                    cash [ ]    check [ ]


     Comments, suggestions for future updates, bugs, complaints:

     ___________________________________________________________________

     ___________________________________________________________________

     ___________________________________________________________________

     Where did you get this file:

     ___________________________________________________________________

     <------------------------ cut order form here --------------------->


LEGAL
-----
This program is tested and believed to be free of bugs. There is however 
no guarantee that this program will perform its expected duty, and that 
it will not damage your machine, data or user in any way. 

Mentioned hardware and software products are (C) of their producers. 

This program is SHAREWARE and requires payment to the author. Commercial 
use requires license by the author.

You may re-distribute complete unmodified package to BBS, Internet, 
CD-ROM, providing:

    - no money is charged for this program 
    - you must email the author what version you are going to publish 
      and in what product (so the author is able to send new version). 


ACKNOWLEDGEMENTS
----------------
Many thanks to Peter Rader and Dennis Palser for their suggestions and 
beta testing. 

I am grateful to my friend Leonardo Jelenkovic for much of what I know
about computers.


<.>

