home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of Mecomp Multimedia 1
/
Mecomp-CD.iso
/
amiga
/
tools
/
utillities
/
bootute_2
/
install_iconx
< prev
next >
Wrap
AmigaDOS Script File
|
1995-09-25
|
3KB
|
101 lines
.key install_dir
.bra {
.ket }
; This is an AmigaDOS script that installs BootUte 2.62.
;
; Script written by Paul Toyne.
;
; ©1995 TLS Software.
;
; Usage : Install_IconX <Place to install the BootUte directory>
Failat 100
Echo "Welcome to BootUte's installation script"
Echo " "
Echo "Written by Paul Toyne"
Echo " "
Echo "©1995 TLS Software"
Echo ""
If "{install_dir}" EQ ""
Echo "Usage : Install_IconX <directory>"
Echo " "
Echo "Make sure the <directory> ends in a '/' or a ':'"
Skip END
EndIf
Version >NIL: VERSION 37
If WARN
Echo "Sorry BootUte only works on Kickstart 2.0 or above"
Echo "I suggest you upgrade immediately"
Skip END
EndIf
If EXISTS C:BootUte
Echo "Deleting your previous version of BootUte"
Delete >NIL: C:BootUte
EndIf
Delete >NIL: ENV:BootUte
Delete >NIL: ENVARC:BootUte
If NOT EXISTS "{install_dir}BootUte"
Makedir >NIL: "{install_dir}BootUte"
Copy >NIL: Docs.info "{install_dir}BootUte.info"
EndIf
If NOT EXISTS "{install_dir}BootUte/Docs"
Makedir >NIL: "{install_dir}BootUte/Docs"
EndIf
Echo "Copying BootUte's files"
Copy >NIL: BootUte_2 "{install_dir}BootUte/"
Copy >NIL: README "{install_dir}BootUte/"
Copy >NIL: Docs/BootUte_2.guide "{install_dir}BootUte/Docs/"
Copy >NIL: Docs/BootUte_2.doc "{install_dir}BootUte/Docs/"
Copy >NIL: Docs/Register_BU.doc "{install_dir}BootUte/Docs/"
Ask "Do you want to install the MagicWB icons (y/N) ?"
If WARN
Copy >NIL: MagicWB/BootUte_2.info "{install_dir}BootUte/"
Copy >NIL: MagicWB/README.info "{install_dir}BootUte/"
Copy >NIL: MagicWB/Docs.info "{install_dir}BootUte/"
Copy >NIL: MagicWB/Docs/BootUte_2.guide.info "{install_dir}BootUte/Docs/"
Copy >NIL: MagicWB/Docs/BootUte_2.doc.info "{install_dir}BootUte/Docs/"
Copy >NIL: MagicWB/Docs/Register_BU.doc.info "{install_dir}BootUte/Docs/"
Else
Copy >NIL: BootUte_2.info "{install_dir}BootUte/"
Copy >NIL: README.info "{install_dir}BootUte/"
Copy >NIL: Docs.info "{install_dir}BootUte/"
Copy >NIL: Docs/BootUte_2.guide.info "{install_dir}BootUte/Docs/"
Copy >NIL: Docs/BootUte_2.doc.info "{install_dir}BootUte/Docs/"
Copy >NIL: Docs/Register_BU.doc.info "{install_dir}BootUte/Docs/"
Endif
If NOT EXISTS "ENV:TLS"
Makedir >NIL: ENV:TLS
EndIf
If NOT EXISTS "ENV:TLS/BootUte"
Makedir >NIL: ENV:TLS/BootUte
EndIf
If NOT EXISTS "ENVARC:TLS"
Makedir >NIL: ENVARC:TLS
EndIf
If NOT EXISTS "ENVARC:TLS/BootUte"
Makedir >NIL: ENVARC:TLS/BootUte
EndIf
Echo " "
Echo "BootUte 2.62 has been installed in '{install_dir}BootUte/'"
Lab END