home *** CD-ROM | disk | FTP | other *** search
/ Soft 19 / Soft19.iso / delp_add / setup.txt < prev    next >
Text File  |  1996-02-25  |  8KB  |  253 lines

  1. **************************************
  2. *                         *
  3. *  Setup program for Windows v 4.50a *
  4. * ---------------------------------- *
  5. *                                    *
  6. * (c)1996 by J. BERTRAND - L. TANNER *
  7. *                         *
  8. **************************************
  9.  
  10.  
  11. This program is Freeware !!!
  12.  
  13. Use it without warranty.
  14.  
  15.  
  16. **********
  17. * Thanks *
  18. **********
  19.  
  20.     I want to thanks Herve DEQUANT a friend from my
  21. job, who give me advices about color (I am color blind) 
  22. and teach now Delphi with me.
  23.     
  24.  
  25. ****************
  26. * Introduction *
  27. ****************
  28.  
  29.  
  30.     *********
  31.     * SETUP *
  32.     *********
  33.  
  34.     This program is able to install files from floppys to
  35. your hard disk and create groups and icons in your Program
  36. Manager. It create his own log install file. Setup is able to
  37. create, delete or modify section, lines or value on Ini file
  38. where you want on target drives.
  39.  
  40.     You can move from window to window using buttons Next
  41. and Back. At anytime you can exit from installation by clicking
  42. on Cancel button.
  43.  
  44.     User can choose between standard and custom install. With
  45. standard install all files will be copy onto hard drive. With
  46. custom install user can choose differents ways.
  47.  
  48.     User is allow to change target drive and directory. To
  49. make or not an uninstall file (it will use by Unsetup 4.xx) ; to
  50. copy or not uninstall application.
  51.  
  52.  
  53.     Nota :
  54.  
  55.         If you want to use compress files from COMPRESS.EXE
  56. (making by Microsoft), compress your files with -r option !
  57.         All the source files are provided in Delphi 1.0
  58. version for Setup and Unsetup.
  59.  
  60.  
  61. ***************
  62. * Improvments *
  63. ***************
  64.  
  65.     Setup ask you between standard and custom install
  66.  
  67.     Now Setup is able to create directory C:\TRY1\TRY2 even
  68. if C:\TRY1 doesn't exist (Thanks Larry for this Tips).
  69.  
  70.     New Setup is able to install files in differents target
  71. drives or directories (C:\INSTALL for main application and 
  72. C:\UNINSTAL for UNINSTALL files). You just have to say that in 
  73. Setup.ins file on %x variables. You can to hard coded on setup.ins
  74. file directory you want for E g : C:\CHUCK. See Setup.ins file
  75. given with.
  76.  
  77.     Setup use only one copy procedure for compress or
  78. regular file (Larry again ! but who write this application in 
  79. fact me or Larry). I have modify this procedure and now Setup
  80. show you a progress bar graph during copy.
  81.  
  82.     Setup is a Windows 95 like install application, I mean 
  83. that you can move around some windows to customize your
  84. installation.
  85.  
  86.     Setup can access your Ini file or Windows Ini files to
  87. make some modification (creation, deletion and modification) on
  88. file, section or line. For E g, you are allow to create an
  89. association between your application and current suffix of your
  90. data files.
  91.  
  92.     Now Setup is able to create and install items in multiple
  93. groups (maximum 5 groups).
  94.  
  95.  
  96. **********************
  97. * Future improvments *
  98. **********************
  99.  
  100.     Adding some pop-up bmp windows comments during copy (like
  101. to Microsoft setup who gives tips and improvment during 
  102. installation).
  103.  
  104.  
  105. ******************
  106. * How to install *
  107. ******************
  108.  
  109.     Just lauch SETUP.EXE from A: or from C: (if you want to
  110. modify the source drive edit SETUP.INS file and modifiy the
  111. letter on the ODSK parameter in [ORIGIN] section or OPAT in same
  112. parameter section).
  113.  
  114.     This program copies all the files onto your hard disk (you
  115. can specify the path) and creates a SETUP.GRP group in your
  116. program manager. It creates a UNSETUP.INS file, this is the log of
  117. installation.
  118.  
  119.     I have given you all the source files so you can edit and 
  120. modify as you want. If you add any facilities please write to me 
  121. on Compuserve (ID 100621,3247).
  122.     
  123.     If you use part of install pack (Create, Unsetup, Setup),
  124. please let name into or notify that to users, I will be very
  125. gratefull on that. Thanks in advance.
  126.  
  127.  
  128. ********************
  129. * How to uninstall *
  130. ********************
  131.  
  132.     Just lauch UNSETUP.EXE on the directory you install SETUP.
  133.     After click on UnInstall button and choose UNSETUP file on
  134. the main directory you had install your application.
  135.  
  136.  
  137. ***********
  138. * History *
  139. ***********
  140.  
  141.     1.00a Original version just with dialog
  142.     1.15a Adding a progress bar during copying files
  143.     1.50a Adding blue background
  144.     1.50b Adding big titles with gradient background
  145.           Adding display of space require for installation
  146.     2.00  Adding possibility to have compressed file
  147.     3.00  Windows 95 like install application
  148.     3.00a Adding standard/custom installation
  149.           Adding multi target drives and directories in %x
  150.     3.00b Adding multi target drives and directories but
  151.           hard coded in setup.ins file
  152.     3.00c Adding a progress bar graph during copy
  153.     4.00a Adding support of Ini file so modify,delete and create
  154.     4.00b Windows version check for Progman calls with DDE
  155.     4.00c Littles modifications on INI traitments
  156.     4.00d Spelling check (by Larry 'cause he's american & I'am french)
  157.     4.00e Increasing number of files and icons to 160
  158.     4.50a Adding possibilities to create multi groups
  159.  
  160.  
  161. *************************
  162. * Setup.Ins description *
  163. *************************
  164.  
  165. ; %1 : Target directory
  166. ; %W : Windows directory
  167. ; %S : Windows System directory
  168.  
  169. [INFORMATION]
  170. TITLE=/Title of program to install/
  171. SUBTITLE=/Sub title of program to install/
  172. VERSION=/Version of the program to install/
  173. AUTHOR=/Author of the program/
  174. COPYRIGHT=/Year of creation/
  175.  
  176. [DISKS]
  177. ; This is the number of floppies needed 
  178. DSK=/Number of floppy needed/
  179. SPC=/Size in bytes on application to install/
  180.  
  181. [ORIGIN]
  182. ; Source drive and path (only one !)
  183. ODSK= /Source drive/
  184. OPAT= /Source directory/
  185.  
  186. [DESTINATION]
  187. ; Target drives and paths (multiple is allowed)
  188. NUM= /Number of targets you want/
  189. DDSK= /Target Drive #1/
  190. DPAT= /Target path #1/
  191. DDSK= /Target Drive #2/
  192. DPAT= /Target path #2/
  193.  
  194. [GROUP]
  195. ;x=GroupName,FileName
  196. NUM= /Number of group to create/
  197. 1= /Name of the group/,/Name of .GRP file/
  198.  
  199. [ICONS]
  200. ;x=#Floppy,FileName,TargetPath,IconName,CompressedFlag,GroupNumber
  201. NUM= /Number of Icon to create/
  202. 1= /ID of floppy/,/Name of file/,/Path of file/,/Icon name/,/_ or #/,/Number of group/
  203.  
  204. [FILES]
  205. ;x=#Floppy,FileName,TargetPath,CompressedFlag
  206. ;/Copy the file FileName in the path TargetPath/
  207. NUM= /Number of file to copy/
  208. 1=/Id of floppy/,/Name of file/,/Path of file/,/_ or #/
  209.  
  210. [RUN]
  211. ;x=FileName,FilePath,DocName,DocPath
  212. ;/Execute FileName on FilePath with the document DocName located in DocPath/
  213. NUM= /Number of application to start/
  214. 1= /Name of application/,/path of application/,/Name of document/,/Path of document/
  215.  
  216. [INI]
  217. ;x=FileName,FilePath,SectionName,LineName,Value
  218. NUM= /Number of lines follows/
  219. 1=/Ini file with .INI extension/,/Path of Ini File/,/Ini section/,/Ini line/,/Ini value/
  220.  
  221.  
  222. Notes :
  223. =======
  224.  
  225.     About RUN section :
  226.  
  227.         If document you want to lauch do not exist on your
  228.     hard drive, you must set his name on Icon or FILE section 
  229.     to copy it, else application you specify (Eg Notepad.exe)
  230.     lauch but with a virgin document.
  231.  
  232.  
  233.     About INI section :
  234.  
  235.         If you want to delete a section, write like that
  236.             1=WIN.INI,%W,Desktop,,
  237.         If you want to clear a line on a section, write like that
  238.             1=WIN.INI,%W,Desktop,Wallpaper,
  239.         If you want to delete an Ini file, write like that
  240.             1=FileNAME.INI,%W,,,
  241.         if you want to modifiy a value in a line in a section, write like that
  242.             1=WIN.INI,%W,Desktop,WallPaper,Picture.Bmp
  243.  
  244.  
  245.  
  246.     I hope that the files above gives you all information you
  247. need to create another installation program or just to use it for
  248. your own program.
  249.  
  250.  
  251.  
  252.     JΘr⌠me BERTRAND, PARIS
  253.