home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d10xx
/
d1000
/
polyfit.lha
/
PolyFit
/
Install_with_Installer
< prev
next >
Wrap
Text File
|
1994-04-03
|
2KB
|
90 lines
;Install script for PolyFit. Copyright © 1994 Camiel Rouweler.
;$VER: Install_PolyFit 1.21 (26.2.94)
(welcome
"Welcome to the PolyFit installer\n"
)
(message
"The installer will install the PolyFit executable file to your system and "
"if you wish also the example datafiles.\n"
"If your system supports localisation, you can also select to install "
"catalog files for your language (currently supported: english, dutch and "
"german)."
)
(if (exists "Work:" (noreq))
(set @default-dir "Work:PolyFit") ;then clause
(set @default-dir "SYS:PolyFit") ;else clause
)
(set destdir
(askdir
(prompt "select a directory where you want PolyFit installed to.")
(help @askdir-help)
(default @default-dir)
(newpath)
)
)
(set @default-dest destdir)
(if (NOT (exists destdir (noreq)))
(makedir destdir
(prompt "I will now create the directory " destdir)
(help @makedir-help)
(infos)
)
)
(copyfiles
(prompt "Select files to install" destdir)
(help
"PolyFit:\nThe executable file.\n\n"
"PolyFit.guide:\nDocumentation file.\n\n"
"General help:\n"
@copylib-help)
(source "")
(dest destdir)
(choices "PolyFit" "PolyFit.guide")
(infos)
(confirm)
)
(copyfiles
(prompt "Select example files to install" destdir)
(help
"These example files illustrate the different fitting methods "
"of PolyFit.\n\n"
"General help:\n"
@copylib-help)
(source "")
(dest destdir)
(pattern "#?.pf")
(infos)
(confirm)
)
(if (exists "Locale:Catalogs" (noreq))
(
(copyfiles
(prompt "Install catalog files?")
(help "PolyFit supports english and the languages listed here. "
"If you want to use on of these languages, you will have to "
"install it.\n\n"
@copyfiles-help)
(source "Locale/Catalogs")
(dest "Locale:Catalogs")
(all)
(infos)
(confirm)
)
)
)
(exit
"\n\nHave a nice day!"
)