home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
fish
/
911-930
/
ff921
/
capshift
/
install
/
english
next >
Wrap
Text File
|
1994-05-04
|
2KB
|
87 lines
; Installation program for the Commodore's Installer utility
(set local-help (cat "If you choose \"Yes\" you can have CapShift send its"
" messages in italian.\nIf you choose \"No\", CapShift will"
" only run in english.\nNote that if your system language"
" is not set to 'italiano' you will still see all the "
"messages in english"))
(complete 0)
(set name
(askdir
(prompt "Where do you want to install CapShift ?")
(help @askdir-help)
(default "SYS:WBStartup")
)
)
(set @default-dest name)
(set vernum (/ (getversion) 65536)) ; se version >37: c'è localizzazione
(if (> vernum 37)
(set local
(askbool
(prompt "Do you want to install the support file for the italian language ?")
(help local-help)
(default 0)
)
)
(set local 0)
)
(if local
(if (and (= @user-level 2) (exists "LOCALE:catalogs/italiano"))
(set sysdest
(askchoice
(prompt "Where do you want to install the localization file ?")
(help @askchoice-help)
(choices "in the same drawer as CapShift" "in LOCALE:")
(default 1)
)
)
(if (= name "SYS:WBStartup")
(set sysdest 1)
(set sysdest 0)
)
)
)
(if (not (exists "LOCALE:catalogs/italiano"))
(set sysdest 0)
)
(complete 50)
(copyfiles
(infos)
(source "/CapShift")
(dest name)
)
(tooltype
(dest (tackon name "CapShift"))
(noposition)
)
(complete 80)
(if local
(if sysdest
(copyfiles
(source "/catalogs/italiano/CapShift.catalog")
(dest "LOCALE:catalogs/italiano")
)
(
(makedir (tackon name "catalogs"))
(copyfiles
(source "/catalogs/italiano/CapShift.catalog")
(dest (tackon name "catalogs/italiano"))
)
)
)
)
(complete 100)