home *** CD-ROM | disk | FTP | other *** search
- ; HDClick Install-Script, © by Claude Müller
- ; Askenv © by Bengt Giger
-
- echo " HDClick 3.0 Installation"
- echo " ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯"
- echo "*N Welcome to the HDClick Installation."
- echo "*N All Requestors done with AskEnv, © by Bengt Giger."
-
- assign HDCLICK: ""
- assign ASKENV: HDCLICK:Askenv
-
- RESIDENT AskEnv/Askenv PURE
- echo "*NAskEnv resident...*N*N"
-
- ; Sprache auswählen
-
- ASKENV:AskEnv GADFILE Askenv/Sprache.req
-
-
- if warn
- echo "Bye Bye ! Tschüss ! Au revoir !"
- quit
- endif
-
- if $Sprache EQ "1" ; English
-
- Set ByeMsg "Bye Bye...[Press Return]"
- Set ThankMsg "! Thank you for installing HDClick !"
-
- echo "English-speaking user, you're welcome !"
-
- ASKENV:AskEnv Gadfile ASKENV:English.req
- if warn
- echo $ByeMsg
- quit
- endif
-
- if not EXISTS $HDClickDir
- makedir $HDClickDir
- endif
-
- cd $HDClickDir
-
- if EXISTS HDClick
- ASKENV:AskEnv SREQ "HDClick in $HDClickDir already exists." BODY "Should I overwrite it ?" POS "Overwrite" NEG "Stop"
- if WARN
- echo $ByeMsg
- quit
- endif
- endif
- echo "Copying HDClick 3.0 to " $HDClickDir "..."
- copy HDCLICK:HDClick3.0 HDClick
- copy HDCLICK:HDClick3.0.info HDClick.info
- echo "Copying HDCPrefs..."
- copy HDCLICK:HDCPrefs HDCPrefs
- echo "Copying English texts for Help-Function..."
- copy HDCLICK:HDCHelp.english HDCHelp
- echo "Copying WBRUN to c:..."
- copy HDCLICK:c/wbrun c:
- echo "Copying iff.library to libs:..."
- copy HDCLICK:libs/iff.library libs:
- echo "*N...done."
-
- ASKENV:AskEnv Gadfile ASKENV:ConfigEnglish.req
- if warn
- echo "Installation nearly complete... You can start HDClick, but"
- echo "you have to create the Configfiles first (HDClick will tell"
- echo "you how).*N"
- echo $ThankMsg
- echo $ByeMsg
- ASKENV:Askenv EOL
- quit
- endif
-
- cd $HDClickDir
-
- echo "Copying Example-Configs to" $HDCConfigs "..."
- copy HDCLICK:HDCConfigs/#? HDCConfigs All
- delete >nil: HDCConfigs/HDCConfig
- rename >nil: HDCConfigs/WelcomeConfig HDCConfigs/HDCConfig
- echo "*N...done."
- echo "Copying Example-Brushes to" $HDClickDir/Brushes "..."
- copy HDCLICK:Brushes/#? Brushes All
- echo "*N...done."
-
- if $HDClickDir EQ "HDCConfigs"
- echo "*NInstallation complete ! You can now start HDClick and Edit"
- echo "the Gadgets."
- echo "Perhaps you take a look at the Quickstart-Tutorial"
- echo "so you can learn to use HDClick faster ?"
- else
- echo "You didn't use HDCConfigs as the Directory for the example-"
- echo "configs, so you will have to change the Path in the TOOLTYPES"
- echo "of HDClick's Icon so that it will work."
- endif
-
- ECHO "*N"
- echo $ThankMsg
- ECHO "*N"
- echo $ByeMsg
-
-
- ASKENV:Askenv EOL
-
- endif
-
- if $Sprache EQ "2" ; Deutsch
-
- Set ByeMsg "Tschüss...[Return drücken]"
- Set ThankMsg "! Vielen Dank für das Installieren von HDClick !"
-
- echo "Aha, ein Deutschsprachiger User ! Hallo !"
-
- ASKENV:AskEnv Gadfile ASKENV:Deutsch.req
- if warn
- echo $ByeMsg
- quit
- endif
-
- if not EXISTS $HDClickDir
- makedir $HDClickDir
- endif
-
- cd $HDClickDir
-
- if EXISTS HDClick
- ASKENV:AskEnv SREQ "HDClick in $HDClickDir existiert bereits." BODY "Soll es überschrieben werden ?" POS "Ueberschreiben" NEG "Stop"
- if WARN
- echo $ByeMsg
- quit
- endif
- endif
- echo "Kopiere HDClick 3.0 nach " $HDClickDir "..."
- copy HDCLICK:HDClick3.0 HDClick
- copy HDCLICK:HDClick3.0.info HDClick.info
- echo "Kopiere HDCPrefs..."
- copy HDCLICK:HDCPrefs HDCPrefs
- echo "Kopiere Deutsche Texte für die Hilfe-Funktion..."
- copy HDCLICK:HDCHelp HDCHelp
- echo "Kopiere WBRUN nach c:..."
- copy HDCLICK:c/wbrun c:
- echo "Kopiere iff.library nach libs:..."
- copy HDCLICK:libs/iff.library libs:
- echo "*N...kopiert."
-
- ASKENV:AskEnv Gadfile ASKENV:ConfigDeutsch.req
- if warn
- echo "Installation fast komplett. Da Du die Beispiels-Configfiles nicht"
- echo "installiert hast, musst Du sie selber kreieren. HDClick sagt"
- echo "Dir wie das geht."
- echo $ThankMsg
- echo $ByeMsg
- quit
- endif
-
- cd $HDClickDir
-
- echo "Kopiere Beispiels-Configs Brushes nach" $HDCConfigs "..."
- copy HDCLICK:HDCConfigs/#? HDCConfigs All
- delete >nil: HDCConfigs/HDCConfig
- rename >nil: HDCConfigs/WelcomeConfig HDCConfigs/HDCConfig
- echo "*N...kopiert."
- echo "Kopiere Beispiels-Brushes nach" $HDClickDir/Brushes "..."
- copy HDCLICK:Brushes/#? Brushes All
- echo "*N...kopiert."
-
-
- if $HDClickDir EQ "HDCConfigs"
- echo "*NInstallation fertig ! Du kannst nun HDClick starten und die"
- echo "Gadgets edieren."
- echo "Vielleicht schaust Du Dir mal das Quickstart-Tutorial"
- echo "an, damit Du die Bedienung HDClicks schnell erlernst ?"
- else
- echo "Da Du ein anderes Verzeichnis als HDCConfigs für die Beispiels-"
- echo "configs gewählt hast, musst Du den Pfad in den TOOLTYPES des"
- echo "HDClick-Icons anpassen, damit es funktioniert."
- endif
-
- ECHO "*N"
- echo $ThankMsg
- ECHO "*N"
- echo $ByeMsg
-
- ASKENV:Askenv EOL
-
-
- endif
-
-
- if $Sprache EQ "3" ; Francais
-
- Set ByeMsg "Au revoir...[préssez Return]"
- Set ThankMsg "! Merci d'avoir installé HDClick !"
-
- echo "Oh, vous etes français ? Bonjour !"
-
- ASKENV:AskEnv Gadfile ASKENV:Francais.req
- if warn
- echo $ByeMsg
- quit
- endif
-
- if not EXISTS $HDClickDir
- makedir $HDClickDir
- endif
-
- cd $HDClickDir
-
- if EXISTS HDClick
- ASKENV:AskEnv SREQ "HDClick dans $HDClickDir existe déjà.." BODY "Puis-je le copier quand même ?" POS "Copier" NEG "Stop"
- if WARN
- echo $ByeMsg
- quit
- endif
- endif
-
- echo "Copie HDClick 3.0 à " $HDClickDir "..."
- copy HDCLICK:HDClick3.0 HDClick
- copy HDCLICK:HDClick3.0.info HDClick.info
- echo "Copie HDCPrefs..."
- copy HDCLICK:HDCPrefs HDCPrefs
- echo "Copie textes français pour fonctions d'aide..."
- copy HDCLICK:HDCHelp.english HDCHelp
- echo "Copie WBRUN à c:..."
- copy HDCLICK:c/wbrun c:
- echo "Copie iff.library à libs:..."
- copy HDCLICK:libs/iff.library libs:
- echo "...copié."
-
-
- ASKENV:AskEnv Gadfile ASKENV:ConfigFrancais.req
- if warn
- echo "Installation présque complète. Parce-que vous n'avez pas installé"
- echo "les example-configs, vous devez les créer vous-meme. HDClick"
- echo "va vous instructer quand."
- echo $ThankMsg
- echo $ByeMsg
- quit
- endif
-
- cd $HDClickDir
-
- echo "Copie Exemple-Configs dans" $HDCConfigs "..."
- copy HDCLICK:HDCConfigs/#? HDCConfigs All
- delete >nil: HDCConfigs/HDCConfig
- rename >nil: HDCConfigs/WelcomeConfig HDCConfigs/HDCConfig
- echo "*N...copié."
- echo "Copie Exemple-Brushes dans" $HDClickDir/Brushes "..."
- copy HDCLICK:Brushes/#? Brushes All
- echo "*N...copié."
-
- if $HDClickDir EQ "HDCConfigs"
- echo "*NInstallation complète ! Vous pouvez maintenant lancer HDClick"
- echo "et changer les gadgets."
- echo "Je n'ai pas écris une documentation française, mais il est"
- echo "possible que France Festival Distribution a écrit une."
- echo "(je n'ai pas de confirmation.)"
- echo "Pour utiliser HDClick immédiatement,"
- echo "lisez le Quickstart-Tutorial !."
- else
- echo "Parce-que vous avez pris un autre répertoire que HDCConfigs"
- echo "pour les example-configs, vous devez changer le répertoire dans"
- echo "les TOOLTYPES de l'icône de HDClick pour qu'il functionne."
- endif
-
- ECHO "*N"
- echo $ThankMsg
- ECHO "*N"
- echo $ByeMsg
-
- ASKENV:Askenv EOL
-
- endif
-