
                                   ****************
                                   * Script Maker *
                                   ****************



Introduction
------------

A few weeks ago I uploaded HD install scripts to Aminet. While I was
reading them I realized that there were only few differences between them.
So I decided to create Script Maker, which can generate a generic install
script just with a few details.

At the begining Script Maker only produced Amiga Dos Shell Scripts but now it
can generate Installer scripts.


Installation
------------

1) The automatic installation

A script will copy all the files where they must be. Double-click on the
icon to execute the install script. You must have Installer to use this
script.

2) The manual installation (if you can't or don't want to use the automatic)

Copy ADOS.inf and INST.inf to ENVARC: and the other files TOGETHER where
you want.

Generated script will need standard Amiga DOS commands, like ECHO, COPY, and so on...
It will need REQUESTFILE and REQUESTCHOICE but if you can't use them on your computer
just modify the script after it has been generated.

Installer generated scripts will need Installer.


Usage
-----

From CLI : ScriptMaker Name

From WB  : Double-click on the ScriptMaker icon

where Name is the name of the script you are creating. The name is optionnal
and will be asked if missing (it will be asked if the program runs from WB).

Once run, Script Maker will ask you some questions. I'll give the exemple
of the installation of Flashback to explain these questions.


* Please enter output file name

This message will appear if you don't specify the name of the script (or
if you run SM from WB).

Example : Flashback-Install


* Please choose the output script language

You can choose between an Amiga Dos Shell script (1) or an Installer
script (2). If you don't enter 1 or 2 the program will consider you
want the first option.


* Enter product name

Type in the name of the product you are installing. It is the full name,
not the name of a disk.

Example : Flashback


* Enter free disk space needed (Megs)

Type in the disk space needed to install your product. It is only for a
message displayed in the script, no controls will be made.

Example : 3


* Enter drawer name for installed data

The script will create its own subdirectory in the directory chosen during
the installation. You specify here its name.

Example : FBack


* Do you want to create subdirs for datas (y/n) ?

You can create subdirectories in the target directory. Enter their name, typing
RETURN between each name. Type RETURN alone to end.

Example : y
          Cine
          Data
          Music
          Sound


* For data copy you can.....

For the disks names you can :

        -> Use a basename    : this name will be followed by the disk number.
                               All disks will have this name followed by this
                               number. You'll have to specify the starting number
                               (0 or 1).
                               Example : Flashback disk
                                         1

        -> Specify the names : you'll have to enter the names for ALL the disks.
                               Don't put ':', it will be added automatically.
                               Example : Flashback disk 1


* How many disks will be copied ?

Type in the total quantity of disks to be installed


Example : 4


* Do you want to create a script which will make Assigns ? (y/n)

If you answer y a script called MakeAssigns will be created. Its purpose
is to assigns all disks installed to target directory. This file must stay
with the install script. When installing your user-startup will be patched
in order to execute this script located in the target directory.
If you answer n well....no Assign script.....

Example : n (not needed with Flashback)


After this you have a nice script. This script will be executable from WB
or CLI.

Script Maker only generates a simple script which copies every file from disks
to hard disk after asking you where to put it. If you need specific copy you
will have do modify the script yourself.


Disclaimer
----------

You use Script Maker at your own risks. It has been tested for hours on my computer
(A1200). I can't be responsible if it breaks something (it shouldn't, due
to the technics used).

By the way I've just tested it installing FlashBack (thank you Delphine Software for
this GREAT game) and it worked fine.


History
-------

April 1995              Version 1.0             First release

April 1995              Version 1.2             Script Makers now puts the 's' flag
                                                so the script can be run directly from
                                                CLI. It also puts a project icon with
                                                IconX as default tool for the same purpose
                                                from WB.

May 1995                Version 1.3             Some bugs about version removed. I have
                                                also rewritten some parts of the program
                                                to make it much cleaner.

June 1995               Version 2.0             Totally rewritten code. Now an Installer
                                                script can be generated and Assigns can
                                                be made automatically. The manual has
                                                also been improved.



Author / Distribution
---------------------

Script Maker has been created by

Mr Franck ANIERE
30, Rue Jean Bouin
93220 GAGNY (France)

E-Mail : aniere@univ-mlv.fr

IRC    : My nickname is FSA. I can be found on #amigafr
         and sometimes on #amiga.

You can join me for any comments, suggestions or bug reports.
I answer to EVERY message I receive so if you don't have answer
try again because I often have E-Mail problems (but during
July and August I don't answer because of summer holidays).

This product is GIFTWARE and I keep a copyright on it.
You can diffuse and use it freely if you keep the archive
intact and don't put a virus in it. If you like Script Maker you
can send me something (if you want to send money please only send
cash).

Aminet, Fred Fish, Funet and other Public Domain organisations
or Amiga magazines are allowed to distribute this product, on
floppy disk as well as on CD ROM if the price of the support is
normal. France Festival Distribution WILL NEVER BE ALLOWED to
diffuse it (and any kind of translation of this product by FFD
is ILLEGAL).


Thanks
------

I want to thank the following persons who really helped me with this
product.


    * Tommy Johansson, who has found bugs listed in the history section
      and suggested me improvements of the version 1.2.
      Thank you Tommy, without you Script Maker would be an ugly buggy thing.

    * Philippe Brand, for all his explanations about compiling Ixemul free
      programs with GCC.

    * Sylvain Rougier, for advice about how to make a clean program.

    * Mikael Zajac, for suggestion about an Installer module.

    * Bruno Bellay, for critics about the manual.

    * People who created Amiga, for such a great computer.


To do
-----

Well, I'd like to add many things to it, like :

        - A nicer interface

        - Specify mode (not only #? to copy files)

        - Other Shells versions of the generated script

        - Nice icons

        - New things I don't imagine now


And wathever you tell me, if I can do it (I'm a student and I have so much work...).

By the way I have thought of a CSH generation module. If you want me to
make this module just contact me.

I would like somebody to draw nice Magic WB style icons for Script Maker.
Please contact me if interested.
