installX(V.99)		UTILITIES & DISTRIBUTION	installX(V.99)

		  PLEASE DO NOT SPREAD THIS CODE NOW !
		   TEST IT AND TELL ME WHAT YOU MISS.
	OFFICAL RELEASE IS COMMING SOON IN Saar-AG-BOX/DISK.
		THE SOURCE WILL BE INCLUDED THEN.     JAN

NAME:
	InstallX

SYNOPSIS:
	No CLI-support!
	Use Project-Icon:
		DEFAULT TOOL:	<path>InstallX		(e.g. ':C/InstallX')
		TOOL   TYPES:	WINDOW=CON:<x>/<y>/<width>/<height>/<title>
				[MAIL=...]
				[BYE=...]
				[LIBS=...]
				[DEVS=...]
				[FONTS=...]
				[C=...]
				[L=...]
				[S=...]
				[VERSIONS=]

DESCRIPTION:
	This program is designed to help a [braindead] user to install
	a so far unknown software. There are many programs like 'XIcon',
	'IconX' are simular which fit for some purposes much better.
	But I'm sure if you tried this you never want to use another.
	You don't have to care for any existances. This program will
	check this for you and ask you to overwrite existing files or
	not. No <RETURN> is neccessary, simply press <y> or <n>. By
	defining ToolType VERSIONS= the user is informed of some
	details of your library or device. To install a new font you
	only have to enter its name. Creating the subdir, detecting
	the names and numbers of the font to install will be done by
	InstallX. Non-system copies can be announced in a file with
	the same name as the project icon (see EXTERNAL RULES).
	The program can be cancelled at any time immediately by
	hitting ^C. The window will close without clicking.


RULES:
	Rules are divided in two parts, the external ones and
	the internal ones.
	Internal Rules are only accessable by Project-Icons via
	ToolTypes, while external rules base on a scriptfile to
	which the Project-Icon belongs.
	Please note:	The scriptfile can be omitted.
			The *.info file is sufficient!

EXTERNAL RULES:
	They can have to types:
	-  *dir
	-  from_format to_format name1 ...
	The first type creates a directory 'dir'.
	The second type expects two formats which contain no
	space and one string specifier '%s' each. The 'name#'
	are one by one replace the "%s"'s in the formatstrings.
	Those modified strings are used for a copy-command:
	   copy from_format(name#) to_format(name#)
	This second rule must be obeyed correctly! Only a few
	checks are made. A 'task held' may be possibly, allthough
	never appeared meanwhile testing it. More likely are
	corrupted or incorrectly named files.

INTERNAL RULES:
	They affect ToolTypes-entries. If there's any subject 
	of the following list, it is managed by the given format
	strings:
	  S	"%s"		"S:%s"
	  L	"%s-Handler"	"L:%s-Handler"
	  C	"%s"		"C:%s"
	 LIBS	"%s.library"	"LIBS:%s.library"
	 DEVS	"%s.device"	"DEVS:%s.device"
	 FONTS	"%s.font"	"FONTS:%s.font" & "FONTS:%s/##"
	The arguments are used to substitude the "%s"'s in a
	copy-command. The first string tells you 'from' which
	file and the second 'to' which file the copy command
	works. The arguments in the ToolTypes are separated by
	';', ',' or ' '.
	To copy fonts you have only to enter the name of the
	font. The programm will find out all datasizes in the
	subdir which belong to the header-file.

OTHER TOOLTYPE-ENTRIES:	
	WINDOW	standard definition ( neccessary! ) like
		"WINDOW=CON:0/0/640/200/INSTALL WINDOW"
	MAIL	A string which is the first thing a user will
		see in the execute window. A login message.
	BYE	A goodbye message.
	DELAY	Time ( in seconds/50 ) to wait after your
		goodbye message.
	VERSIONS	Only existance of this entry is tested.
		Set it to any value and if a file exists there
		will be searched for its versions. This may ease
		your decision to overwrite it or not.

ERRORS:
	Errors occur when anything neccessary is missed or
	given completely wrong:
	- ERROR on fonts
			Missing <source>.font	or
			Unable to open <destination>.font
			Some entries in FONTS: may be trashed.
	- ERROR: copy? can't find source!
			File to be copied doesn't exist.
	- ERROR on opening DESTINATION!
			Seems to be clear.
	- ERROR on opening SOURCE!
			Same as previous.
	- Clicking doesn't result in a executing window.
			Don't forget ToolType WINDOW=CON:...
			It is NECCESSARY, won't work without.
	- ICON START ONLY !
			CLI calls don't make sense.

BUGS:
	 The routine to determine the actual revision of devices
	and libraries is a hack. It is not 100% reliable, but it
	worked well with all of mine. If the hack fails a lot of
	trash will appear in the window.
	 Too less checks for validity on external rules.

TODO (before version V1.00):
	Shrink size of the executable.
	While copying fonts security questions are made, but no
	further information on old and new font are displayed.
	Beautify source before offical release.

RIGHTS:
	Belong to author. But copy is free, if Version >= V1.00.
	No fee can be claimed by anybody for this program (incl.
	myself). Therefore I'm not responsible for any damage
	caused by the usage of this program.
	Commercial usage is allowed (also no fee) !   But I hope
	to be informed (maybe I want to buy the program of some-
	body who knows to recognize a good program).
	Donations are appreciated. (Hardware like canned milk as
	well as Software like biscuits or tea bags. This may keep
	me hacking for you.)

AUTHOR:
	J. Andreas Neuper
	TEL:	0921/62440
	FIDO:	2:244/8582 JAN
