home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / dev / gui / pmdev.lha / PopupMenuDeveloper / Install / InstallPopupMenu < prev   
Encoding:
Text File  |  1997-02-27  |  1.6 KB  |  79 lines

  1. ;
  2. ; $VER: PopupMenuInstaller V1.0 (27.2.96)
  3. ; Copyright ©1996-1997 Henrik Isaksson
  4. ;
  5.  
  6. (complete 0)
  7.  
  8. (welcome "Welcome to the PopupMenu Library Developer Package Installer!")
  9.  
  10. (copylib
  11.     (prompt        "Installing the popupmenu.library...")
  12.     (help        @copylib-help)
  13.     (source        "/Libs/popupmenu.library")
  14.     (dest        "LIBS:")
  15.     (optional    force askuser)
  16.     (confirm)
  17. )
  18.  
  19. (complete 10)
  20.  
  21. (if    (askbool
  22.         (prompt "Do you want to install the C include-files?")
  23.         (help "You will only need theese files if you are a C-programmer.")
  24.         (default 0)
  25.     )
  26.     (
  27.         (set #incdest (askdir
  28.             (prompt "In wich directory or assign do you keep your include-files?")
  29.             (help "This will install the needed C-headers if you are going to develop your own menus.")
  30.             (newpath)
  31.             (default "INCLUDE:")
  32.         ))
  33.  
  34.         (copyfiles
  35.             (prompt "Copying Include files.")
  36.             (help @copyfiles-help)
  37.             (source "/Include")
  38.             (dest #incdest)
  39.             (pattern "~(#?.info)")
  40.         )
  41.     )
  42. )
  43.  
  44. (complete 50)
  45.  
  46. (if    (askbool
  47.         (prompt "Do you want to install the Demo programs and Developer Documentation?")
  48.         (help "You will only need theese files if you are a programmer or want to see what popupmenu.library does.")
  49.         (default 0)
  50.     )
  51.     (
  52.  
  53.         (set #pmdest (askdir
  54.             (prompt "Where do you want to install the demos and documentation?\nA new directory will be created.")
  55.             (help @askdir-help)
  56.             (newpath)
  57.             (default @default-dest)
  58.         ))
  59.  
  60.         (makedir (tackon #pmdest "PopupMenu/"))
  61.     
  62.         (complete 70)
  63.  
  64.         (copyfiles
  65.             (prompt "Copying demo apps and docs.")
  66.             (help @copyfiles-help)
  67.             (source "/")
  68.             (dest (tackon #pmdest "PopupMenu/"))
  69.             (pattern "(demos#?|#?.guide#?)")
  70.         )
  71.  
  72.         (set @default-dest (tackon #pmdest "PopupMenu/"))
  73.     )
  74. )
  75.  
  76. (complete 99)
  77.  
  78. (exit)
  79.