home *** CD-ROM | disk | FTP | other *** search
/ Best of German Only 1 / romside_best_of_german_only_1.iso / doshelp / dctstart / entpack.exe / --------.--- next >
Text File  |  1992-09-09  |  14KB  |  358 lines

  1. .Title "DCT Startup V2.00 - Shareware Version"
  2.  
  3. *---------------------------------- Wilkommen -------------------------------
  4. *----------------------------------------------------------------------------
  5. :Anfang
  6.   .DIALOG
  7.     .Title  "Willkommen"
  8.     .Text   "Willkommen zur Installation der Shareware - Version des Programmes "
  9.     .Text   "DCT Startup V. 2.0."
  10.     .Text
  11.     .Text   "Das Install-Programm wird das Programm DCT Startup auf Ihrem Computer"
  12.     .Text   "installieren. Folgen Sie einfach den Anweisungen."
  13.     .Text
  14.     .Text   "Um das Install-Programm jederzeit abzubrechen, wählen Sie die"
  15.     .Text   "Schaltfläche 'Installation beenden'."
  16.     .Text
  17.     .Text   "Wird eine Hilfe-Schaltfläche (?) angezeigt, können Sie diese wählen "
  18.     .Text   "um weitere Informationen zu erhalten."
  19.     .Text
  20.     .Text   "Um die Installation fortzufahren, wählen Sie die Schaltfläche"
  21.     .Text   "'Fortfahren'."
  22.     .Button "~F~ortfahren" :Quelle
  23.     .Button "~I~nstallation beenden" :Abbruch
  24.     .Button "~?~ Hilfe" :Hilfe_1
  25.   .END
  26.  
  27.   :Hilfe_1
  28.     .DIALOG
  29.       .Title  "Hilfe"
  30.       .Text   " Wie wird eine Schaltfläche aktiviert ?"
  31.       .Text
  32.       .Text   " Tastatur                              "
  33.       .Text   "  Jede Schaltfläche verfügt über einen hervorgehobenen Buchstaben. "
  34.       .Text   "  Drücken Sie bitte zuerst die [Alt] - Taste und halten Sie sie gedrückt. "
  35.       .Text   "  Drücken Sie nun die Taste des hervorgehobenen Buchstaben. "
  36.       .Text   "
  37.       .Text   " Maus "
  38.       .Text   "  Fahren Sie mit dem Mauszeiger auf eine beliebige Stelle innerhalb "
  39.       .Text   "  einer Schaltfläche und drücken Sie die linke Maustaste. "
  40.       .Text
  41.       .Button "~Z~urück" :Anfang
  42.     .END
  43.  
  44. :Quelle
  45.   .DIALOG
  46.     .Text "                                                 "
  47.     .Text "  Bitte Quell-Verzeichnis eingeben :             "
  48.     .Input "  " "A:\" 32 V
  49.     .Text
  50.     .Button "~F~ortfahren" :TestQuelle
  51.     .Button "~I~nstallation beenden" :Abbruch
  52.     .Button "~?~ Hilfe" :Hilfe2
  53.   .END
  54.  
  55. :Hilfe2
  56.    .DIALOG
  57.      .Title "Hilfe"
  58.      .Text  " Mit der Eingabe des Quell-Verzeichnisses geben Sie an, "
  59.      .Text  " in welchem Laufwerk/Verzeichnis sich die Installations- "
  60.      .Text  " diskette befindet. "
  61.      .Text  " Von diesem Laufwerk/Verzeichnis wird dann die Installation "
  62.      .Text  " des Programmes vorgenommen."
  63.      .Text
  64.      .Button "~Z~urück" :Return
  65.    .END
  66.  
  67. :TestQuelle
  68.  .SetV1 E1 ++ "\"
  69.  .IfNExist V1 + STARTUP.EX~ :Quelle :Update
  70.  
  71. :Update
  72.   .DIALOG
  73.     .Title "Update"
  74.     .Text  "    Nur für Besitzer einer alten DCT Startup Version !    "
  75.     .Text  " -------------------------------------------------------- "
  76.     .Text  "                                                          "
  77.     .Text  " Um eine korrekte Installation zu gewährleisten, geben    "
  78.     .Text  " Sie bitte bei der folgenden Eingabe des Installations-   "
  79.     .Text  " verzeichnisses, das Verzeichnis ein in das Ihre alte     "
  80.     .Text  " Startup Version kopiert wurde.
  81.     .Text  " Sollten Sie Besitzer einer alten Startup Version sein,   "
  82.     .Text  " so drücken Sie jetzt bitte den Schalter 'Alte Version'.  "
  83.     .Text  " "
  84.     .Button "~F~ortfahren" :Optionen
  85.     .Button "~A~lte Version" :Benutzerdefiniert
  86.     .Button "~I~nstallation beenden" :Abbruch
  87.   .END
  88.  
  89. :Optionen
  90.   .DIALOG
  91.     .Title  "Installations-Optionen"
  92.     .Text   " Um eine vollständige Installation von DCT Startup durchzuführen,     "
  93.     .Text   " wählen Sie jetzt 'Automatisch'. Dies ist die bevorzugte und "
  94.     .Text   " einfachste Installation. INSTALL kopiert das Programm "
  95.     .Text   " DCT Startup in das Verzeichnis : 'C:\DCT\ST'
  96.     .Text
  97.     .Text   " Falls Sie das Verzeichnis, in dem DCT Startup installiert werden     "
  98.     .Text   " soll, ändern wollen, so wählen Sie 'Benutzerdefiniert'"
  99.     .Text
  100.     .Button "~A~utomatisch" :Automatisch
  101.     .Button "~B~enutzerdefiniert" :Benutzerdefiniert
  102.     .Button "~I~nstallation beenden" :Abbruch
  103.     .Button "~?~ Hilfe" :Hilfe3
  104.   .END
  105.  
  106. :Hilfe3
  107.   .DIALOG
  108.     .Title "Hilfe"
  109.     .Text
  110.     .Text " Bei Wahl der Option 'Automatisch' wird das Programm "
  111.     .Text " automatisch in das Verzeichnis C:\DCT\ST kopiert. "
  112.     .Text " Um das Programm in ein anderes Verzeichnis zu installieren, "
  113.     .Text " wählen Sie die Option 'Benutzerdefiniert'"
  114.     .Text
  115.     .Button "~Z~urück" :Return
  116.   .END
  117.  
  118. :Automatisch
  119.   .SetV2 "C:\DCT\ST"
  120.   .SetV3 V2 ++ "\"
  121.   .Goto :Kopieren
  122.  
  123. :Benutzerdefiniert
  124.   .Dialog
  125.     .Title "Eingabe des Verzeichnisses"
  126.     .Text
  127.     .Text "  Bitte geben Sie das Verzeichnis ein, in das DCT-Startup  "
  128.     .Text "  installiert werden soll : "
  129.     .Text
  130.     .Text
  131.     .Input "  Verzeichnis : " "C:\DCT\ST" 30 V
  132.     .Text
  133.     .Text
  134.     .Button "~F~ortfahren":SetzeVerz
  135.     .Button "~I~nstallation beenden":Abbruch
  136.   .End
  137.  
  138. :SetzeVerz
  139.  .SetV2 E1
  140.  .SetV3 V2 ++ "\"
  141.  
  142.  
  143. :Kopieren
  144.  .IFEXIST V3 + "STARTUP.LST" :Install :New
  145.  
  146. :New
  147.  .DIALOG
  148.    .Title "Kopieren"
  149.    .Text
  150.    .Text " Das Installationsprogramm ersetzt nun Ihre "
  151.    .Text " AUTOEXEC.BAT - und CONFIG.SYS Datei durch zwei neue Dateien "
  152.    .Text " die nach dem Neustart Ihres Rechners DCT Startup aufrufen.  "
  153.    .Text " Ihre alten Dateien werden unter AUTOEXEC.DCT und CONFIG.DCT "
  154.    .Text " gesichert. "
  155.    .Text
  156.    .Button "~F~ortfahren" :Install
  157.    .Button "~I~nstallation beenden" :Abbruch
  158.  .END
  159.  
  160. :Install
  161.  .OpenIDialog V1 V2
  162.    .MakeDir V2 :Windows "     Erstelle das Verzeichnis " + V2 + " ..."
  163.  
  164. *----------------------------------------------------------------------------
  165. * Windows Installation
  166. *----------------------------------------------------------------------------
  167. :Windows
  168.   .DIALOG
  169.     .Title "Windows Installation"
  170.     .Text
  171.     .Text "    Soll das Install - Programm den DCT Startup - Arten     "
  172.     .Text "    Editor in Windows einbinden ? "
  173.     .Text
  174.     .Button "~E~inbinden" :WinVerz
  175.     .Button "~F~ortfahren" :Weiter
  176.     .Button "~I~nstallation beenden" :Abbruch
  177.   .END
  178.  
  179. :WinVerz
  180.   .DIALOG
  181.     .Title "Windows Installation"
  182.     .Text
  183.     .Text " Bitte geben Sie das Windows Verzeichnis ein : "
  184.     .Text
  185.     .Input "  Verzeichnis : " "C:\WINDOWS" 20 V
  186.     .Text
  187.     .Button "~F~ortfahren" :WinKopieren
  188.     .Button "~I~nstallation beenden" :Abbruch
  189.   .END
  190.  
  191. :WinKopieren
  192.   .SetV8 E1
  193.   .SetV9 V8 ++ "\"
  194.   .COPY V1 + "STEDIT.PI~" V3 + "STEDIT.PIF"  :Label1 :Label2 "    Kopiere STEDIT.PIF ..."
  195.   .COPY V1 + "STEDIT.IC~" V3 + "STEDIT.ICO"  :Label1 :Label2 "    Kopiere STEDIT.ICO ..."
  196.   .COPY V1 + "DCTSTART.GR~" V9 + "DCTSTART.GRP"  :Label1 :Label2 "    Kopiere Windows - Gruppe ..."
  197.   .COPY V1 + "SETWINGR.EX~" V3 + "SETWINGR.EXE"  :Label1 :Label2 "    Erstelle Windows - Gruppe ..."
  198.   .Exec V3 + "SETWINGR " + V8 + " DCTSTART.GRP"
  199.   .DEL V3 + "SETWINGR.EXE"
  200.   .COPY V1 + "GRPPATCH.EX~" V3 + "GRPPATCH.EXE"  :Label1 :Label2 "    Patche Windows - Gruppe ..."
  201.   .Exec V3 + "GRPPATCH " + V9 + "DCTSTART C:\WWWWWWWW\XXXXXXXX\YYYYYYYY\ZZZZZZZZ\STEDIT " + V2
  202.   .DEL V3 + "GRPPATCH.EXE"
  203.  
  204. :Weiter
  205. *----------------------------------------------------------------------------
  206. * Löschen der Alten STARTUP Dateien
  207. *----------------------------------------------------------------------------
  208.    .DEL V3 + "*.EXE" "     Lösche alte STARTUP - Dateien ..."
  209.    .DEL V3 + "*.DLG" "     Lösche alte STARTUP - Dateien ..."
  210.    .DEL V3 + "*.HDB" "     Lösche alte STARTUP - Dateien ..."
  211.    .DEL V3 + "*.TXT" "     Lösche alte STARTUP - Dateien ..."
  212.  
  213. *----------------------------------------------------------------------------
  214. * Erstellen der STARTUP.XXX Dateien
  215. *----------------------------------------------------------------------------
  216. *----------- Startup.1 ------------------------------------------------------
  217.    .DEL V3 + STARTUP.001
  218.    .DEL V3 + STARTUP.1
  219.    .SetV4 "COPY " + V3 + "STARTUP.3 " + "C:\CONFIG.SYS > NUL"
  220.    .SetV5 "COPY " + V3 + "STARTUP.2 " + "C:\AUTOEXEC.BAT > NUL"
  221.    .WRITE V3 + STARTUP.1 V4 :Abbruch "     Erstelle " + V3 + "STARTUP.1 ..."
  222.    .WRITE V3 + STARTUP.1 V5 :Abbruch "     Erstelle " + V3 + "STARTUP.1