home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / r / runbarv2.4+keyfile.lha / RunBar / Install < prev    next >
Text File  |  1996-09-23  |  4KB  |  162 lines

  1. ;;;;
  2. ;;;;
  3. ;;;; Install_RB - RunBar installation script for Installer
  4. ;;;;
  5. ;;;; Copyright © 1996 Sergej Kravchenko
  6. ;;;;                  All Right reserved.
  7. ;;;;                  email dlife@pub.osf.lt
  8. ;;;;
  9. ;;;;     Installer and Installer project icon
  10. ;;;;     (c) Copyright 1991-93 Commodore-Amiga, Inc.  All Rights Reserved.
  11. ;;;;     Reproduced and distributed under license from Commodore.
  12. ;;;;
  13. ;;;;     INSTALLER SOFTWARE IS PROVIDED "AS-IS" AND SUBJECT TO CHANGE;
  14. ;;;;     NO WARRANTIES ARE MADE.  ALL USE IS AT YOUR OWN RISK.  NO LIABILITY
  15. ;;;;     OR RESPONSIBILITY IS ASSUMED.
  16. ;;;;
  17. (complete 0)
  18.  
  19.  
  20. (set #welcome           (cat "Welcome to the RunBar 2.4 installation\n\nThis program is shareware\nPlease register\n\n\n\n© 1996 Sergej Kravchenko\nemail: dlife@pub.osf.lt"))
  21. (set #dir-choice        (cat "Select the directory where copy guide and Images." ))
  22. (set #dir-choic         (cat "Select the directory where Guide files will be copyed." ))
  23. (set #dir-ch            (cat "Select WBStartup directory."))
  24. (set #copy              (cat "Copying RunBar "))
  25. (set #copy-guide        (cat "Copying Guide"))
  26. (set #copy-u            (cat "Copying Utils"))
  27. (set #copy-unin         (cat "Copying Images"))
  28. (set #copy-p            (cat "Copying Prefs"))
  29. (set #copy-key          (cat "Copying Library"))
  30. (set #msg  (cat "!!!!!!!!!ATTENTION!!!!!!!!!\n\nWhen program run, no window appears\non screen.To activate window\nmove mouse pointer to bottom of\nworkbench screen or\npress HotKey (default F1).\n\nReboot computer now to run program."))
  31. (set #msg1 (cat "!!!!!!!!!ATTENTION!!!!!!!!!\n\nInfo for all coders and programmers\nyou can find in guide.\n\nPlease READ this!!!!!!!"))
  32. ;=============================================================================
  33. (message #welcome)
  34. (welcome)
  35.  
  36.  
  37. ;========================================================================
  38. ;
  39. ; Select the RunBar directory
  40. ;
  41. (complete 0)
  42.  
  43. (if (> (exists ("SYS:WBStartup/RunBar")) 0)
  44.     (delete "SYS:WBStartup/RunBar")
  45. )
  46.  
  47. (if (> (exists ("SYS:WBStartup/RunBar.info")) 0)
  48.     (delete "SYS:WBStartup/RunBar.info")
  49. )
  50.  
  51. (procedure towbs
  52. (copyfiles
  53.    (prompt #copy)
  54.    (source "RunBar")
  55.    (help   @copyfiles-help)
  56.    (infos)
  57.    (dest "SYS:WBStartup")
  58. )
  59. )
  60.  
  61. (procedure toother
  62. (set NTdir
  63.    ( askdir
  64.       ( prompt #dir-ch )
  65.       (help "")
  66.       (default "SYS:WBStartup")
  67.       (newpath)
  68.    )
  69. )
  70. (copyfiles
  71.    (prompt #copy)
  72.    (source "RunBar")
  73.    (help   @copyfiles-help)
  74.    (infos)
  75.    (dest NTdir)
  76. )
  77. )
  78. (complete 10)
  79. (set choice
  80.      (askchoice
  81.       (prompt "Slect one of following:")
  82.       (help "")
  83.       (choices
  84.       "Standard WBStartup" ; 0
  85.       "WBStartup+ or other" ; 1)
  86.       (default 0))))
  87. (select choice
  88.         (towbs)
  89.         (toother))
  90.  
  91. (complete 20)
  92. (set NTdir
  93.    ( askdir
  94.       ( prompt #dir-choic )
  95.       (help "")
  96.       (default "s:")
  97.       (newpath)
  98.    )
  99. )
  100. (complete 30)
  101. (copyfiles
  102.    (prompt #copy-guide)
  103.    (source "RunBar.guide")
  104.    (help   @copyfiles-help)
  105.    (infos)
  106.    (dest NTdir)
  107. )
  108.  
  109. (complete 30)
  110. (copyfiles
  111.    (prompt #copy-unin)
  112.    (source "Images.iff")
  113.    (help   @copyfiles-help)
  114.    (infos)
  115.    (dest NTdir)
  116. )
  117.  
  118. (complete 40)
  119. (copylib
  120.    (prompt "Updating wbstart.library")
  121.    (help "This action will install wbstart.library on your HD.")
  122.    (source "Libs/wbstart.library")
  123.    (dest "Libs:")
  124.    (confirm)
  125. )
  126.  
  127. (complete 50)
  128. (copylib
  129.    (prompt #copy-key)
  130.    (source "L/WBStart-Handler")
  131.    (help   @copyfiles-help)
  132.    (dest "L:")
  133.    (confirm)
  134. )
  135. (complete 60)
  136. (copyfiles
  137.    (prompt #copy-u)
  138.    (source "Utils")
  139.    (help   @copyfiles-help)
  140.    (infos)
  141.    (dest "SYS:Utilities")
  142.    (all)
  143. )
  144. (complete 70)
  145. (copyfiles
  146.    (prompt #copy-p)
  147.    (source "RunBarPrefs")
  148.    (help   @copyfiles-help)
  149.    (infos)
  150.    (dest "SYS:Prefs")
  151. )
  152. (complete 80)
  153. (message #msg)
  154. (message #msg1)
  155. (complete 90)
  156. (run "SYS:Prefs/RunBarPrefs"
  157. (complete 100)
  158.  
  159. (exit)
  160.  
  161.