home *** CD-ROM | disk | FTP | other *** search
/ Media Gallery 1995 December / MG_1295.ISO / speaos2.cmd < prev    next >
OS/2 REXX Batch file  |  1995-10-17  |  4KB  |  105 lines

  1. /* SPEA Software Installation*/
  2.   DO FOREVER
  3.     CLS
  4.     SAY""
  5.     SAY""
  6.     SAY""
  7.     SAY"         ╔════════════════════════════════════════════════════════╗ "
  8.     SAY"         ║                                                        ║ "
  9.     SAY"         ║                   SPEA Superdisk CD                    ║ "
  10.     SAY"         ║                                                        ║ "
  11.     SAY"         ║            in Deutsch - geben Sie ein :  D             ║ "
  12.     SAY"         ║            in English - please enter  :  E             ║ "
  13.     SAY"         ║                                                        ║ "
  14.     SAY"         ║ SPEA Software AG                                       ║ "
  15.     SAY"         ╚════════════════════════════════════════════════════════╝ "
  16.     SAY""
  17.     SAY""
  18.     SAY""
  19.  
  20. /*  DO FOREVER*/
  21.     PULL LANG
  22.     IF LANG = "D" | LANG = "d" | LANG = "E" | LANG = "e" | LANG = ""  THEN LEAVE
  23.   END
  24.  
  25.   cls
  26.   SELECT
  27.     WHEN LANG = "D" | LANG = "d" THEN DO
  28.       say""
  29.       say""
  30.       say""
  31.       say"         ╔════════════════════════════════════════════════════════╗ "
  32.       say"         ║                                                        ║ "
  33.       say"         ║                   SPEA Superdisk CD                    ║ "
  34.       say"         ║                                                        ║ "
  35.       say"         ║  Bitte wählen Sie:                                     ║ "
  36.       say"         ║                                                        ║ "
  37.       say"         ║     I  für Informationen, Hanbücher, ...               ║ "
  38.       say"         ║                                                        ║ "
  39.       say"         ║          Achtung:                                      ║ "
  40.       say"         ║          Diese Auswahl startet MS Windows!             ║ "
  41.       say"         ║                                                        ║ "
  42.       say"         ║     S  Starte Installation                             ║ "
  43.       say"         ║                                                        ║ "
  44.       say"         ║ SPEA Software AG                                       ║ "
  45.       say"         ╚════════════════════════════════════════════════════════╝ "
  46.       say""
  47.     END 
  48.     WHEN LANG = "E" | LANG = "e" THEN DO
  49.       say""
  50.       say""
  51.       say""
  52.       say"         ╔════════════════════════════════════════════════════════╗ "
  53.       say"         ║                                                        ║ "
  54.       say"         ║                   SPEA Superdisk CD                    ║ "
  55.       say"         ║                                                        ║ "
  56.       say"         ║  Please press                                          ║ "
  57.       say"         ║                                                        ║ "
  58.       say"         ║     I  for Informations, Manuals, ...                  ║ "
  59.       say"         ║                                                        ║ "
  60.       say"         ║          Note: This option starts Windows.             ║ "
  61.       say"         ║                                                        ║ "
  62.       say"         ║     S  for starting installation                       ║ "
  63.       say"         ║                                                        ║ "
  64.       say"         ║ SPEA Software AG                                       ║ "
  65.       say"         ╚════════════════════════════════════════════════════════╝ "
  66.       say""
  67.       say""
  68.       say""
  69.     END 
  70.     WHEN LANG = "" THEN DO
  71.       EXIT
  72.     END
  73.   END
  74.  
  75.   DO FOREVER
  76.     PULL ACTION
  77.     IF ACTION="i" | ACTION="I" | ACTION="s" | ACTION="S" | ACTION="" THEN LEAVE
  78.   END
  79.  
  80.   SELECT
  81.     WHEN ACTION = "i" | ACTION = "I" THEN DO
  82.       IF LANG = "e" | LANG = "E" THEN
  83.         DO
  84.           SAY directory("\SPEA\DOCS")
  85.           START "/F /C WINHELP pinfo_e.hlp"
  86.         END
  87.       ELSE
  88.         DO
  89.           SAY directory("\SPEA\DOCS")
  90.           START "/F /C WINHELP pinfo_d.hlp"
  91.         END
  92.       
  93.     END    
  94.     WHEN ACTION = "s" | ACTION = "S" THEN DO
  95.       directory("SPEA\INSTALL")
  96.       IF LANG = "e" | LANG = "E" THEN
  97.        START "/F /C INST -e -. -. \SPEA"
  98.       ELSE
  99.        START "/F /C INST -d -. -. \SPEA"
  100.       
  101.     END    
  102.   OTHERWISE
  103.     END
  104.   EXIT
  105.