home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
disk
/
directory
/
ro
/
install
/
ro-install
< prev
next >
Wrap
Text File
|
1995-02-27
|
3KB
|
165 lines
; $VER: RO-Install 0.81 (3.9.94)
; RO Installer script by Juergen Schubert <juergen@desert.sub.org>
; Modified by Oliver Rummeyer, inspired by MagicCX-Install ©1994 Kai Iske.
;========================================================
; Set Strings
(set #nokick
(cat "You must be using Kickstart 2.04 to use RO. Aborting!"
))
(set #nomui
(cat "Can`t find \"MUI:\". You need version 2.2 of MUI or better. Aborting!"
))
(set #startmsg
(cat "\n\RO installation script.\n"
"This script installs RO on your Amiga.\n\n"
"Read the Documentation files for\n"
"more information on the distribution.\n"
"RO © 1994 Oliver Rummeyer\n"
"All rights reserved."
))
(set #icons "Which type of icons would you like to install")
(set #magicwbicons "MagicWB-Style Icons; 8 colors")
(set #classicicons "Classic-WB-Style Icons; 4 colors")
(set #noicons "No Icons")
(set #install "\n\nInstalling RO to\n\n")
(set #drawer
(cat "In which disk or drawer should RO be installed?\n"
"(A drawer \"RO\" will be created there)"
))
(set #update
(cat "A drawer \"RO\" already exists in the specified disk "
"or drawer. You should make a backup of your prefs "
"file before you continue the installation procedure.\n\n"
"Should I continue the installation procedure?"
))
(set #install-doc "Would you like to install RO`s online documentation?")
(set #doc "Which documentation formats would you like to install?")
(set #exitmsg "Have fun using RO!\nAnd don`t forget to register...")
;========================================================
(if (< (/ (getversion) 65536) 37)
(
(abort #nokick)
))
(if (= (exists "MUI:" (noreq)) 0)
(
(abort #nomui)
))
;=========================================================
(message #startmsg)
(complete 0)
;=========================================================
(set IconType
(askchoice
(prompt #icons)
(help @askchoice-help)
(choices
#magicwbicons
#classicicons
#noicons
)
(default 0)
)
)
(complete 25)
;=========================================================
(set DestDir
(askdir
(prompt #drawer)
(default "SYS:Tools")
(help @askdir-help)
)
)
(set DestDir (tackon DestDir "RO"))
(set @default-dest DestDir)
(if (= (exists DestDir) 2)
(message #update)
)
(complete 50)
;=========================================================
(makedir DestDir
(prompt #install DestDir)
(infos)
)
(if (= IconType 0)
(copyfiles
(source "")
(choices "/Icons/8col/RO.info" "/Icons/8col/RO.guide.info")
(dest DestDir)
)
)
(if (= IconType 1)
(copyfiles
(source "")
(choices "/Icons/4col/RO.info" "/Icons/4col/RO.guide.info")
(dest DestDir)
)
)
(copyfiles
(help @copyfiles-help)
(source "")
(choices "/Binary/RO" "/Binary/RO.prefs" )
(dest DestDir)
(files)
)
(complete 75)
;=========================================================
(set doctype
(askoptions
(prompt #doc)
(help @askoptions-help)
(choices "AmigaGuide ® V39")
(default 1)
)
)
(if (= doctype 1)
(copyfiles
(source "")
(choices "/Docs/RO.guide")
(dest DestDir)
)
)
(if (= doctype 0)
(run "Delete "
(tackon DestDir "RO.guide.info")
)
)
(complete 100)
;==========================================================
(exit #exitmsg)