home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 49
/
Amiga_Dream_49.iso
/
amiga
/
programmation
/
jeu
/
animated1_50.lha
/
animated
/
AnimatED.install
< prev
next >
Wrap
Text File
|
1997-12-25
|
3KB
|
135 lines
;************************************************
;* AnimatED install script v1.50 (01-Jan-98) *
;************************************************
;*************
; Set strings
;*************
(set #where-prompt
(cat "Where should I install AnimatED? \n (No directory will be created!)"
))
;*************
; Ask dest dir
;*************
(set where (askdir (prompt #where-prompt)
(help @askdir-help)
(default @default-dest)
)
)
(set @default-dest where)
;***********
; Copy font
;***********
(copyfiles (source "Fonts") (dest "SYS:Fonts") (all))
(complete 5)
;************
; Copy files
;************
(copyfiles (source "AnimatED") (dest where))
(complete 40)
(copyfiles (source "AnimatEDPlay") (dest where))
(complete 60)
(copyfiles (source "AnimatED.Guide") (dest where))
(complete 70)
(copyfiles (source "AED_OrderForm") (dest where))
(copyfiles (source "AED_OrderForm.info") (dest where))
(complete 75)
(copyfiles (source "ReadMe") (dest where))
(copyfiles (source "ReadMe.info") (dest where))
(complete 80)
;****************************
; Ask which and install icons
;****************************
(set #ICONS
(askchoice
(prompt "\nWhich type of icons do want to install?")
(help "\nHi! Just select one of the icon types.")
(default 0)
(choices
"#1: Standard AnimatED Icons"
"#2: MagicWB-Style Icons; 8 colours"
"#3: Classic-WB-Style Icons; 4 colours"
"#4: NewIcons"
)
)
)
(if (= #ICONS 0)
(copyfiles (source "AnimatED.info") (dest where))
)
(if (= #ICONS 0)
(copyfiles (source "AnimatEDPlay.info") (dest where))
)
(if (= #ICONS 0)
(copyfiles (source "AnimatED.Guide.info") (dest where))
)
(if (= #ICONS 1)
(copyfiles (source "icons/AnimatED_MWB.info") (newname "AnimatED.info") (dest where))
)
(if (= #ICONS 1)
(copyfiles (source "icons/AnimatEDPlay_MWB.info") (newname "AnimatEDPlay.info") (dest where))
)
(if (= #ICONS 1)
(copyfiles (source "icons/AnimatED_MWB.Guide.info") (newname "AnimatED.Guide.info") (dest where))
)
(if (= #ICONS 2)
(copyfiles (source "icons/AnimatED.info") (dest where))
)
(if (= #ICONS 2)
(copyfiles (source "icons/AnimatEDPlay.info") (dest where))
)
(if (= #ICONS 2)
(copyfiles (source "icons/AnimatED.Guide.info") (dest where))
)
(if (= #ICONS 3)
(copyfiles (source "icons/AnimatED_NI.info") (newname "AnimatED.info") (dest where))
)
(if (= #ICONS 3)
(copyfiles (source "icons/AnimatEDPlay_NI.info") (newname "AnimatEDPlay.info") (dest where))
)
(if (= #ICONS 3)
(copyfiles (source "icons/AnimatED_NI.Guide.info") (newname "AnimatED.Guide.info") (dest where))
)
;**************************
; Copy keyfile if available
;**************************
(if (= (exists "AnimatED.key") 1)
(copyfiles (source "AnimatED.key") (dest where))
)
;********************
; Ask and copy extras
;********************
(set name
(askbool
(prompt "\nDo you want to install the example?")
(help "\nIt's up to YOU!")
)
)
(if (= name 1)
(copyfiles (source "Example") (dest (tackon where "Example")) (all))
)
(complete 100)
;****
;End
;****