home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Soft 19
/
Soft19.iso
/
delp_add
/
setup.txt
< prev
next >
Wrap
Text File
|
1996-02-25
|
8KB
|
253 lines
**************************************
* *
* Setup program for Windows v 4.50a *
* ---------------------------------- *
* *
* (c)1996 by J. BERTRAND - L. TANNER *
* *
**************************************
This program is Freeware !!!
Use it without warranty.
**********
* Thanks *
**********
I want to thanks Herve DEQUANT a friend from my
job, who give me advices about color (I am color blind)
and teach now Delphi with me.
****************
* Introduction *
****************
*********
* SETUP *
*********
This program is able to install files from floppys to
your hard disk and create groups and icons in your Program
Manager. It create his own log install file. Setup is able to
create, delete or modify section, lines or value on Ini file
where you want on target drives.
You can move from window to window using buttons Next
and Back. At anytime you can exit from installation by clicking
on Cancel button.
User can choose between standard and custom install. With
standard install all files will be copy onto hard drive. With
custom install user can choose differents ways.
User is allow to change target drive and directory. To
make or not an uninstall file (it will use by Unsetup 4.xx) ; to
copy or not uninstall application.
Nota :
If you want to use compress files from COMPRESS.EXE
(making by Microsoft), compress your files with -r option !
All the source files are provided in Delphi 1.0
version for Setup and Unsetup.
***************
* Improvments *
***************
Setup ask you between standard and custom install
Now Setup is able to create directory C:\TRY1\TRY2 even
if C:\TRY1 doesn't exist (Thanks Larry for this Tips).
New Setup is able to install files in differents target
drives or directories (C:\INSTALL for main application and
C:\UNINSTAL for UNINSTALL files). You just have to say that in
Setup.ins file on %x variables. You can to hard coded on setup.ins
file directory you want for E g : C:\CHUCK. See Setup.ins file
given with.
Setup use only one copy procedure for compress or
regular file (Larry again ! but who write this application in
fact me or Larry). I have modify this procedure and now Setup
show you a progress bar graph during copy.
Setup is a Windows 95 like install application, I mean
that you can move around some windows to customize your
installation.
Setup can access your Ini file or Windows Ini files to
make some modification (creation, deletion and modification) on
file, section or line. For E g, you are allow to create an
association between your application and current suffix of your
data files.
Now Setup is able to create and install items in multiple
groups (maximum 5 groups).
**********************
* Future improvments *
**********************
Adding some pop-up bmp windows comments during copy (like
to Microsoft setup who gives tips and improvment during
installation).
******************
* How to install *
******************
Just lauch SETUP.EXE from A: or from C: (if you want to
modify the source drive edit SETUP.INS file and modifiy the
letter on the ODSK parameter in [ORIGIN] section or OPAT in same
parameter section).
This program copies all the files onto your hard disk (you
can specify the path) and creates a SETUP.GRP group in your
program manager. It creates a UNSETUP.INS file, this is the log of
installation.
I have given you all the source files so you can edit and
modify as you want. If you add any facilities please write to me
on Compuserve (ID 100621,3247).
If you use part of install pack (Create, Unsetup, Setup),
please let name into or notify that to users, I will be very
gratefull on that. Thanks in advance.
********************
* How to uninstall *
********************
Just lauch UNSETUP.EXE on the directory you install SETUP.
After click on UnInstall button and choose UNSETUP file on
the main directory you had install your application.
***********
* History *
***********
1.00a Original version just with dialog
1.15a Adding a progress bar during copying files
1.50a Adding blue background
1.50b Adding big titles with gradient background
Adding display of space require for installation
2.00 Adding possibility to have compressed file
3.00 Windows 95 like install application
3.00a Adding standard/custom installation
Adding multi target drives and directories in %x
3.00b Adding multi target drives and directories but
hard coded in setup.ins file
3.00c Adding a progress bar graph during copy
4.00a Adding support of Ini file so modify,delete and create
4.00b Windows version check for Progman calls with DDE
4.00c Littles modifications on INI traitments
4.00d Spelling check (by Larry 'cause he's american & I'am french)
4.00e Increasing number of files and icons to 160
4.50a Adding possibilities to create multi groups
*************************
* Setup.Ins description *
*************************
; %1 : Target directory
; %W : Windows directory
; %S : Windows System directory
[INFORMATION]
TITLE=/Title of program to install/
SUBTITLE=/Sub title of program to install/
VERSION=/Version of the program to install/
AUTHOR=/Author of the program/
COPYRIGHT=/Year of creation/
[DISKS]
; This is the number of floppies needed
DSK=/Number of floppy needed/
SPC=/Size in bytes on application to install/
[ORIGIN]
; Source drive and path (only one !)
ODSK= /Source drive/
OPAT= /Source directory/
[DESTINATION]
; Target drives and paths (multiple is allowed)
NUM= /Number of targets you want/
DDSK= /Target Drive #1/
DPAT= /Target path #1/
DDSK= /Target Drive #2/
DPAT= /Target path #2/
[GROUP]
;x=GroupName,FileName
NUM= /Number of group to create/
1= /Name of the group/,/Name of .GRP file/
[ICONS]
;x=#Floppy,FileName,TargetPath,IconName,CompressedFlag,GroupNumber
NUM= /Number of Icon to create/
1= /ID of floppy/,/Name of file/,/Path of file/,/Icon name/,/_ or #/,/Number of group/
[FILES]
;x=#Floppy,FileName,TargetPath,CompressedFlag
;/Copy the file FileName in the path TargetPath/
NUM= /Number of file to copy/
1=/Id of floppy/,/Name of file/,/Path of file/,/_ or #/
[RUN]
;x=FileName,FilePath,DocName,DocPath
;/Execute FileName on FilePath with the document DocName located in DocPath/
NUM= /Number of application to start/
1= /Name of application/,/path of application/,/Name of document/,/Path of document/
[INI]
;x=FileName,FilePath,SectionName,LineName,Value
NUM= /Number of lines follows/
1=/Ini file with .INI extension/,/Path of Ini File/,/Ini section/,/Ini line/,/Ini value/
Notes :
=======
About RUN section :
If document you want to lauch do not exist on your
hard drive, you must set his name on Icon or FILE section
to copy it, else application you specify (Eg Notepad.exe)
lauch but with a virgin document.
About INI section :
If you want to delete a section, write like that
1=WIN.INI,%W,Desktop,,
If you want to clear a line on a section, write like that
1=WIN.INI,%W,Desktop,Wallpaper,
If you want to delete an Ini file, write like that
1=FileNAME.INI,%W,,,
if you want to modifiy a value in a line in a section, write like that
1=WIN.INI,%W,Desktop,WallPaper,Picture.Bmp
I hope that the files above gives you all information you
need to create another installation program or just to use it for
your own program.
JΘr⌠me BERTRAND, PARIS