home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 10
/
XENIATGM10.ISO
/
mcoil
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1995-09-19
|
12KB
|
516 lines
echo off
cls
set dos4g=quiet
config
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo ▒ Please Wait.................. ▒░
echo ▒ Setting Up Mortal Coil On Your Hard Drive.... ▒░
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
echo ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
if errorlevel 24 goto drivez
if errorlevel 23 goto drivey
if errorlevel 22 goto drivex
if errorlevel 21 goto drivew
if errorlevel 20 goto drivev
if errorlevel 19 goto driveu
if errorlevel 18 goto drivet
if errorlevel 17 goto drives
if errorlevel 16 goto driver
if errorlevel 15 goto driveq
if errorlevel 14 goto drivep
if errorlevel 13 goto driveo
if errorlevel 12 goto driven
if errorlevel 11 goto drivem
if errorlevel 10 goto drivel
if errorlevel 09 goto drivek
if errorlevel 08 goto drivej
if errorlevel 07 goto drivei
if errorlevel 06 goto driveh
if errorlevel 05 goto driveg
if errorlevel 04 goto drivef
if errorlevel 03 goto drivee
if errorlevel 02 goto drived
if errorlevel 01 goto drivec
cls
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
echo Installation Aborted!!!
echo ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
goto end
:drivez
if exist z:\coil\config.exe goto installz
md z:\candydat
md z:\candydat\gamemaps
md z:\candydat\voice
md z:\candydat\voiceorg
md z:\coil
:installz
copy hdrive\*.* z:\coil > c:\mcoil.$$$
if not exist z:\coil\config.exe goto bombout
cpydir sounds\voice *.* z:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noz
readme readme.txt
:noz
z:
cd \coil
goto mdirs
:drivey
if exist y:\coil\config.exe goto instally
md y:\candydat
md y:\candydat\gamemaps
md y:\candydat\voice
md y:\candydat\voiceorg
md y:\coil
:instally
copy hdrive\*.* y:\coil > c:\mcoil.$$$
if not exist y:\coil\config.exe goto bombout
cpydir sounds\voice *.* y:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noy
readme readme.txt
:noy
y:
cd \coil
goto mdirs
:drivex
if exist x:\coil\config.exe goto installx
md x:\candydat
md x:\candydat\gamemaps
md x:\candydat\voice
md x:\candydat\voiceorg
md x:\coil
:installx
copy hdrive\*.* x:\coil > c:\mcoil.$$$
if not exist x:\coil\config.exe goto bombout
cpydir sounds\voice *.* x:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nox
readme readme.txt
:nox
x:
cd \coil
goto mdirs
:drivew
if exist w:\coil\config.exe goto installw
md w:\candydat
md w:\candydat\gamemaps
md w:\candydat\voice
md w:\candydat\voiceorg
md w:\coil
:installw
copy hdrive\*.* w:\coil > c:\mcoil.$$$
if not exist w:\coil\config.exe goto bombout
cpydir sounds\voice *.* w:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto now
readme readme.txt
:now
w:
cd \coil
goto mdirs
:drivev
if exist v:\coil\config.exe goto installv
md v:\candydat
md v:\candydat\gamemaps
md v:\candydat\voice
md v:\candydat\voiceorg
md v:\coil
:installv
copy hdrive\*.* v:\coil > c:\mcoil.$$$
if not exist v:\coil\config.exe goto bombout
cpydir sounds\voice *.* v:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nov
readme readme.txt
:nov
v:
cd \coil
goto mdirs
:driveu
if exist u:\coil\config.exe goto installu
md u:\candydat
md u:\candydat\gamemaps
md u:\candydat\voice
md u:\candydat\voiceorg
md u:\coil
:installu
copy hdrive\*.* u:\coil > c:\mcoil.$$$
if not exist u:\coil\config.exe goto bombout
cpydir sounds\voice *.* u:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nou
readme readme.txt
:nou
u:
cd \coil
goto mdirs
:drivet
if exist t:\coil\config.exe goto installt
md t:\candydat
md t:\candydat\gamemaps
md t:\candydat\voice
md t:\candydat\voiceorg
md t:\coil
:installt
copy hdrive\*.* t:\coil > c:\mcoil.$$$
if not exist t:\coil\config.exe goto bombout
cpydir sounds\voice *.* t:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto not
readme readme.txt
:not
t:
cd \coil
goto mdirs
:drives
if exist s:\coil\config.exe goto installs
md s:\candydat
md s:\candydat\gamemaps
md s:\candydat\voice
md s:\candydat\voiceorg
md s:\coil
:installs
copy hdrive\*.* s:\coil > c:\mcoil.$$$
if not exist s:\coil\config.exe goto bombout
cpydir sounds\voice *.* s:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nos
readme readme.txt
:nos
s:
cd \coil
goto mdirs
:driver
if exist r:\coil\config.exe goto installr
md r:\candydat
md r:\candydat\gamemaps
md r:\candydat\voice
md r:\candydat\voiceorg
md r:\coil
:installr
copy hdrive\*.* r:\coil > c:\mcoil.$$$
if not exist r:\coil\config.exe goto bombout
cpydir sounds\voice *.* r:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nor
readme readme.txt
:nor
r:
cd \coil
goto mdirs
:driveq
if exist q:\coil\config.exe goto installq
md q:\candydat
md q:\candydat\gamemaps
md q:\candydat\voice
md q:\candydat\voiceorg
md q:\coil
:installq
copy hdrive\*.* q:\coil > c:\mcoil.$$$
if not exist q:\coil\config.exe goto bombout
cpydir sounds\voice *.* q:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noq
readme readme.txt
:noq
q:
cd \coil
goto mdirs
:drivep
if exist p:\coil\config.exe goto installp
md p:\candydat
md p:\candydat\gamemaps
md p:\candydat\voice
md p:\candydat\voiceorg
md p:\coil
:installp
copy hdrive\*.* p:\coil > c:\mcoil.$$$
if not exist p:\coil\config.exe goto bombout
cpydir sounds\voice *.* p:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nop
readme readme.txt
:nop
p:
cd \coil
goto mdirs
:driveo
if exist o:\coil\config.exe goto installo
md o:\candydat
md o:\candydat\gamemaps
md o:\candydat\voice
md o:\candydat\voiceorg
md o:\coil
:installo
copy hdrive\*.* o:\coil > c:\mcoil.$$$
if not exist o:\coil\config.exe goto bombout
cpydir sounds\voice *.* o:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noo
readme readme.txt
:noo
o:
cd \coil
goto mdirs
:driven
if exist n:\coil\config.exe goto installn
md n:\candydat
md n:\candydat\gamemaps
md n:\candydat\voice
md n:\candydat\voiceorg
md n:\coil
:installn
copy hdrive\*.* n:\coil > c:\mcoil.$$$
if not exist n:\coil\config.exe goto bombout
cpydir sounds\voice *.* n:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto non
readme readme.txt
:non
n:
cd \coil
goto mdirs
:drivem
if exist m:\coil\config.exe goto installm
md m:\candydat
md m:\candydat\gamemaps
md m:\candydat\voice
md m:\candydat\voiceorg
md m:\coil
:installm
copy hdrive\*.* m:\coil > c:\mcoil.$$$
if not exist m:\coil\config.exe goto bombout
cpydir sounds\voice *.* m:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nom
readme readme.txt
:nom
m:
cd \coil
goto mdirs
:drivel
if exist l:\coil\config.exe goto installl
md l:\candydat
md l:\candydat\gamemaps
md l:\candydat\voice
md l:\candydat\voiceorg
md l:\coil
:installl
copy hdrive\*.* l:\coil > c:\mcoil.$$$
if not exist l:\coil\config.exe goto bombout
cpydir sounds\voice *.* l:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nol
readme readme.txt
:nol
l:
cd \coil
goto mdirs
:drivek
if exist k:\coil\config.exe goto installk
md k:\candydat
md k:\candydat\gamemaps
md k:\candydat\voice
md k:\candydat\voiceorg
md k:\coil
:installk
copy hdrive\*.* k:\coil > c:\mcoil.$$$
if not exist k:\coil\config.exe goto bombout
cpydir sounds\voice *.* k:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nok
readme readme.txt
:nok
k:
cd \coil
goto mdirs
:drivej
if exist j:\coil\config.exe goto installj
md j:\candydat
md j:\candydat\gamemaps
md j:\candydat\voice
md j:\candydat\voiceorg
md j:\coil
:installj
copy hdrive\*.* j:\coil > c:\mcoil.$$$
if not exist j:\coil\config.exe goto bombout
cpydir sounds\voice *.* j:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noj
readme readme.txt
:noj
j:
cd \coil
goto mdirs
:drivei
if exist i:\coil\config.exe goto installi
md i:\candydat
md i:\candydat\gamemaps
md i:\candydat\voice
md i:\candydat\voiceorg
md i:\coil
:installi
copy hdrive\*.* i:\coil > c:\mcoil.$$$
if not exist i:\coil\config.exe goto bombout
cpydir sounds\voice *.* i:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noi
readme readme.txt
:noi
i:
cd \coil
goto mdirs
:driveh
if exist h:\coil\config.exe goto installh
md h:\candydat
md h:\candydat\gamemaps
md h:\candydat\voice
md h:\candydat\voiceorg
md h:\coil
:installh
copy hdrive\*.* h:\coil > c:\mcoil.$$$
if not exist h:\coil\config.exe goto bombout
cpydir sounds\voice *.* h:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noh
readme readme.txt
:noh
h:
cd \coil
goto mdirs
:driveg
if exist g:\coil\config.exe goto installg
md g:\candydat
md g:\candydat\gamemaps
md g:\candydat\voice
md g:\candydat\voiceorg
md g:\coil
:installg
copy hdrive\*.* g:\coil > c:\mcoil.$$$
if not exist g:\coil\config.exe goto bombout
cpydir sounds\voice *.* g:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nog
readme readme.txt
:nog
g:
cd \coil
goto mdirs
:drivef
if exist f:\coil\config.exe goto installf
md f:\candydat
md f:\candydat\gamemaps
md f:\candydat\voice
md f:\candydat\voiceorg
md f:\coil
:installf
copy hdrive\*.* f:\coil > c:\mcoil.$$$
if not exist f:\coil\config.exe goto bombout
cpydir sounds\voice *.* f:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nof
readme readme.txt
:nof
f:
cd \coil
goto mdirs
:drivee
if exist e:\coil\config.exe goto installe
md e:\candydat
md e:\candydat\gamemaps
md e:\candydat\voice
md e:\candydat\voiceorg
md e:\coil
:installe
copy hdrive\*.* e:\coil > c:\mcoil.$$$
if not exist e:\coil\config.exe goto bombout
cpydir sounds\voice *.* e:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noe
readme readme.txt
:noe
e:
cd \coil
goto mdirs
:drived
if exist d:\coil\config.exe goto installd
md d:\candydat
md d:\candydat\gamemaps
md d:\candydat\voice
md d:\candydat\voiceorg
md d:\coil
:installd
copy hdrive\*.* d:\coil > c:\mcoil.$$$
if not exist d:\coil\config.exe goto bombout
cpydir sounds\voice *.* d:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto nod
readme readme.txt
:nod
d:
cd \coil
goto mdirs
:drivec
if exist c:\coil\config.exe goto installc
md c:\candydat
md c:\candydat\gamemaps
md c:\candydat\voice
md c:\candydat\voiceorg
md c:\coil
:installc
copy hdrive\*.* c:\coil > c:\mcoil.$$$
if not exist c:\coil\config.exe goto bombout
cpydir sounds\voice *.* c:\candydat\voiceorg
cls
choice /c:yn Do you wish to read the README file....
if errorlevel 2 goto noc
readme readme.txt
:noc
c:
cd \coil
:mdirs
copy c:\mcoil.tmp mcoil.cfg > c:\mcoil.$$$
del c:\mcoil.tmp
del c:\mcoil.$$$
setup
goto end
:bombout
del c:\mcoil.tmp
del c:\mcoil.$$$
cls
echo Something has gone wrong with the installation....
echo Installation has not been completed....
echo Please ensure that you select the correct drive to install to...
echo .
echo Installation procedure aborted.....
echo .
:end