home *** CD-ROM | disk | FTP | other *** search
/ Aminet 10 / aminetcdnumber101996.iso / Aminet / comm / ambos / AmBoS.lha / AmBoS_Install / Install_AmBoS < prev    next >
Text File  |  1995-11-13  |  3KB  |  134 lines

  1. (user 2)
  2. (set MainPath        "BBS:")
  3. (set SourcePath        "AmBoS")
  4.  
  5. (set destpath
  6.     (askdir
  7.         (prompt "Wo soll das AmBoS-Verzeichnis erzeugt werden ?")
  8.         (help "In das von Ihnen gewählte Verzeichnis wird das AmBoS-Demo kopiert. Es wird ein Icon für das Verzeichnis erzeugt")
  9.         (default "work:")
  10.     )
  11. )
  12.  
  13. (set @default-dest
  14.     (tackon destpath "AmBoS")
  15. )
  16.  
  17. (set result
  18.     (makedir @default-dest
  19.         (prompt "Erzeuge AmBoS-Verzeichnis...")
  20.         (safe)
  21.     )
  22. )
  23.  
  24. (set result
  25.     (copyfiles
  26.         (prompt "Kopiere AmBoS-Files...")
  27.         (help "Es werden nun die AmBoS-File kopiert")
  28.         (source SourcePath)
  29.         (dest @default-dest)
  30.         (all)
  31.         (infos)
  32.         (optional fail)
  33.         (safe)
  34.     )
  35. )
  36.  
  37. (set result
  38.     (copyfiles
  39.         (prompt "Kopiere AmBoS-Files...")
  40.         (help "Es werden nun die AmBoS-File kopiert")
  41.         (source "AmBoS.info")
  42.         (dest destpath)
  43.         (safe)
  44.     )
  45. )
  46.  
  47. (set result
  48.     (copylib
  49.         (prompt "Kopiere Libraries...")
  50.         (help "Es werden nun die AmBoS-Libraries kopiert")
  51.         (source "libs/bbs.library")
  52.         (dest "libs:")
  53.         (optional fail)
  54.         (safe)
  55.     )
  56. )
  57.  
  58. (set result
  59.     (copyfiles
  60.         (prompt "Kopiere Fonts...")
  61.         (help "Es werden nun die AmBoS-Fonts kopiert")
  62.         (source "fonts")
  63.         (dest "fonts:")
  64.         (all)
  65.         (infos)
  66.         (optional fail)
  67.         (safe)
  68.     )
  69. )
  70.  
  71. (set result
  72.     (copyfiles
  73.         (prompt "Kopiere Catalogs...")
  74.         (help "Es werden nun die AmBoS-Catalogs kopiert")
  75.         (source "Locale")
  76.         (dest "Locale:")
  77.         (all)
  78.         (infos)
  79.         (optional fail)
  80.         (safe)
  81.     )
  82. )
  83.  
  84. (set forstartup ("assign bbs: \"%s\"" @default-dest))
  85.  
  86. (set result
  87.     (startup "AmBoS-Hauptprogramm"
  88.         (prompt "Es wird das BBS-Assign in Ihre User-Startup eingefügt")
  89.         (help "Das Assign wird von AmBoS benötigt, um die nötigen Datenfiles zu finden")
  90.         (command forstartup)
  91.     )
  92. )
  93. (makeassign "bbs" @default-dest)
  94.  
  95. (set result
  96.     (askbool
  97.         (default 1)
  98.         (prompt "AmBoS macht von allen Datenfiles ein Backup. Dazu muß allerdings das Assign 'backup:' eingerichtet sein. Soll dieses Assign in Ihre User-Startup einfügt werden ?")
  99.         (help "Dieses Assign benötigt AmBoS um Backups von den Systemdaten zu machen")
  100.         (choices "Ja" "Nein")
  101.     )
  102. )
  103.  
  104. (if result
  105.     (
  106.         (set destpath
  107.             (askdir
  108.                 (prompt "Wo soll das Backup-Verzeichnis erzeugt werden ?")
  109.                 (help "In das von Ihnen gewählte Verzeichnis werden die backups der Systemdaten gemacht. Es sollte ein Verzeichnis auf einer Partition ungleich der BBS-Partition gewählte werden.")
  110.                 (default "data:")
  111.             )
  112.         )
  113.         (set backuppath
  114.             (tackon destpath "Backup")
  115.         )
  116.         (set result
  117.             (makedir backuppath
  118.                 (prompt "Erzeuge backup-Verzeichnis...")
  119.                 (infos)
  120.                 (safe)
  121.             )
  122.         )
  123.         (set backupassign ("assign backup: \"%s\"" backuppath))
  124.         (set result
  125.             (startup "AmBoS-Backupverzeichnis"
  126.                 (prompt "Es wird das Backup-Assign in Ihre User-Startup eingefügt")
  127.                 (help "Das Assign wird von AmBoS benötigt, um backups von den Datenfiles zu machen.")
  128.                 (command backupassign)
  129.             )
  130.         )
  131.         (makeassign "backup" backuppath)
  132.     )
  133. )
  134.