home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format 83
/
af083a.adf
/
begin.lzx
/
c
/
script
< prev
next >
Wrap
Text File
|
1996-02-16
|
4KB
|
139 lines
echo "*Ec*E[30m"
which cd
if warn
skip 505
endif
echo "*Ec*E[1mAttention Hard Drive Users:*E[0m"
echo "You can install these programs directly to your hard drive, but please"
echo "read the information in the magazine before using the programs."
echo ""
echo "Would you like to install to a floppy or hard drive?"
echo "Enter either 'f' or 'h' (the default is floppy)."
setenv >nil: type ?
if not exists ram:env/type
skip 50
endif
if not $type EQ h
skip 50
endif
lab 61
echo "*EcPlease enter the pathname you wish to install to."
echo "NB. Hard drive *E[32mONLY*E[0m."
echo "E.g. 'dh0:', 'work:test/', etc..."
setenv >nil: pathname ?
failat 21
cd $pathname >nil:
if fail
failat 10
skip 61 back
endif
failat 10
echo "*EcOK... Installing disks."
unlzx -a -q x AF83a:archives/AF83a1.lzx ""
unlzx -a -q x AF83a:archives/AF83a2.lzx ""
unlzx -a -q x AF83a:archives/AF83a3.lzx ""
unlzx -a -q x AF83a:archives/AF83a4.lzx ""
ask "*EcThat's the disks unpacked to hard drive. Re-boot now from your hard drive."
endcli
lab 50
endif
echo "*EcPreparing to install first disk to floppy."
echo "Please wait..."
copy AF83a:archives/AF83a1.lzx ram: BUF=10
copy AF83a:archives/AF83a2.lzx ram: BUF=10
lab 1
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 2
endif
skip 1 back
lab 2
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: AF83a_Disk1
copy ram:disk.info df0:
unlzx -a -q -bi24 x ram:AF83a1.lzx df0:
unlzx -a -q -bi24 x ram:AF83a2.lzx df0:
delete ram:AF83a1.lzx quiet
delete ram:AF83a2.lzx quiet
lab 3
echo "*EcPlease insert AF83a in any drive."
ask "*E[1mPress return when you have done so...*E[0m"
if exists AF83a:begin.lzx
skip 4
endif
skip 3 back
lab 4
endif
copy AF83a:archives/AF83a3.lzx ram: BUF=10
lab 5
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 6
endif
skip 5 back
lab 6
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: AF83a_Disk2
copy ram:disk.info df0:
unlzx -a -q -bi24 x ram:AF83a3.lzx df0:
delete ram:AF83a2.lzx quiet
lab 13
echo "*EcPlease insert AF83a in any drive."
ask "*E[1mPress return when you have done so...*E[0m"
if exists AF83a:begin.lzx
skip 14
endif
skip 13 back
lab 14
endif
copy AF83a:archives/AF83a4.lzx ram: BUF=10
lab 15
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 16
endif
skip 15 back
lab 16
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: AF83a_Disk3
copy ram:disk.info df0:
unlzx -a -q x -bi24 ram:AF83a4.lzx df0:
delete ram:AF83a4.lzx quiet
skip 601
lab 505
endif
echo "*EcPreparing to install to floppy."
echo "Please wait..."
copy AF83a:archives/AF83a1.lzx ram: BUF=10
lab 101
echo "*EcPlease insert a blank, formatted disk in df0: (internal drive)."
ask "*E[1mPress return when you have done so...*E[0m"
wait 5
if not exists df0:begin.lzx
skip 102
endif
skip 101 back
lab 102
endif
echo "*EcOK! Installing disk. Please wait."
echo "This will take a few minutes."
relabel df0: AF83a_Serious
unlzx -a -q -bi24 x ram:AF83a1.lzx df0:
delete ram:AF83a1.lzx quiet
lab 601
echo "*EcThat's all folks! Everything is now installed."
ask "To use the utilities, boot Workbench and insert the relevant disk."
endcli