home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / inst100.zip / SAMPLE.SCR < prev    next >
Text File  |  1994-09-01  |  5KB  |  120 lines

  1. ;===============================================================================
  2. ;                       Install sample script
  3. ;===============================================================================
  4. ;
  5. ;
  6. ; All lines are restricted to 80 characters.
  7. ;
  8. ; Everything after semicolon (;) is considered to be a comment and is ignored.
  9. ;
  10. ;
  11. ; Let us assume that we have the following directory structure:
  12. ;
  13. ;       \ (root)
  14. ;        |
  15. ;        |___INVEST
  16. ;        |      |
  17. ;        |      |___DATA
  18. ;        |      |
  19. ;        |      |___EXAMPLES
  20. ;        |
  21. ;        |
  22. ;
  23. ;
  24. ; and we want to distribute our new Invest System with the same directory
  25. ; structure (and the same names for directories under INVEST).
  26. ;
  27. ;
  28. ; These are the files to be send:
  29. ;
  30. ;         directory   file name                 description
  31. ;
  32. ;         INVEST      READ.ME                   latest info
  33. ;                     INVEST.EXE                main program
  34. ;                     INV010.DLL                subprogram
  35. ;                     INV020.DLL                subprogram
  36. ;                     INV030.DLL                subprogram
  37. ;                     INV040.DLL                subprogram
  38. ;                     INVSCRN                   screen definition file
  39. ;
  40. ;         DATA        INVCFG.DAT                configuration file
  41. ;                     INVCUST.DAT               customer file (empty)
  42. ;                     INVEVENT.DAT              event file (empty)
  43. ;
  44. ;         EXAMPLES    SAMPLE1                   sample data file #1
  45. ;                     SAMPLE2                   sample data file #2
  46. ;
  47. ;
  48. ; Following script can be used to create distribution diskette(s). Pass script
  49. ; file name as a command line parameter to INSTBLD (ie. INSTBLD SAMPLE.SCR).
  50. ;
  51. ; Note that your current directory must be \INVEST and you should have few
  52. ; formated (and empty) floppies ready.
  53. ;
  54. ; Below are the parameters which INSTBLD uses to create INSTALL.DAT. If you
  55. ; do not pass script file name, INSTBLD will prompt you for each parameter.
  56. ;
  57. ; If you want you can create script file partially. INSTBLD will ask you for
  58. ; all the missing parameters (ie. if the end of script file is at 'min CPU'
  59. ; line, INSTBLD will ask you for minimum disk space, compression speed/size
  60. ; specifier, suggested directory and files to compress).
  61. ;
  62. ;
  63. ;
  64. ;-------------------------------------------------------------------------------
  65. a                                     ;destination floppy disk
  66. read.me                               ;file to copy (uncompressed)
  67.                                       ;no more files to copy (must be blank)
  68. Copyright (c) 1994, Your name here    ;(c)
  69. Invest System                         ;system name
  70. 330                                   ;min DOS (3.30)
  71. 386                                   ;min CPU (386)
  72. 3000000                               ;min destination disk space (3 Mb)
  73. m                                     ;compression speed/size spec (medium)
  74. \invest                               ;suggested directory
  75. invest.exe                            ;main program from \INVEST dir
  76. inv*.dll                              ;subprograms from \INVEST dir
  77. invscr                                ;screen definition file from \INVEST dir
  78. data\inv*.dat                         ;data files from \INVEST\DATA dir
  79. examples\sample?                      ;sample files from \INVEST\EXAMPLES dir
  80.                                       ;no more files to compress (must be blank)
  81. ;-------------------------------------------------------------------------------
  82. ;
  83. ; Destination diskette will contain these files:
  84. ;
  85. ;                    READ.ME
  86. ;                    INSTALL.EXE
  87. ;                    INSTALL.DAT
  88. ;
  89. ; Note that INSTALL.DAT can be spread over multiple floppies.
  90. ;
  91. ; When INSTALL.EXE is run from the distribution disk it will read INSTALL.DAT
  92. ; and create the same directory structure as above, decompress all the files
  93. ; and put them into their corresponding directories.
  94. ;
  95. ; Destination disk and base directory (in our example suggested base directory
  96. ; is \INVEST) are chosen by the end user.
  97. ;
  98. ; If, for some reasons, we want to distribute only programs (not the data
  99. ;  files or sample data), just comment out (;) lines
  100. ;
  101. ;                         data\inv*.dat
  102. ;                         examples\sample?
  103. ;
  104. ;
  105. ; Hint: you might want to have two scripts for your application:
  106. ;         - one for a full blown system (programs files, data files, examples)
  107. ;         - one for a software updates (program files only).
  108. ;
  109. ;
  110. ; Zoran Milenovic
  111. ; Zoran Computing Co.
  112. ; 5855 N. Sheridan Rd. Suite 8-D
  113. ; Chicago IL 60660
  114. ; phone (312) 275-0029
  115. ; e-mail: zoranm@interaccess.com
  116. ;
  117. ;===============================================================================
  118. ;                      End of Install sample script
  119. ;===============================================================================
  120.