home *** CD-ROM | disk | FTP | other *** search
- ;$VER:ConfigScript 1.1 for HFMounter 2.2
- (set @user-level 2)
- (set @default-dest "SYS:C/")
- (complete 0)
- (message "HFMounter 2.2 Configuration-Utility\n HFMounter is ©1995-1996 by SuicideSoft\n"
- "\nAfter choosing HFMounter, you may change it's"
- " behaviour with this installer-script, setting it's tooltypes according to your "
- "personal needs.\n\n"
- "Nach Auswahl des HFMounter's, kannst Du sein\n"
- "Verhalten durch Setzen der Tooltypes nach Deinen\n"
- "persönlichen Beduerfnissen konfigurieren.")
- (set #File-Txt (cat "Where is your installed HFM? Please select the file!\n\n"
- "Wo hast Du HFM installiert? Bitte wähle es aus!"))
- (set #File-Help (cat "\nThis section lets you choose the \n"
- "installed HFMounter\n\n"
- "Hier kannst Du den HFMounter auswählen, da\n"
- "dessen Tooltypes geändert werden sollen.\n\n"
- "Default SYS:C/HFM\n\n\n" @askfile-help))
- (set #DMS-Txt (cat "Where is your DMS executable located? Please select the file!\n\n"
- "Wo hast Du DMS installiert? Bitte wähle es aus!")
- )
- (set #DMS-Help (cat "\nGive the path plus the filename in here\n\n"
- "Hier wählst Du das zu benutzende DMS-Executable aus\n")
- )
-
- (complete 10)
-
- (set @hfname
- (askstring (prompt "Which name should the Hf-Units get after formatting?\n\n"
- "Welchen Namen sollen die HF_Units nach dem Formatieren erhalten?\n")
- (help @askstring-help)
- (default "HF")
- ))
-
- (complete 20)
-
- (set @pubscreen
- (askstring (prompt "On which Pubscreen should HfMounter pop up?\n\n"
- "Auf welchem PublicScreen soll HFMounter öfnnen?\n")
- (help "No help available")
- (default "Workbench")
- ))
-
- (complete 30)
-
- (set bitmask
- (askoptions (prompt "Select the tooltypes for HFMounter\n\n"
- "Wähle die Tooltypes für HFMounter\n")
- (help @askoptions-help)
- (choices "FFS" "INTL" "DIRCACHE" "NOICONS"
- (default 11)
- )
- ))
-
- (complete 40)
-
- (set @target
- (askfile
- (prompt #file-Txt)
- (help #file-Help)
- (default "SYS:C/HFM")
- ))
- (set @default-dest "")
-
- (complete 50)
-
- (set @dmspath
- (askfile (prompt (cat #DMS-Txt))
- (help (cat #DMS-Help))
- (default "sys:c/dms")
- ))
-
- (complete 60)
-
- (set @archivepath
- (askdir (prompt "Where is your favourite place for DMS-Archives located?\n\n"
- "Wo bewahrst Du Deine DMS-Archive auf?\n"
- )
- (help "Give the path which HFMounter will then use when decrunching the archives later\n\n"
- "Wähle hier den Pfad, den HFMounter später beim Entpacken von DMS-Archiven benutzt\n"
- )
- (default "sys:")
- ))
-
- (complete 70)
- (working)
-
- ( tooltype (prompt "No prompting") (dest @target)
- (settooltype "DMSPATH" @dmspath) (settooltype "ARCHIVEPATH" @archivepath)
- (settooltype "NAME" @hfname) (settooltype "PUBSCREEN" @pubscreen)
- (settooltype "DMSPATH") (settooltype "ARCHIVEPATH")
- (settooltype "PUBSCREEN") (settooltype "NAME") (settooltype "FFS")
- (settooltype "INTL") (settooltype "DIRCACHE") (settooltype "NOICONS")
- )
-
- (complete 80)
-
- (tooltype (prompt "No prompting") (dest @target)
- (settooltype "NOICONS" "FALSE") (settooltype "DIRCACHE" "FALSE")
- (settooltype "INTL" "FALSE") (settooltype "FFS" "FALSE")
- )
-
- (complete 90)
-
- (if (bitand bitmask 1)
- (tooltype (prompt "No prompting") (dest @target)
- (settooltype "FFS" "TRUE")
- )
- )
-
- (complete 93)
-
- (if (bitand bitmask 2)
- (tooltype (prompt "No prompting") (dest @target)
- (settooltype "INTL" "TRUE")
- )
- )
-
- (complete 95)
-
- (if (bitand bitmask 4)
- (tooltype (prompt "No prompting") (dest @target)
- (settooltype "DIRCACHE" "TRUE")
- )
- )
-
- (complete 97)
-
- (if (bitand bitmask 8)
- (tooltype (prompt "No prompting") (dest @target)
- (settooltype "NOICONS" "TRUE")
- )
- )
- (complete 100)
- ;(exit "That's all, configuration is finished now \n\n"
- ; "Das wars Leute, Konfiguration abgeschlossen.")
-