Setup 1.0 
-----------------------------------------------
Setup program for your self developped applications.

Thank you for downloading this litte tool. I needed it and I 
thought somebody else could find it usefull too.

Please excuse typing and grammatical mistakes, english
is not my mother tongue !

General statements
------------------

This program is designed to install your self-developped Windows
applications on a harddisk when you distribute it.

You can use it and pass it along together with your application,
if you do so, I do ask you to send me about $5.00 for a good
meal and for registration.
Please do not distribute the program with your commercial 
applications without registration, I spent time on developping and
testing it.
When registered, you can get further versions of the setup program
with additional features such as create program manager icons,
change win.ini or system.ini or install different configurations.

Update
------
This is the new version of SETUP 0.9, much safer, smaller and 
less bugs.

How to use
----------
For you: Simply put SETUP.EXE together with the files of your 
application on a diskette etc. and write a little batch file
to instruct SETUP.

When the user starts SETUP to install your application,
he can choose the source directory where the installations files 
are (startup directory of SETUP) and the destination directory
on his harddisk.
SETUP now creates the destination directory and copies the source
files. When required, SETUP can create several subdirectories (e.g.
data directories, source code directories).
SETUP can copy initialization files etc. to the windows or system 
directory as well.

You have to write a little batch file SETUP.INF (see below) to 
instruct SETUP what to do. It has two sections.

The first four lines describe the startup configuration of SETUP.

First line     	Free for your use. What you type here will be
Second line:   	displayed in the information lines of SETUP

Third line:    	default source, typically A: or * for the startup
		directory of SETUP (best choice)		
Fourth line:   	default destination

The next section is the batch section. If starts with the 
statement BEGIN.

There are four statements you can use:

MD	MakeDirectory		Creates Directory specified, 
				where # means the eventually 
				user changed default directory.

				e.g.
				MD #
				MD #\DATA
				MD #\DATA\EXAMPLE

CD	ChangeDirectory		Changes to specified directory,
				can be: 
				
				#	default directory
				#\XYZ   subdirectory xyz if 
					already created
				windows	Windows directory
				system	Windows system directory
				dos	DOS directory

				e.g.
				CD windows
				CD #\DATA
				CD #

ND  	NewDisk     		Requests for diskette change, Diskette Name
                		will be displayed
                
				e.g.
                		ND Disk 2
                		ND Examples disk

CP	Copy			Copies the file to the actual 
				directory (latest MD or CD
				statement)
				The first filename must be the 
				source name of the file on the 
				diskette, e.g. MYAPP.EX_ 
				The second filename is the name
				the file will have on the harddisk,
				e.g. MYAPP.EXE
				They dont have to be different,
				but they can.
						
				e.g.
				CP myapp.ex_,myapp.exe

A sample SETUP.INF
------------------

-
My Application Setup    	Information lines
(c) MyApp Software		
A:				default source drive/directory
C:\MYAPP			default destination directory
				named # in batch section

BEGIN				start batch
ND Setup Disk       		Requests to insert Setup Disk
MD #				make application directory
CP myapp.ex_,myapp.exe		copy myapp.exe to app directory
CP mydll.dl_,mydll.dll		copy myapp.dll to app directory
ND Source Disk      		Requests to insert Source Disk
MD #\SOURCE			make subdirectory under app directory
CP myapp.cp_,myapp.cpp		copy myapp.cpp to subdirectory
CP mydll.cp_,mydll.cpp      	copy mydll.cpp to subdirectory
CP myapp.r_,myapp.rc		copy myapp.rc to subdirectory
CD windows			choose windows directory
CP myapp.in_,myapp.ini		copy myapp.ini to windows directory
END
-

When SETUP has finished, the files

myapp.exe, myapp.dll		will be (or should be) in C:\MYAPP

myapp.cpp, mydll.cpp myapp.rc	will be in C:\MYAPP\SOURCE

myapp.ini			will be in C:\WINDOWS

if the user has not changed C:\MYAPP and Windows is in C:\WINDOWS.


Setup will not create a program manager icon, will not make any 
win.ini, system.ini or autoexec.bat changes and has no option
to setup your application in different configurations.

Watch for updated version in the forum where you got it from
or register to receive new versions. Add $5 to your registration
fee and youll get the next version as soon as available.

My address is:

	Robert Senger
	Adalbertstrasse 21
	80799 Munich
	Germany

	CompuServe: 	100273,1342
	Internet:	rsenger@physik.tumuenchen.de

Contact me if you have suggestions or found bugs.
Thank you !

--------------------------------------------------------------
Registration

Name:	  ____________________________________________________
	
Address:  ____________________________________________________

Country:  ____________________________________________________


Comments:










--------------------------------------------------------------





   


