home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga MA Magazine 1998 #3
/
amigamamagazinepolishissue1998.iso
/
bazy
/
calepin
/
install
< prev
next >
Wrap
Text File
|
1996-11-13
|
4KB
|
176 lines
; install Calepin v1.3
(SET @default-dest "Work:")
(SET default_lang 0)
; ***** english texts *****
(SET #needKick (CAT "\nCalepin need Kickstart Version 39 at least." ) )
(SET #startMsg (CAT "\nCalepin 1.3\n\n"
"(c)1995/1996 Mathias 'HCL' Delantes\n\n"
"Calepin uses MUI, version 3.1 a least.\n\n"
"If you were using a previous version of\n"
"Calepin then Read the documentation\n"
"in order to update your data or you will lost them"))
(SET #destPrompt ( CAT "Please choose the destination directory for Calepin.\n"
"No extra directory will be created." ) )
(SET #copyPFiles "Copying program files")
(SET #langPrompt "Select the languages you wish to use with Calepin.")
(SET #DocPrompt "Select the directory for the documentation file.")
(SET #copyCalepin "Copying Calepin...")
(SET #langPromptGuide "Select the language you wish for the documentation.")
; ***** francais texts *****
(IF (= @language "français")
(
(SET default_lang 1)
(SET #needKick ( CAT "\nCalepin a besoin du Kickstart version 39 au moins." ) )
(SET #startMsg (CAT "\nCalepin 1.3\n\n"
"(c)1995/1996 Mathias 'HCL' Delantes\n\n"
"Calepin utilise MUI, version 3.1 au moins.\n\n"
"Si vous utilisez une version anterieur\n"
"de Calepin alors Lisez la documentation\n"
"afin de mettre a jour vos fichiers ou vous\n"
"risquez de les perdre!\n\n"))
(SET #destPrompt (CAT "Choissisez un repertoire pour Calepin.\n"
"Aucun repertoire ne sera creer pour lui.") )
(SET #copyPFiles "Copie des fichiers du programme")
(SET #langPrompt "Selectionnez le langage que vous desirez.")
(SET #DocPrompt "Selectionnez un repertoire pour la documentation.")
(SET #copyCalepin "Copie de Calepin...")
(Set #langPromptGuide "Selectionnez la langue pour la la documentation.")
)
)
; ***** start installation *****
(if (< (/ (GETVERSION) 65536) 39)
(ABORT #needKick)
)
(MESSAGE #startMsg)
; ***** get dest dir for Calepin *****
(SET @default-dest
(ASKDIR (PROMPT #destPrompt)
(HELP askdir-help)
(DEFAULT @default-dest)
(NEWPATH)
)
)
(set prozess (database "cpu"))
(if (< "68010" prozess)
(set Calepin-source "Calepin020")
(set Calepin-source "Calepin")
)
(set prozess (database "cpu"))
(if (< "68010" prozess)
(set Calepininfo-source "Calepin020.info")
(set Calepininfo-source "Calepin.info")
)
(copyfiles
(prompt #copy-Calepin)
(source Calepin-source)
(newname "Calepin")
(dest @default-dest)
(files)
)
(copyfiles
(prompt #copy-Calepin)
(source Calepininfo-source)
(newname "Calepin.info")
(dest @default-dest)
(files)
)
; ***** install some languages *****
(SET sprachen (ASKOPTIONS (PROMPT #langPrompt)
(HELP askoptions-help)
(CHOICES "english"
"français"
"deutsch"
)
(DEFAULT (+ default_lang 1) )
)
)
(if (IN sprachen 1)
(COPYFILES (SOURCE "Locale/français/Calepin.catalog")
(DEST "Locale:Catalogs/français") )
)
(if (IN sprachen 2)
(COPYFILES (SOURCE "Locale/deutsch/Calepin.catalog")
(DEST "Locale:Catalogs/deutsch") )
)
; ***** get dest for doc files *****
(SET @DocDir
(ASKDIR (PROMPT #DocPrompt)
(HELP askdir-help)
(DEFAULT @default-dest)
(NEWPATH)
)
)
; ***** install doc files *****
(SET sprachen (ASKOPTIONS (PROMPT #langPromptGuide)
(HELP askoptions-help)
(CHOICES "english"
"français"
)
(DEFAULT (+ default_lang 1) )
)
)
(if (IN sprachen 0)
(COPYFILES (SOURCE "Docs/english/Calepin.guide")
(DEST @DocDir ))
)
(if (IN sprachen 1)
(COPYFILES (SOURCE "Docs/français/Calepin.guide")
(DEST @DocDir ))
)
(if (IN sprachen 0)
(COPYFILES (SOURCE "Docs/english/Calepin.guide.info")
(DEST @DocDir ))
)
(if (IN sprachen 1)
(COPYFILES (SOURCE "Docs/français/Calepin.guide.info")
(DEST @DocDir ))
)
(EXIT #exitMsg )