home *** CD-ROM | disk | FTP | other *** search
- (procedure INSTALL
- (SET Filo_dest
- (askdir
- (prompt #ziel)
- (help #ziel_hilfe)
- (default @default-dest)
- )
- )
-
- (complete 10)
-
- (makedir (tackon Filo_dest "FiloFax") (infos))
- (makedir (tackon Filo_dest "FiloFax/Sounds") (infos))
- (makedir (tackon "SYS:S/" "FiloData"))
-
- (SET Filo_dest (tackon Filo_dest "FiloFax"))
- (SET @default-dest Filo_dest)
-
- (IF (= filo_art 0) (
- (copyfiles
- (source "FiloFax-MUI/")
- (dest Filo_dest) (pattern "#?") (infos)
- )
- ))
-
- (IF (= filo_art 1) (
- (copyfiles
- (source "FiloFax-MUI/")
- (dest Filo_dest) (pattern "#?") (infos)
- )
- (copyfiles
- (source "FiloFax-Normal/FiloCheck")
- (dest Filo_dest) (infos)
- )
- ))
-
- (IF (= filo_art 2) (
- (copyfiles
- (source "FiloFax-Normal/")
- (dest Filo_dest) (pattern "#?") (infos)
- )
- ))
-
- (complete 55)
-
- (copyfiles
- (source "FiloFax.guide")
- (dest Filo_dest) (infos)
- )
-
- (copyfiles
- (source "Sounds/")
- (dest (tackon Filo_dest "Sounds")) (pattern "#?") (infos)
- )
-
- (copyfiles
- (source "FiloInter")
- (dest "SYS:S/FiloData/")
- )
-
- (copyfiles
- (source "FiloFax.iv")
- (dest "SYS:S/FiloData/")
- )
-
- (complete 65)
-
- ((SET icons (askchoice
- (prompt #icon)
- (choices #icon1
- #icon2
- #icon3)
- (help "")
- (DEFAULT 0)
- ))
- )
-
- (IF (= icons 0) (
- (copyfiles
- (source "Icons/Standard/FiloFax.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/Standard/FiloCheck.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/Standard/FiloNote.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/Standard/RegiTool.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/Standard/FiloFax.guide.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/Standard/Sounds.info")
- (dest Filo_dest)
- )
- ))
-
- (IF (= icons 1) (
- (copyfiles
- (source "Icons/MagicWB/FiloFax.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/MagicWB/FiloCheck.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/MagicWB/FiloNote.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/MagicWB/RegiTool.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/MagicWB/FiloFax.guide.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/MagicWB/Sounds.info")
- (dest Filo_dest)
- )
- ))
-
- (IF (= icons 2) (
- (copyfiles
- (source "Icons/NewIcons/FiloFax.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/NewIcons/FiloCheck.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/NewIcons/FiloNote.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/NewIcons/RegiTool.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/NewIcons/FiloFax.guide.info")
- (dest Filo_dest)
- )
- (copyfiles
- (source "Icons/NewIcons/Sounds.info")
- (dest Filo_dest)
- )
- ))
-
-
-
-
-
- (complete 70)
-
- ((SET zusatze (askchoice
- (prompt #zusatz)
- (choices #zusatz_wahl1
- #zusatz_wahl2)
- (help #zusatz_hilfe)
- (DEFAULT 0)
- ))
- )
-
- (IF (= filo_art 0) (
- (tooltype (dest (tackon Filo_dest "FiloCheck"))
-
- (settooltype "Version" "'v1.2 (Mui)'")
-
- (settooltype "FILO_FAX" (tackon Filo_dest "FiloFax 0"))
- (settooltype "FILO_STAT" (tackon Filo_dest "FiloFax 1"))
- (settooltype "FILO_NOTE" (tackon Filo_dest "FiloNote"))
- (settooltype "ONLY_ONCE" "0")
- (settooltype "DEFAULT_SOUND" "")
-
- (settooltype "G_NAME1" "Termineinsteller")
- (settooltype "G_NAME2" "Statistik")
- (settooltype "G_NAME3" "Notizbuch")
- (settooltype "G_NAME4" "Termin in x Min")
- (settooltype "G_NAME5" "Zeit-Voreinsteller")
- (settooltype "DONOTWAIT" "1")
- )))
-
- (IF (<> filo_art 0) (
- (tooltype (dest (tackon Filo_dest "FiloCheck"))
-
- (settooltype "Version" "'v1.2 (Normal)'")
-
- (settooltype "FILO_FAX" (tackon Filo_dest "FiloFax 0"))
- (settooltype "FILO_STAT" (tackon Filo_dest "FiloFax 1"))
- (settooltype "FILO_NOTE" (tackon Filo_dest "FiloNote"))
- (settooltype "ONLY_ONCE" "0")
- (settooltype "DEFAULT_SOUND" "")
- (settooltype "CX_POPUP" "1")
- (settooltype "DockX" "0")
- (settooltype "DockY" "600")
-
- (settooltype "CX_POPUPKEY" "SHIFT CTRL P")
- (settooltype "CX_FAX_KEY" "SHIFT CTRL F")
- (settooltype "CX_KILLKEY" "SHIFT CTRL Q")
- (settooltype "CX_REQKEY" "SHIFT CTRL R")
- (settooltype "CX_STAT_KEY" "SHIFT CTRL S")
- (settooltype "CX_NOTEKEY" "SHIFT CTRL N")
-
- (settooltype "G_NAME1" "Einsteller")
- (settooltype "G_NAME2" "Statistik")
- (settooltype "G_NAME3" "Notizbuch")
- (settooltype "G_NAME4" "Termin")
- (settooltype "G_NAME5" "Hide")
- (settooltype "G_NAME6" "Quit")
- (settooltype "DONOTWAIT" "1")
- )))
-
-
- (IF (= zusatze 0) (
- (copyfiles
- (source (tackon Filo_dest "FiloCheck"))
- (dest "SYS:WBStartup/") (infos)
- )
- (tooltype (dest (tackon "SYS:WBStartup/" "FiloCheck"))
- (settooltype "FILO_FAX" (tackon Filo_dest "FiloFax 0"))
- (settooltype "FILO_STAT" (tackon Filo_dest "FiloFax 1"))
- (settooltype "FILO_NOTE" (tackon Filo_dest "FiloNote"))
- )
- ))
-
- (copyfiles
- (source "RegiTool")
- (dest Filo_dest)
- )
-
- (complete 85)
-
- (copylib (prompt #library)
- (help "")
- (source lib)
- (dest "LIBS:")
- (confirm)
- )
-
- (IF (< (/ (getversion) 65536) 38)
- (tooltype (dest (tackon Filo_dest "FiloFax.guide"))
- (setdefaulttool "sys:utilities/AmigaGuide")
- )
- (tooltype (dest (tackon Filo_dest "FiloFax.guide"))
- (setdefaulttool "sys:utilities/Multiview")
- )
- )
- (complete 95)
-
- (working #icon-posit)
- (IF (<> icons 2) (
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloFax\" 23 30\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloCheck\" 155 15\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloNote\" 161 65\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloFax.guide\" 260 15\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/Sounds\" 250 75\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/RegiTool\" 350 39\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "\" DX 0 DY 12 DWIDTH 440 DHEIGHT 143\n"))
- ))
- (IF (= icons 2) (
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloFax\" 50 39\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloCheck\" 155 15\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloNote\" 155 78\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/FiloFax.guide\" 260 15\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/Sounds\" 260 78\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "/RegiTool\" 350 39\n"))
- (run (cat "SetIconAttrs >NIL: \"" Filo_dest "\" DX 0 DY 12 DWIDTH 440 DHEIGHT 163\n"))
- ))
- (complete 100)
- )
-
- (procedure ende
- (message #ende)
- )
-
- (procedure setzen
- (SET #icon-posit (cat ""
- "Die Icons werden positioniert !!!"
- ))
- (set #ziel (cat ""
- "In welche Disk/Schublade soll FiloFax installiert werden?"
- ))
-
- (set #ziel_hilfe (cat ""
- "Das Installationsprogramm erstellt das Verzeichnis \n"
- "\"FiloFax\" in diesem Verzeichnis. \n"
- "Alle \"FiloFax\" Dateien werden in dieses Verzeichnis\n"
- "kopiert \n"
- ))
-
- (set #zusatz (cat ""
- "Wollen Sie das FiloCheck in die WBStartup\nkopiert wird?"
- ))
-
- (set #zusatz_wahl1 (cat ""
- "FiloCheck in SYS:WBStartup/"
- ))
- (SET #zusatz_wahl2 (cat ""
- "FiloCheck NICHT in SYS:WB-Startup/"
- ))
-
- (SET #icon (cat ""
- "Was für Icons wünschen Sie?"
- ))
-
- (SET #icon1 (cat ""
- "Standard"
- ))
- (SET #icon2 (cat ""
- "MagicWB"
- ))
- (SET #icon3 (cat ""
- "NewIcons"
- ))
-
-
- (set #zusatz_hilfe (cat ""
- "Das Programm FiloCheck wird beim Booten, wenn es\n"
- "in der WBStartup ist, automatisch gestartet.\n"
- "(FiloCheck wird über die Tooltypes konfiguriert,\n"
- "mehr dazu in der Anleitung) \n\n"
- ))
-
- (set #library (cat ""
- "FiloFax benöntigt die ReqTools.library \n"
- "Wollen Sie diese jetzt installieren \n"
- ))
-
- (set #update (cat ""
- "Sie haben sich für eine Updateinstallation entschieden.\n\n"
- "Wählen Sie im folgenden Dateirequester, den Pfad von \n"
- "FiloFax aus. Die Daten diese Verzeichnisses sind dann\n"
- "unwiderruflich verloren und werden durch das Update \n"
- "ersetzt.\n" ))
-
- (set #u_ziel (cat ""
- "Bitte wählen Sie den Pfad in dem sich die alte Version von "
- "FiloFax befindet."
- ))
-
- (set #u_ziel_hilfe (cat ""
- "Das Installationsprogramm löscht alle Daten dieses Verzeichnises.\n"
- "Danach wird die neue Version von FiloFax in dieses Verzeichnises "
- "kopiert. "
- ))
-
- (SET #ende (cat ""
- "\n\n"
- "Die Installation ist nun beendet.\n\n"
- "Bitte starten Sie ihren Rechner neu, um FiloFax\n"
- "richtig zu nutzen.\n"
- ))
- )
-
-
-
-
-
-
- (SET lib "libs/reqtools.library")
- (SET @default-dest "SYS:")
-
- (complete 0)
-
- (IF (< (/ (getversion) 65536) 37)
- (
- (message "\n Tut mir leid, dieses Paket benoetigt mind. OS2.04.\n")
- (exit (quiet))
- )
- )
-
- (SET filo_art (askchoice
- (prompt "Welche Version von FiloFax wünschen Sie?")
- (choices
- "Reine MUI-Version"
- "MUI-Version aber FiloCheck der Normal-Version"
- "Reine Normal-Version"
- )
- (help "Ich empfehle die Wahl der reinen MUI-Version wenn:\n\n"
- " Ihnen das MagicUserInterface gefällt und Sie\n"
- " möchten das FiloCheck (das bei jedem Neustart\n"
- " gestartet wird) auch MUI nutzt.\n\n"
- "Ich empfehle die Wahl der MUI-Version kombiniert mit\n"
- "der Normal-Version wenn:\n\n"
- " Ihnen das MagicUserInterface gefällt aber Sie\n"
- " nicht möchten das FiloCheck (das bei jedem\n"
- " Neustart gestartet wird) auch MUI nutzt.\n\n"
- "Ich empfehle die Wahl der reinen Normal-Version wenn:\n\n"
- " Ihnen das MagicUserInterface nicht zusagt.\n\n"
- "Mehr dazu in der Anleitung im Kapitel Installation!"
- )
- ))
- (setzen)
- (INSTALL)
- (ende)
- (exit (quiet))
-
-
-
-
-