home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l420 / 1.ddi / SETUP.INI < prev    next >
Encoding:
Text File  |  1990-11-29  |  13.9 KB  |  267 lines

  1. *--------------------------------------------------------------------------*
  2. * Dan Bricklin's Demo II                                                    *
  3. * SAGE Software Inc.                                                        *
  4. * Copyright 1990, All Rights Reserved                                       *
  5. *                                                                           *
  6. *---------------------------------------------------------------------------*
  7. **********************   CODE RELEASE  *  CODE RELEASE **********************
  8. *---------------------------------------------------------------------------*
  9. *  OCT 1990  MC  Initial for 3.0                                            *
  10. *  OCT 1990  NS  Touchup for field test                                     *
  11. *-----------------------| AVAILABLE FLAGS & VARIABLES |---------------------*
  12. * Available Flags:     ghijkmnopqrstuvw0123456789                           *
  13. * Available Variables: ** none **                                           *
  14. *---------------------------------------------------------------------------*
  15.  
  16.  
  17. *-------------------------| RESET ALL FLAGS TO FALSE |----------------------*
  18.  
  19. :SETOFF ABCDEFGHIJKLMNOPQRSTUVWYZ
  20. :SETOFF abcdefghijklmnopqrstuvwyz
  21. :SETOFF 1234567890
  22.  
  23. *-----------------| TURN ON THE DEFAULT FLAGS AND VARIABLES |---------------*
  24. *-----------------| THE STRING TAGS CORRESPOND TO THE INPUT |---------------*
  25. *-----------------| TAGS FOR THE EXE AND TIPS DIRECTORIES   |---------------*
  26.  
  27. :SETON ADFJMNQSafsz
  28. :SOURCEDISK A
  29. :DISKTYPE f
  30.  
  31. :STRING 1 "C:"
  32. :STRING 2 "DEMO2"
  33. :STRING 3 "DEMOTIPS"
  34.  
  35.  
  36. **********************| BEGIN THE INSTALL DIALOG PROCESS |*******************
  37. :LABEL 0
  38. :SCREEN
  39. ╒═════════════════════════════════════════════════════════════════════════════╕
  40. │                                                                             │
  41. │                                                                             │
  42. │                         Dan Bricklin's Demo II                              │
  43. │                                                                             │
  44. │                                                                             │
  45. │          *******                                                            │
  46. │          ****                                                               │
  47. │          ***                                                                │
  48. │          ***      ***************************************************       │
  49. │          ****      **************************************************       │
  50. │          *****      ********                                     ****       │
  51. │          ******      ******* SAGE Software, Inc.                 ****       │
  52. │          *******      ****** Copyright 1990, All Rights Reserved ****       │
  53. │          ******      *******                                     ****       │
  54. │                     *************************************************       │
  55. │                  ****************************************************       │
  56. │                                                                             │
  57. │                                                                             │
  58. │                                                                             │
  59. │                                                                             │
  60. │                                                                             │
  61. │                                                Press Enter to Continue....  │
  62. │                                                                             │
  63. ╘═════════════════════════════════════════════════════════════════════════════╛
  64. :OPTION \E :STOP
  65. :OPTION \N :NEXT
  66. :OPTION \F81 :GOTO 1 
  67. :CHAR 23 77
  68.  
  69. :LABEL 1b
  70. :SCREEN
  71. ╒═════════════════════════════════════════════════════════════════════════════╕
  72. │                             Dan Bricklin's Demo II                          │
  73. │                              Installation Program                           │
  74. ├─────────────────────────────────────────────────────────────────────────────┤
  75. │                                                                             │
  76. │                                                                             │
  77. │     The Demo II setup facility will assist you with installation.           │
  78. │                                                                             │
  79. │                                                                             │
  80. │     Each dialog screen will present you with the next step in the           │
  81. │     installation process. You will need to complete the required            │
  82. │     information before you will be allowed to pass to the next dialog       │
  83. │     screen. Except where noted, pressing the ESCAPE key will allow you      │
  84. │     to return to a previous screen.                                         │
  85. │                                                                             │
  86. │     On screens that require some form of input you have the normal          │
  87. │     cursor editing keys at your disposal. Simply press ENTER to             │
  88. │     confirm the change.                                                     │
  89. │                                                                             │
  90. │     Please press ENTER to continue to the next dialog screen.               │
  91. │                                                                             │
  92. ├─────────────────────────────────────────────────────────────────────────────┤
  93. │     SAGE Software, Inc.                                                     │
  94. │     Copyright 1990                                           Screen 1 of 4  │
  95. ╘═════════════════════════════════════════════════════════════════════════════╛
  96. :OPTION \E :GOTO 0
  97. :OPTION \N :NEXT
  98. :OPTION \F71 :GOTO 1
  99. :OPTION \F73 :GOTO 1
  100. :OPTION \F81 :GOTO 2
  101. :CHAR 20 64
  102. :LABEL 2
  103. :SELECT    ""
  104. :NOTSELECT " "
  105. :SCREEN
  106. ╒═════════════════════════════════════════════════════════════════════════════╕
  107. │                             Dan Bricklin's Demo II                          │
  108. │                              Installation Program                           │
  109. ├─────────────────────────────────────────────────────────────────────────────┤
  110. │                                                                             │
  111. │                         ** INSTALLATION PROCESS **                          │
  112. │                                                                             │
  113. │     To indicate to the installation process where the SOURCE drive will     │
  114. │     be located, please press the appropriate letter that corresponds to     │
  115. │     the drive letter where the SOURCE will be located.                      │
  116. │                                                                             │
  117. │                                                                             │
  118. │                                                                             │
  119. │                                                                             │
  120. │     Source Drive:    A:\     B:\     C:\     D:\     E:\                    │
  121. │                                                                             │
  122. │                                                                             │
  123. │                                                                             │
  124. │                                                                             │
  125. │     Please press ENTER to continue to the install menu.                     │
  126. │                                                                             │
  127. ├─────────────────────────────────────────────────────────────────────────────┤
  128. │     SAGE Software, Inc.                                                     │
  129. │     Copyright 1990                                           Screen 2 of 4  │
  130. ╘═════════════════════════════════════════════════════════════════════════════╛
  131. :INDICATOR a 15 28
  132. :INDICATOR b 15 36
  133. :INDICATOR c 15 44
  134. :INDICATOR d 15 52
  135. :INDICATOR e 15 60
  136. :OPTION \E :GOTO 1
  137. :OPTION \N :NEXT
  138. :OPTION \F71 :GOTO 1
  139. :OPTION \F73 :GOTO 1
  140. :OPTION \F81 :GOTO 3
  141. :OPTION A :SETON a :SETOFF bcde :SOURCEDISK A
  142. :OPTION B :SETON b :SETOFF acde :SOURCEDISK B
  143. :OPTION C :SETON c :SETOFF abde :SOURCEDISK C
  144. :OPTION D :SETON d :SETOFF abce :SOURCEDISK D
  145. :OPTION E :SETON e :SETOFF abcd :SOURCEDISK E
  146. :SETON f :SETOFF l    :DISKTYPE f
  147. :CHAR 20 58
  148. :LABEL 3
  149. :SCREEN
  150. ╒═════════════════════════════════════════════════════════════════════════════╕
  151. │                             Dan Bricklin's Demo II                          │
  152. │                              Installation Program                           │
  153. ├─────────────────────────────────────────────────────────────────────────────┤
  154. │                                                                             │
  155. │                       SPECIFY DEMO II SOFTWARE PATH                         │
  156. │                                                                             │
  157. │     Specify the drive and path where DEMO II software modules will reside.  │
  158. │                                                                             │
  159. │     You will need 2600k bytes free to complete installation.                │
  160. │     Demo II will consume 2300k bytes once installation is complete.         │
  161. │                                                                             │
  162. │     Press ENTER after you complete each field.                              │
  163. │                                                                             │
  164. │       Demo II Drive:                                                        │
  165. │         Program Directory:                                                  │
  166. │         Tutorial Sub-Directory:                                             │
  167. │                                                                             │ 
  168. │                                                                             │
  169. │     Enter the appropriate information.                                      │
  170. │     Then press ENTER to continue.                (No ESCAPE allowed here)   │
  171. ├─────────────────────────────────────────────────────────────────────────────┤
  172. │     SAGE Software, Inc.                                                     │
  173. │     Copyright 1990                                           Screen 3 of 4  │
  174. ╘═════════════════════════════════════════════════════════════════════════════╛
  175. :OPTION \E   :GOTO 2
  176. :OPTION \F73 :GOTO 2
  177. :OPTION \F81 :GOTO 4 
  178. :PUTSTRING 15 37 1
  179. :PUTSTRING 16 37 2
  180. :PUTSTRING 17 37 3
  181. :INPUTSTRING 1 15 37 2    
  182. :INPUTSTRING 2 16 37 40    
  183. :INPUTSTRING 3 17 37 8    
  184. :LABEL 4
  185. :FLUSH
  186. :SETOFF X
  187. :SCREEN
  188. ╒═════════════════════════════════════════════════════════════════════════════╕
  189. │                             Dan Bricklin's Demo II                          │
  190. │                              Installation Program                           │
  191. ├─────────────────────────────────────────────────────────────────────────────┤
  192. │                                                                             │
  193. │                           ** INSTALLATION MENU **                           │
  194. │                                                                             │
  195. │                     1. INSTALL the Demo II                                  │
  196. │                                                                             │
  197. │                     2. PREVIEW the Installation                             │
  198. │                                                                             │
  199. │                     3. RESTART from the beginning                           │
  200. │                                                                             │
  201. │                     4. EXIT from the Installation                           │
  202. │                                                                             │
  203. │                                                                             │
  204. │                                                                             │
  205. │                  * The INSTALL option will overwrite any                    │
  206. │                    existing Demo II system files if they                    │
  207. │                    happen to already exist.                                 │
  208. │                                                                             │
  209. ├─────────────────────────────────────────────────────────────────────────────┤
  210. │     SAGE Software, Inc.                                                     │
  211. │     Copyright 1990                                          Screen  4 of 4  │
  212. ╘═════════════════════════════════════════════════════════════════════════════╛
  213. :OPTION 1 :GOTO 5
  214. :OPTION 2 :DUMMY 4 :NEXT
  215. :OPTION 3 :RESTART
  216. :OPTION 4 :STOP
  217. :OPTION \E :GOTO 3
  218. :OPTION \F71 :GOTO 1
  219. :OPTION \F73 :GOTO 3
  220. :CHAR 20 45
  221.  
  222. :LABEL 5
  223. :IF X :STOP
  224.  
  225.  
  226. ********** DESTINATION STRINGS ************
  227. :STRING s 1 "\" 2 
  228. :STRING t 1 "\" 2 "\" 3 
  229.  
  230. :INSTALL
  231. :DISKNAME f 01 "Demo II - Disk 1"
  232. :DISKNAME f 02 "Demo II - Disk 2"
  233. :DISKNAME f 03 "Demo II - Disk 3"
  234. :DISK
  235. f  01  s *         ONE.EXE 
  236. f  02  t *         TWO.EXE
  237. f  03  t *         THREEA.EXE
  238. f  03  s *         THREEB.EXE
  239.  
  240. *** remove each zip after extracting to minimize space requirements ***
  241.  
  242. :DOINSTALL
  243. :STRING 6 "/C " 1 "\" 2 "\ONE -o " 1 "\" 2 "\"
  244. :STRING 7 "/C DEL " 1 "\" 2 "\ONE.EXE" 
  245. :STRING 8 "/C " 1 "\" 2 "\" 3 "\TWO -o " 1 "\" 2 "\" 3 "\"
  246. :STRING 9 "/C DEL " 1 "\" 2 "\" 3 "\TWO.EXE"
  247. :EXEC $COMSPEC 6
  248. :EXEC $COMSPEC 7
  249. :EXEC $COMSPEC 8
  250. :EXEC $COMSPEC 9
  251. :STRING 6 "/C " 1 "\" 2 "\" 3 "\THREEA -o " 1 "\" 2 "\" 3 "\"
  252. :STRING 7 "/C DEL " 1 "\" 2 "\" 3 "\THREEA.EXE"
  253. :STRING 8 "/C " 1 "\" 2 "\THREEB -o " 1 "\" 2 "\" 
  254. :STRING 9 "/C DEL " 1 "\" 2 "\THREEB.EXE" 
  255. :EXEC $COMSPEC 6
  256. :EXEC $COMSPEC 7
  257. :EXEC $COMSPEC 8
  258. :EXEC $COMSPEC 9
  259.  
  260. *** build bat file to start tips and techniques demo ***
  261. :STRING 6 "/C echo cd " 1 "\" 2 "\" 3 ">" 1 "\" 2 "\start.bat"
  262. :STRING 7 "/C echo " 1 "\" 2 "\rdemo2 -bitm32 start" >> 1 "\" 2 "\start.bat"
  263. :EXEC $COMSPEC 6
  264. :EXEC $COMSPEC 7
  265.  
  266.  
  267.