home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 10 / XENIATGM10.ISO / mcoil / install.bat < prev    next >
DOS Batch File  |  1995-09-19  |  12KB  |  516 lines

  1. echo off
  2. cls
  3. set dos4g=quiet
  4. config
  5. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  6. echo ▒ Please Wait..................                 ▒░
  7. echo ▒ Setting Up Mortal Coil On Your Hard Drive.... ▒░
  8. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
  9. echo  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  10. if errorlevel 24 goto drivez
  11. if errorlevel 23 goto drivey
  12. if errorlevel 22 goto drivex
  13. if errorlevel 21 goto drivew
  14. if errorlevel 20 goto drivev
  15. if errorlevel 19 goto driveu
  16. if errorlevel 18 goto drivet
  17. if errorlevel 17 goto drives
  18. if errorlevel 16 goto driver
  19. if errorlevel 15 goto driveq
  20. if errorlevel 14 goto drivep
  21. if errorlevel 13 goto driveo
  22. if errorlevel 12 goto driven
  23. if errorlevel 11 goto drivem
  24. if errorlevel 10 goto drivel
  25. if errorlevel 09 goto drivek
  26. if errorlevel 08 goto drivej
  27. if errorlevel 07 goto drivei
  28. if errorlevel 06 goto driveh
  29. if errorlevel 05 goto driveg
  30. if errorlevel 04 goto drivef
  31. if errorlevel 03 goto drivee
  32. if errorlevel 02 goto drived
  33. if errorlevel 01 goto drivec
  34. cls
  35. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  36. echo  Installation Aborted!!!
  37. echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  38. goto end
  39.  
  40.  
  41. :drivez
  42. if exist z:\coil\config.exe goto installz 
  43. md z:\candydat
  44. md z:\candydat\gamemaps
  45. md z:\candydat\voice
  46. md z:\candydat\voiceorg
  47. md z:\coil
  48. :installz
  49. copy hdrive\*.* z:\coil > c:\mcoil.$$$
  50. if not exist z:\coil\config.exe goto bombout
  51. cpydir sounds\voice *.* z:\candydat\voiceorg
  52. cls
  53. choice /c:yn Do you wish to read the README file.... 
  54. if errorlevel 2 goto noz
  55. readme readme.txt
  56. :noz
  57. z:
  58. cd \coil
  59. goto mdirs
  60. :drivey
  61. if exist y:\coil\config.exe goto instally 
  62. md y:\candydat
  63. md y:\candydat\gamemaps
  64. md y:\candydat\voice
  65. md y:\candydat\voiceorg
  66. md y:\coil
  67. :instally
  68. copy hdrive\*.* y:\coil > c:\mcoil.$$$
  69. if not exist y:\coil\config.exe goto bombout
  70. cpydir sounds\voice *.* y:\candydat\voiceorg
  71. cls
  72. choice /c:yn Do you wish to read the README file.... 
  73. if errorlevel 2 goto noy
  74. readme readme.txt
  75. :noy
  76. y:
  77. cd \coil
  78. goto mdirs
  79. :drivex
  80. if exist x:\coil\config.exe goto installx 
  81. md x:\candydat
  82. md x:\candydat\gamemaps
  83. md x:\candydat\voice
  84. md x:\candydat\voiceorg
  85. md x:\coil
  86. :installx
  87. copy hdrive\*.* x:\coil > c:\mcoil.$$$
  88. if not exist x:\coil\config.exe goto bombout
  89. cpydir sounds\voice *.* x:\candydat\voiceorg
  90. cls
  91. choice /c:yn Do you wish to read the README file.... 
  92. if errorlevel 2 goto nox
  93. readme readme.txt
  94. :nox
  95. x:
  96. cd \coil
  97. goto mdirs
  98. :drivew
  99. if exist w:\coil\config.exe goto installw 
  100. md w:\candydat
  101. md w:\candydat\gamemaps
  102. md w:\candydat\voice
  103. md w:\candydat\voiceorg
  104. md w:\coil
  105. :installw
  106. copy hdrive\*.* w:\coil > c:\mcoil.$$$
  107. if not exist w:\coil\config.exe goto bombout
  108. cpydir sounds\voice *.* w:\candydat\voiceorg
  109. cls
  110. choice /c:yn Do you wish to read the README file.... 
  111. if errorlevel 2 goto now
  112. readme readme.txt
  113. :now
  114. w:
  115. cd \coil
  116. goto mdirs
  117. :drivev
  118. if exist v:\coil\config.exe goto installv 
  119. md v:\candydat
  120. md v:\candydat\gamemaps
  121. md v:\candydat\voice 
  122. md v:\candydat\voiceorg
  123. md v:\coil
  124. :installv
  125. copy hdrive\*.* v:\coil > c:\mcoil.$$$
  126. if not exist v:\coil\config.exe goto bombout
  127. cpydir sounds\voice *.* v:\candydat\voiceorg
  128. cls
  129. choice /c:yn Do you wish to read the README file.... 
  130. if errorlevel 2 goto nov
  131. readme readme.txt
  132. :nov
  133. v:
  134. cd \coil
  135. goto mdirs
  136. :driveu
  137. if exist u:\coil\config.exe goto installu 
  138. md u:\candydat
  139. md u:\candydat\gamemaps
  140. md u:\candydat\voice
  141. md u:\candydat\voiceorg
  142. md u:\coil
  143. :installu
  144. copy hdrive\*.* u:\coil > c:\mcoil.$$$
  145. if not exist u:\coil\config.exe goto bombout
  146. cpydir sounds\voice *.* u:\candydat\voiceorg
  147. cls
  148. choice /c:yn Do you wish to read the README file.... 
  149. if errorlevel 2 goto nou
  150. readme readme.txt
  151. :nou
  152. u:
  153. cd \coil
  154. goto mdirs
  155. :drivet
  156. if exist t:\coil\config.exe goto installt 
  157. md t:\candydat
  158. md t:\candydat\gamemaps
  159. md t:\candydat\voice
  160. md t:\candydat\voiceorg
  161. md t:\coil
  162. :installt
  163. copy hdrive\*.* t:\coil > c:\mcoil.$$$
  164. if not exist t:\coil\config.exe goto bombout
  165. cpydir sounds\voice *.* t:\candydat\voiceorg
  166. cls
  167. choice /c:yn Do you wish to read the README file.... 
  168. if errorlevel 2 goto not
  169. readme readme.txt
  170. :not
  171. t:
  172. cd \coil
  173. goto mdirs
  174. :drives
  175. if exist s:\coil\config.exe goto installs 
  176. md s:\candydat
  177. md s:\candydat\gamemaps
  178. md s:\candydat\voice
  179. md s:\candydat\voiceorg
  180. md s:\coil
  181. :installs
  182. copy hdrive\*.* s:\coil > c:\mcoil.$$$
  183. if not exist s:\coil\config.exe goto bombout
  184. cpydir sounds\voice *.* s:\candydat\voiceorg
  185. cls
  186. choice /c:yn Do you wish to read the README file.... 
  187. if errorlevel 2 goto nos
  188. readme readme.txt
  189. :nos
  190. s: 
  191. cd \coil
  192. goto mdirs
  193. :driver
  194. if exist r:\coil\config.exe goto installr 
  195. md r:\candydat
  196. md r:\candydat\gamemaps
  197. md r:\candydat\voice
  198. md r:\candydat\voiceorg
  199. md r:\coil
  200. :installr
  201. copy hdrive\*.* r:\coil > c:\mcoil.$$$
  202. if not exist r:\coil\config.exe goto bombout
  203. cpydir sounds\voice *.* r:\candydat\voiceorg
  204. cls
  205. choice /c:yn Do you wish to read the README file.... 
  206. if errorlevel 2 goto nor
  207. readme readme.txt
  208. :nor
  209. r:                    
  210. cd \coil
  211. goto mdirs
  212. :driveq
  213. if exist q:\coil\config.exe goto installq 
  214. md q:\candydat
  215. md q:\candydat\gamemaps
  216. md q:\candydat\voice
  217. md q:\candydat\voiceorg
  218. md q:\coil
  219. :installq
  220. copy hdrive\*.* q:\coil > c:\mcoil.$$$
  221. if not exist q:\coil\config.exe goto bombout
  222. cpydir sounds\voice *.* q:\candydat\voiceorg
  223. cls
  224. choice /c:yn Do you wish to read the README file.... 
  225. if errorlevel 2 goto noq
  226. readme readme.txt
  227. :noq
  228. q:
  229. cd \coil
  230. goto mdirs
  231. :drivep
  232. if exist p:\coil\config.exe goto installp 
  233. md p:\candydat
  234. md p:\candydat\gamemaps
  235. md p:\candydat\voice
  236. md p:\candydat\voiceorg
  237. md p:\coil
  238. :installp
  239. copy hdrive\*.* p:\coil > c:\mcoil.$$$
  240. if not exist p:\coil\config.exe goto bombout
  241. cpydir sounds\voice *.* p:\candydat\voiceorg
  242. cls
  243. choice /c:yn Do you wish to read the README file.... 
  244. if errorlevel 2 goto nop
  245. readme readme.txt
  246. :nop
  247. p:
  248. cd \coil
  249. goto mdirs
  250. :driveo
  251. if exist o:\coil\config.exe goto installo 
  252. md o:\candydat
  253. md o:\candydat\gamemaps
  254. md o:\candydat\voice
  255. md o:\candydat\voiceorg
  256. md o:\coil
  257. :installo
  258. copy hdrive\*.* o:\coil > c:\mcoil.$$$
  259. if not exist o:\coil\config.exe goto bombout
  260. cpydir sounds\voice *.* o:\candydat\voiceorg
  261. cls
  262. choice /c:yn Do you wish to read the README file.... 
  263. if errorlevel 2 goto noo
  264. readme readme.txt
  265. :noo
  266. o:
  267. cd \coil
  268. goto mdirs
  269. :driven
  270. if exist n:\coil\config.exe goto installn 
  271. md n:\candydat
  272. md n:\candydat\gamemaps
  273. md n:\candydat\voice
  274. md n:\candydat\voiceorg
  275. md n:\coil
  276. :installn
  277. copy hdrive\*.* n:\coil > c:\mcoil.$$$
  278. if not exist n:\coil\config.exe goto bombout
  279. cpydir sounds\voice *.* n:\candydat\voiceorg
  280. cls
  281. choice /c:yn Do you wish to read the README file.... 
  282. if errorlevel 2 goto non
  283. readme readme.txt
  284. :non
  285. n:
  286. cd \coil
  287. goto mdirs
  288. :drivem
  289. if exist m:\coil\config.exe goto installm 
  290. md m:\candydat
  291. md m:\candydat\gamemaps
  292. md m:\candydat\voice
  293. md m:\candydat\voiceorg
  294. md m:\coil
  295. :installm
  296. copy hdrive\*.* m:\coil > c:\mcoil.$$$
  297. if not exist m:\coil\config.exe goto bombout
  298. cpydir sounds\voice *.* m:\candydat\voiceorg
  299. cls
  300. choice /c:yn Do you wish to read the README file.... 
  301. if errorlevel 2 goto nom
  302. readme readme.txt
  303. :nom
  304. m:
  305. cd \coil
  306. goto mdirs
  307. :drivel
  308. if exist l:\coil\config.exe goto installl 
  309. md l:\candydat
  310. md l:\candydat\gamemaps
  311. md l:\candydat\voice
  312. md l:\candydat\voiceorg
  313. md l:\coil
  314. :installl
  315. copy hdrive\*.* l:\coil > c:\mcoil.$$$
  316. if not exist l:\coil\config.exe goto bombout
  317. cpydir sounds\voice *.* l:\candydat\voiceorg
  318. cls
  319. choice /c:yn Do you wish to read the README file.... 
  320. if errorlevel 2 goto nol
  321. readme readme.txt
  322. :nol
  323. l:
  324. cd \coil
  325. goto mdirs
  326. :drivek
  327. if exist k:\coil\config.exe goto installk 
  328. md k:\candydat
  329. md k:\candydat\gamemaps
  330. md k:\candydat\voice
  331. md k:\candydat\voiceorg
  332. md k:\coil
  333. :installk
  334. copy hdrive\*.* k:\coil > c:\mcoil.$$$
  335. if not exist k:\coil\config.exe goto bombout
  336. cpydir sounds\voice *.* k:\candydat\voiceorg
  337. cls
  338. choice /c:yn Do you wish to read the README file.... 
  339. if errorlevel 2 goto nok
  340. readme readme.txt
  341. :nok
  342. k:
  343. cd \coil
  344. goto mdirs
  345. :drivej
  346. if exist j:\coil\config.exe goto installj 
  347. md j:\candydat
  348. md j:\candydat\gamemaps
  349. md j:\candydat\voice
  350. md j:\candydat\voiceorg
  351. md j:\coil
  352. :installj
  353. copy hdrive\*.* j:\coil > c:\mcoil.$$$
  354. if not exist j:\coil\config.exe goto bombout
  355. cpydir sounds\voice *.* j:\candydat\voiceorg
  356. cls
  357. choice /c:yn Do you wish to read the README file.... 
  358. if errorlevel 2 goto noj
  359. readme readme.txt
  360. :noj
  361. j:
  362. cd \coil
  363. goto mdirs
  364. :drivei
  365. if exist i:\coil\config.exe goto installi 
  366. md i:\candydat
  367. md i:\candydat\gamemaps
  368. md i:\candydat\voice
  369. md i:\candydat\voiceorg
  370. md i:\coil
  371. :installi
  372. copy hdrive\*.* i:\coil > c:\mcoil.$$$
  373. if not exist i:\coil\config.exe goto bombout
  374. cpydir sounds\voice *.* i:\candydat\voiceorg
  375. cls
  376. choice /c:yn Do you wish to read the README file.... 
  377. if errorlevel 2 goto noi
  378. readme readme.txt
  379. :noi
  380. i:
  381. cd \coil
  382. goto mdirs
  383. :driveh
  384. if exist h:\coil\config.exe goto installh 
  385. md h:\candydat
  386. md h:\candydat\gamemaps
  387. md h:\candydat\voice
  388. md h:\candydat\voiceorg
  389. md h:\coil
  390. :installh
  391. copy hdrive\*.* h:\coil > c:\mcoil.$$$
  392. if not exist h:\coil\config.exe goto bombout
  393. cpydir sounds\voice *.* h:\candydat\voiceorg
  394. cls
  395. choice /c:yn Do you wish to read the README file.... 
  396. if errorlevel 2 goto noh
  397. readme readme.txt
  398. :noh
  399. h:
  400. cd \coil
  401. goto mdirs
  402. :driveg
  403. if exist g:\coil\config.exe goto installg 
  404. md g:\candydat
  405. md g:\candydat\gamemaps
  406. md g:\candydat\voice
  407. md g:\candydat\voiceorg
  408. md g:\coil
  409. :installg
  410. copy hdrive\*.* g:\coil > c:\mcoil.$$$
  411. if not exist g:\coil\config.exe goto bombout
  412. cpydir sounds\voice *.* g:\candydat\voiceorg
  413. cls
  414. choice /c:yn Do you wish to read the README file.... 
  415. if errorlevel 2 goto nog
  416. readme readme.txt
  417. :nog
  418. g:
  419. cd \coil
  420. goto mdirs
  421. :drivef
  422. if exist f:\coil\config.exe goto installf 
  423. md f:\candydat
  424. md f:\candydat\gamemaps
  425. md f:\candydat\voice
  426. md f:\candydat\voiceorg
  427. md f:\coil
  428. :installf
  429. copy hdrive\*.* f:\coil > c:\mcoil.$$$
  430. if not exist f:\coil\config.exe goto bombout
  431. cpydir sounds\voice *.* f:\candydat\voiceorg
  432. cls
  433. choice /c:yn Do you wish to read the README file.... 
  434. if errorlevel 2 goto nof
  435. readme readme.txt
  436. :nof
  437. f:
  438. cd \coil
  439. goto mdirs
  440. :drivee
  441. if exist e:\coil\config.exe goto installe 
  442. md e:\candydat
  443. md e:\candydat\gamemaps
  444. md e:\candydat\voice
  445. md e:\candydat\voiceorg
  446. md e:\coil
  447. :installe
  448. copy hdrive\*.* e:\coil > c:\mcoil.$$$
  449. if not exist e:\coil\config.exe goto bombout
  450. cpydir sounds\voice *.* e:\candydat\voiceorg
  451. cls
  452. choice /c:yn Do you wish to read the README file.... 
  453. if errorlevel 2 goto noe
  454. readme readme.txt
  455. :noe
  456. e:
  457. cd \coil
  458. goto mdirs
  459. :drived
  460. if exist d:\coil\config.exe goto installd 
  461. md d:\candydat
  462. md d:\candydat\gamemaps
  463. md d:\candydat\voice
  464. md d:\candydat\voiceorg
  465. md d:\coil
  466. :installd
  467. copy hdrive\*.* d:\coil > c:\mcoil.$$$
  468. if not exist d:\coil\config.exe goto bombout
  469. cpydir sounds\voice *.* d:\candydat\voiceorg
  470. cls
  471. choice /c:yn Do you wish to read the README file.... 
  472. if errorlevel 2 goto nod
  473. readme readme.txt
  474. :nod
  475. d:
  476. cd \coil
  477. goto mdirs
  478. :drivec
  479. if exist c:\coil\config.exe goto installc 
  480. md c:\candydat
  481. md c:\candydat\gamemaps
  482. md c:\candydat\voice
  483. md c:\candydat\voiceorg
  484. md c:\coil
  485. :installc
  486. copy hdrive\*.* c:\coil > c:\mcoil.$$$
  487. if not exist c:\coil\config.exe goto bombout
  488. cpydir sounds\voice *.* c:\candydat\voiceorg
  489. cls
  490. choice /c:yn Do you wish to read the README file.... 
  491. if errorlevel 2 goto noc
  492. readme readme.txt
  493. :noc
  494. c:
  495. cd \coil
  496.  
  497. :mdirs
  498. copy c:\mcoil.tmp mcoil.cfg > c:\mcoil.$$$
  499. del c:\mcoil.tmp
  500. del c:\mcoil.$$$
  501. setup
  502. goto end
  503.  
  504. :bombout
  505. del c:\mcoil.tmp
  506. del c:\mcoil.$$$
  507. cls
  508. echo Something has gone wrong with the installation.... 
  509. echo Installation has not been completed....
  510. echo Please ensure that you select the correct drive to install to...
  511. echo .
  512. echo Installation procedure aborted.....
  513. echo .
  514.  
  515. :end
  516.