home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c496 / 1.img / INSTALL.SCR < prev    next >
Encoding:
Text File  |  1991-09-18  |  8.9 KB  |  273 lines

  1. echo   #############################################
  2. echo   #  Installation procedure for WATCOM C/386  #
  3. echo   #############################################
  4. #
  5. # inquire about what to install
  6. #
  7. ask dosx Will you be developing 32-bit applications for a DOS Extender [503K] ?
  8. set pls n
  9. set ecs n
  10. set dos4g n
  11. set ads n
  12. if %dosx ask pls Do you wish to install support for the Phar Lap DOS extender [171K] ?
  13. if %dosx ask ecs Do you wish to install support for the Ergo DOS extender [18K] ?
  14. if %dosx ask dos4g Do you wish to install support for the Rational DOS extender [417K] ?
  15. if %dosx ask ads Do you wish to install support for the AutoCAD Development System [71K] ?
  16. ask win3tgt Will you be developing 32-bit applications for Windows 3.x [2087K] ? 
  17. set wex n
  18. set sdk n
  19. set doc n
  20. if %win3tgt ask wex Do you want Windows 3.x examples installed [644K] ?
  21. if %win3tgt ask sdk Do you want Windows 3.x SDK examples installed [152K] ?
  22. if %win3tgt ask doc Do you want Windows 3.x on-line help installed [1928K] ?
  23. ask os2host Will you be using OS/2 as a development environment [499K] ?
  24. ask help Do you wish to install the HELP utility and help files [460K] ?
  25. ask nlm Do you wish to install debugger support for NLMs [135K] ?
  26. ask wprof Do you wish to install the Profiler [550K] ?
  27. #
  28. # create destination directories
  29. #
  30. mkdir %2
  31. mkdir %2bin
  32. mkdir %2binb
  33. mkdir %2binp
  34. mkdir %2binw
  35. if %nlm mkdir %2nlm
  36. mkdir %2lib386
  37. mkdir %2lib386\dos
  38. mkdir %2lib386\win
  39. mkdir %2src
  40. if %win3tgt mkdir %2src\inc
  41. mkdir %2src\startup
  42. mkdir %2src\startup\386
  43. if %ads mkdir %2src\startup\ads
  44. if %sdk mkdir %2src\dll
  45. if %sdk mkdir %2src\sdkpatch
  46. if %sdk mkdir %2src\sdkpatch\bitmap
  47. if %sdk mkdir %2src\sdkpatch\cliptext
  48. if %sdk mkdir %2src\sdkpatch\clock
  49. if %sdk mkdir %2src\sdkpatch\cursor
  50. if %sdk mkdir %2src\sdkpatch\dde
  51. if %sdk mkdir %2src\sdkpatch\editcntl
  52. if %sdk mkdir %2src\sdkpatch\editfile
  53. if %sdk mkdir %2src\sdkpatch\editmenu
  54. if %sdk mkdir %2src\sdkpatch\fileopen
  55. if %sdk mkdir %2src\sdkpatch\generic
  56. if %sdk mkdir %2src\sdkpatch\helpex
  57. if %sdk mkdir %2src\sdkpatch\icon
  58. if %sdk mkdir %2src\sdkpatch\input
  59. if %sdk mkdir %2src\sdkpatch\menu
  60. if %sdk mkdir %2src\sdkpatch\multipad
  61. if %sdk mkdir %2src\sdkpatch\mypal
  62. if %sdk mkdir %2src\sdkpatch\output
  63. if %sdk mkdir %2src\sdkpatch\owncombo
  64. if %sdk mkdir %2src\sdkpatch\prntfile
  65. if %sdk mkdir %2src\sdkpatch\showfont
  66. if %sdk mkdir %2src\sdkpatch\tty
  67. mkdir %2src\win
  68. if %wex mkdir %2src\win\alarm
  69. if %wex mkdir %2src\win\chart
  70. if %wex mkdir %2src\win\datactl
  71. if %wex mkdir %2src\win\edit
  72. if %wex mkdir %2src\win\filedll
  73. if %wex mkdir %2src\win\generic
  74. if %wex mkdir %2src\win\helpex
  75. if %wex mkdir %2src\win\iconview
  76. if %wex mkdir %2src\win\life
  77. if %wex mkdir %2src\win\shootgal
  78. if %wex mkdir %2src\win\watzee
  79. mkdir %2h
  80. mkdir %2h\sys
  81. #
  82. # install software on diskette #1
  83. #
  84. unpack %2 %1readme.wpk
  85. unpack %2binb\ %1wcl386.wpk
  86. unpack %2bin\ %1wcc386.dos
  87. unpack %2bin\ %1386wcgl.wpk
  88. unpack %2bin\ %1wcc386p.wpk
  89. if %os2host unpack %2binp\ %1wcc386.os2
  90. unpack %2binb\ %1wmake.wpk
  91. unpack %2binb\ %1womp.wpk
  92. unpack %2binb\ %1bpatch.wpk
  93. unpack %2binb\ %1wdisasm.wpk
  94. unpack %2bin\ %1cfig386.wpk
  95. unpack %2src\ %1source.wpk
  96. if %dos4g unpack %2src\ %1wstubsrc.wpk
  97. unpack %2src\startup\ %1startup.wpk
  98. unpack %2src\startup\386\ %1startup.386
  99. if %win3tgt unpack %2src\startup\386\ %1startup.w32
  100. if %ads unpack %2src\startup\ads\ %1startup.ads
  101. if %ads unpack %2lib386\dos\ %1adsstart.wpk
  102. unpack %2h\ %1h.wpk
  103. unpack %2h\ %1h386.wpk
  104. unpack %2h\sys\ %1h_sys.wpk
  105. #
  106. # install software on diskette #2
  107. #
  108. enter %1wlink.wpk disk 2, labelled "Library & Linker Disk"
  109. unpack %2binb\ %1wlink.wpk
  110. unpack %2bin\ %1wlinkp.wpk
  111. unpack %2binb\ %1ms2wlink.wpk
  112. unpack %2binb\ %1wstrip.wpk
  113. unpack %2binb\ %1wlib.wpk
  114. unpack %2bin\ %1cmdedit.wpk
  115. if %help unpack %2bin\ %1whelp.dos
  116. if %help if %os2host unpack %2binp\ %1whelp.os2
  117. if %help unpack %2binb\ %1watcomc.wpk
  118. if %help unpack %2binb\ %1graphhlp.wpk
  119. if %dosx unpack %2lib386\dos\ %1clib3r.dos
  120. if %dosx unpack %2lib386\dos\ %1clib3s.dos
  121. if %dosx unpack %2lib386\dos\ %1graph.dos
  122. if %win3tgt unpack %2lib386\win\ %1win386.wpk
  123. if %win3tgt unpack %2lib386\win\ %1clib3r.win
  124. if %win3tgt unpack %2lib386\win\ %1clib3s.win
  125. unpack %2lib386\ %1math3r.wpk
  126. unpack %2lib386\ %1math387r.wpk
  127. unpack %2lib386\ %1math3s.wpk
  128. unpack %2lib386\ %1math387s.wpk
  129. if %dos4g unpack %2bin\ %1dos4gw.wpk
  130. if %dos4g unpack %2bin\ %1rminfo.wpk
  131. if %dos4g unpack %2binb\ %1wstub.wpk
  132. if %dos4g unpack %2bin\ %1privatxm.wpk
  133. #
  134. # install software on diskette #3
  135. #
  136. enter %1wvideo.dos disk 3, labelled "Debugger & Profiler Disk"
  137. unpack %2bin\ %1wvideo.dos
  138. if %win3tgt unpack %2binw\ %1wvideow.win
  139. if %win3tgt unpack %2binw\ %1wvideowl.win
  140. if %win3tgt unpack %2binw\ %1wdebug.win
  141. if %win3tgt unpack %2binw\ %1wemu387.win
  142. if %win3tgt unpack %2binw\ %1vidserv.win
  143. unpack %2bin\ %1trap.wpk
  144. unpack %2bin\ %1trap386.wpk
  145. if %ads unpack %2bin\ %1adshelp.wpk
  146. if %pls unpack %2bin\ %1plshelp.wpk
  147. if %dos4g unpack %2bin\ %1rsihelp.wpk
  148. unpack %2bin\ %1dbglib.wpk
  149. unpack %2bin\ %1vidserv.dos
  150. unpack %2bin\ %1chkmouse.wpk
  151. unpack %2bin\ %1rfx.dos
  152. unpack %2binb\ %1vid_dbg.386
  153. unpack %2binb\ %1vid_prs.wpk
  154. unpack %2binb\ %1vid_help.wpk
  155. if %wprof unpack %2bin\ %1wprof.dos
  156. if %wprof if %ecs unpack %2bin\ %1wsampecs.wpk
  157. if %wprof if %pls unpack %2bin\ %1wsamppls.wpk
  158. if %wprof if %dos4g unpack %2bin\ %1wsamprsi.wpk
  159. if %wprof if %win3tgt unpack %2binw\ %1wsamplew.win
  160. if %wprof unpack %2binb\ %1wprofhlp.wpk
  161. if %wprof unpack %2bin\ %1wconfig.wpk
  162. if %wprof unpack %2binb\ %1wconfigh.wpk
  163. if %wprof unpack %2binb\ %1bench.wpk
  164. if %wprof unpack %2binb\ %1infobnch.wpk
  165. unpack %2binb\ %1wtouch.wpk
  166. if %dos4g unpack %2bin\ %1pminfo.wpk
  167. if %win3tgt unpack %2binw\ %1win386.win
  168. if %win3tgt unpack %2binw\ %1w386dll.win
  169. if %win3tgt unpack %2binb\ %1wbind.wpk
  170. #
  171. # install software on diskette #4
  172. #
  173. enter %1novserv.nlp disk 4, labelled "Windows Examples Disk"
  174. if %nlm unpack %2nlm\ %1novserv.nlp
  175. if %nlm unpack %2nlm\ %1parserv.nlp
  176. if %nlm unpack %2nlm\ %1serserv.nlp
  177. if %nlm unpack %2nlm\ %1wsample.nlp
  178. unpack %2binb\ %1techinfo.wpk
  179. if %win3tgt unpack %2binw\ %1filedll.win
  180. if %wex unpack %2src\win\ %1build.wex
  181. if %wex unpack %2src\win\alarm\ %1alarm.wex
  182. if %wex unpack %2src\win\chart\ %1chart.wex
  183. if %wex unpack %2src\win\datactl\ %1datactl.wex
  184. if %wex unpack %2src\win\edit\ %1edit.wex
  185. if %wex unpack %2src\win\filedll\ %1filedll.wex
  186. if %wex unpack %2src\win\generic\ %1generic.wex
  187. if %wex unpack %2src\win\iconview\ %1iconview.wex
  188. if %wex unpack %2src\win\life\ %1life.wex
  189. if %wex unpack %2src\win\shootgal\ %1shootgal.wex
  190. if %wex unpack %2src\win\watzee\ %1watzee.wex
  191. #
  192. # install software on diskette #5
  193. #
  194. enter %1sdkwin.win disk 5, labelled "Windows SDK Disk"
  195. if %doc unpack %2binw\ %1sdkwin.win
  196. if %win3tgt unpack %2h\ %1win3xhdr.wpk
  197. if %win3tgt unpack %2src\inc\ %1src_inc.wpk
  198. if %win3tgt unpack %2binb\ %1hc.wpk
  199. if %win3tgt unpack %2binb\ %1rc.wpk
  200. if %win3tgt unpack %2binb\ %1rcpp.wpk
  201. if %win3tgt unpack %2binb\ %1rcpp_err.wpk
  202. if %win3tgt unpack %2binw\ %1windebug.win
  203. if %sdk unpack %2src\dll\ %1dll.sdk
  204. if %wex unpack %2src\win\helpex\ %1helpex.wex
  205. if %sdk unpack %2src\sdkpatch\ %1batch.sdk
  206. if %sdk unpack %2src\sdkpatch\bitmap\ %1bitmap.sdk
  207. if %sdk unpack %2src\sdkpatch\cliptext\ %1cliptext.sdk
  208. if %sdk unpack %2src\sdkpatch\clock\ %1clock.sdk
  209. if %sdk unpack %2src\sdkpatch\cursor\ %1cursor.sdk
  210. if %sdk unpack %2src\sdkpatch\dde\ %1dde.sdk
  211. if %sdk unpack %2src\sdkpatch\editcntl\ %1editcntl.sdk
  212. if %sdk unpack %2src\sdkpatch\editfile\ %1editfile.sdk
  213. if %sdk unpack %2src\sdkpatch\editmenu\ %1editmenu.sdk
  214. if %sdk unpack %2src\sdkpatch\fileopen\ %1fileopen.sdk
  215. if %sdk unpack %2src\sdkpatch\generic\ %1generic.sdk
  216. if %sdk unpack %2src\sdkpatch\helpex\ %1helpex.sdk
  217. if %sdk unpack %2src\sdkpatch\icon\ %1icon.sdk
  218. if %sdk unpack %2src\sdkpatch\input\ %1input.sdk
  219. if %sdk unpack %2src\sdkpatch\menu\ %1menu.sdk
  220. if %sdk unpack %2src\sdkpatch\multipad\ %1multipad.sdk
  221. if %sdk unpack %2src\sdkpatch\mypal\ %1mypal.sdk
  222. if %sdk unpack %2src\sdkpatch\output\ %1output.sdk
  223. if %sdk unpack %2src\sdkpatch\owncombo\ %1owncombo.sdk
  224. if %sdk unpack %2src\sdkpatch\prntfile\ %1prntfile.sdk
  225. if %sdk unpack %2src\sdkpatch\showfont\ %1showfont.sdk
  226. if %sdk unpack %2src\sdkpatch\tty\ %1tty.sdk
  227. #
  228. # create newconf.sys
  229. #
  230. file %2newconf.sys
  231. > files=20
  232. #
  233. # create autoc386.bat
  234. #
  235. file %2autoc386.bat
  236. > path %2bin;%2binb;%2binw
  237. > set include=%2h
  238. > set watcom=%2.
  239. #
  240. # create cdemo32.bat
  241. #
  242. file %2cdemo32.bat
  243. > path %2bin;%2binb
  244. > set include=%2h
  245. > set watcom=%2.
  246. > wcl386 /l=dos4g %2src\calendar
  247. > dos4gw calendar
  248. #
  249. # create graphics demo
  250. #
  251. file %2grdemo32.bat
  252. > path %2bin;%2binb
  253. > set include=%2h
  254. > set watcom=%2.
  255. > wcl386 /l=dos4g %2src\grdemo
  256. > dos4gw grdemo
  257. #
  258. # set up Windows examples to compile in 32-bit mode
  259. #
  260. file %2src\win\build.mif
  261. > WIN386=1
  262. #
  263. # create Windows demo
  264. #
  265. file %2windemo.bat
  266. > path %2bin;%2binb;%2binw
  267. > set include=%2h
  268. > set watcom=%2.
  269. > cd %2src\win
  270. > call windemo
  271. > cd %2.
  272. 
  273.