home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Amiga Shareware Floppies / ma16.dms / ma16.adf / DASModPlayer / Install-DASMP < prev    next >
Text File  |  1994-01-31  |  4KB  |  169 lines

  1. ; This is installation scipt for D.A.S.ModulePlayer V2.2
  2.  
  3. (set daslibsource "libs/das.library")
  4. (set daseplibsource "libs/dasmp")
  5. (set dasextarcsource "ENV/dasmp.extarc")
  6. (set dasauthorsource "ENV/dasmp.author")
  7. (set #copying-daslib    "Copying das.library to LIBS:.... ")
  8. (set #copying-eplib     "Copying External Player Libraries... ")
  9. (set #copying-exes      "Copying Executables and guide files... ")
  10. (set #exists-extarc
  11. (cat    "dasmp.extarc was already found from your ENV: drawer "
  12.         "Would you like to overwrite it? This may destroy "
  13.         "previous settings you may have done for external archivers. "))
  14.         
  15. (set #copy-extarc       
  16. (cat    "Would you like to have an example external archiver "
  17.         "listfile copied to your ENV: and ENVARC:? This listing "
  18.         "is required if you want to use external archivers (such as LHA) "
  19.         "This example file includes examples for LHA and ZIP archivers. "))
  20. (set #copy-author
  21. (cat    "Would you like to have an example author listing "
  22.         "file copied to your ENV: and ENVARC:? "))
  23. (set #copy-magicwb
  24. (cat    "Would you like to have neat 8-color MAGIC WB "
  25.         "icons copied instead of those dull 4 color ones? "))
  26.  
  27. (set @default-dest
  28.     (askdir
  29.         (prompt "Please select directory to install D.A.S.MP into. ")
  30.     (help "You must select a directory into which D.A.S.ModulePlayer "
  31.     "will be installed. There should be atleast 200 KB space "
  32.     "available for software installation. "
  33.     @askdir-help
  34.     )
  35.     (default "SYS:")
  36.     )
  37. )
  38.  
  39. (copyfiles
  40.     (prompt "\n" #copying-exes)
  41.     (help "")
  42.     (source "dasmodplayer")
  43.     (dest @default-dest)
  44.     (infos)
  45. )
  46. (copyfiles
  47.     (prompt "\n" #copying-exes)
  48.     (help "")
  49.     (source "converter")
  50.     (dest @default-dest)
  51.     (infos)
  52. )
  53. (copyfiles
  54.     (prompt "\n" #copying-exes)
  55.     (help "")
  56.     (source "DMODPAPPICON.info")
  57.     (dest @default-dest)
  58. )
  59.  
  60. (copyfiles
  61.     (prompt "\n" #copying-exes)
  62.     (help "")
  63.     (source "dasmp.guide")
  64.     (dest @default-dest)    
  65.     (infos)
  66. )
  67. (copyfiles
  68.     (prompt "\n" #copying-docs)
  69.     (help "")
  70.     (source "Register.doc")
  71.     (dest @default-dest)
  72.     (infos)
  73. )
  74.  
  75. (set @default-ldest
  76.     (askdir
  77.         (prompt "Please select directory to install D.A.S.MP "
  78.         "External player libraries into. ")
  79.     (help "You may select any directory you wish. To use these "
  80.         "External player libraries, you will have to add them "
  81.         "one by one from the D.A.S.MP itself. "
  82.     @askdir-help
  83.     )
  84.     (default "LIBS:")
  85.     )
  86. )
  87.  
  88. (copylib
  89.     (prompt "\n" #copying-daslib)
  90.     (help @copylib-help)
  91.     (source daslibsource)
  92.     (dest "LIBS:")
  93.     (confirm)
  94. )
  95. (copyfiles
  96.     (prompt "\n" #copying-eplib)
  97.     (help @copylib-help)
  98.     (source daseplibsource)
  99.     (dest @default-ldest)
  100.     (all)    
  101. )
  102.  
  103. (if
  104.     (askbool
  105.         (prompt #copy-extarc)
  106.         (help "")
  107.         (default 1)
  108.     )
  109.     (
  110.         (if (exists "ENV:dasmp.extarc")
  111.             (askbool
  112.                 (prompt #exists-extarc)
  113.                 (help "")
  114.                 (default 1)
  115.             )
  116.             (
  117.                 (copyfiles
  118.                 (source dasextarcsource)
  119.                 (dest "ENVARC:")        
  120.                 )
  121.                 (copyfiles
  122.                 (source dasextarcsource)
  123.                 (dest "ENV:")
  124.                 )
  125.             )
  126.     )
  127.     )
  128. )
  129. (if
  130.     (askbool
  131.         (prompt #copy-author)
  132.         (help "")
  133.         (default 1)
  134.     )
  135.     (
  136.     (copyfiles
  137.         (source dasauthorsource)
  138.         (dest "ENVARC:")    
  139.     )
  140.     (copyfiles
  141.         (source dasauthorsource)
  142.         (dest "ENV:")
  143.     )
  144.     )
  145. )
  146. (if
  147.     (askbool
  148.         (prompt #copy-magicwb)
  149.         (help "")
  150.         (default 1)
  151.     )
  152.     (
  153.     (copyfiles
  154.         (source "MagicWB-icons")
  155.         (dest @default-dest)
  156.         (all)
  157.     )
  158.     )
  159. )
  160.  
  161. (if (exists "HELP:")
  162.     (
  163.     (copyfiles
  164.         (source "Locale/help/dasmphelp.guide")
  165.         (dest "HELP:")
  166.     )
  167. ))
  168.  
  169.