home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / software / utilities / reqattackprefs / installraprefs next >
Text File  |  1991-12-17  |  2KB  |  69 lines

  1. (set __version "1.17")
  2. (set __date "28.11.99")
  3.  
  4. (complete 0)
  5. (message "\n\n"
  6.          "Attemping to install ReqAttackPrefs " __version "...\n\n"
  7.          "I need +-300kb of free disk space!"
  8. )
  9. (set ins
  10.   (askoptions (prompt "What do you want to install?")
  11.     (choices "Main program" "Documentation" "Locale support files")
  12.     (help (cat @askoptions-help)) (default 3)
  13.   )
  14. )
  15. (set DEST-DIR
  16.   (askdir (prompt "Where do you with to install ReqAttackPrefs?\nDefault path is Sys:Tools/ReqAttack. No directory will be created.")
  17.     (help (cat @askdir-help))(default "Sys:Tools/ReqAttack")
  18.   )
  19. )
  20. (if (<> 0 (bitand 1 ins))
  21.  (copyfiles (prompt "Copying main binary...")
  22.     (source "ReqAttackPrefs")
  23.     (dest DEST-DIR)
  24.     (infos)
  25.     (help (cat @copyfiles-help))
  26.  )
  27. )
  28. (complete 33)
  29. (if (<> 0 (bitand 2 ins))
  30.  (copyfiles (prompt "Copying documentation...")
  31.     (source "ReqAttackPrefs.guide")
  32.     (dest (tackon DEST-DIR "Docs"))
  33.     (help (cat @copyfiles-help))
  34.  )
  35. )
  36. (complete 80)
  37. (set cats 0)
  38. (if (<> 0 (bitand 4 ins))
  39.   (set cats
  40.   (askoptions (prompt "What do you want to install?")
  41.     (choices "polish .catalog" ".cd file")
  42.     (help (cat @askoptions-help)) (default 2)
  43.   ))
  44. )
  45. (complete 90)
  46. (if (<> 0 (bitand 1 cats))
  47.   (copyfiles (prompt "Copying polish catalog...")
  48.     (source "polski/reqattackprefs.catalog")
  49.     (dest (tackon "LOCALE:catalogs" "polski"))
  50.     (help (cat @copyfiles-help))
  51.   )
  52. )
  53. (complete 95)
  54. (if (<> 0 (bitand 2 cats))
  55.   (copyfiles (prompt "Copying .cd file...")
  56.     (source "reqattackprefs.cd")
  57.     (dest DEST-DIR)
  58.     (help (cat @copyfiles-help))
  59.   )
  60. )
  61. (complete 100)
  62. (message "\n\n"
  63.          "Thank you for installing ReqAttackPrefs "  __version "\n\n"
  64.          "This piece of software is ©1999 by Jaca/Dreamolers-CAPS\n"
  65.          "Installer script by Jaca/D-CAPS ("  __date ")\n\n"
  66.          "ReqAttackPrefs can be found in " DEST-DIR " directory.\n"
  67. )
  68. (exit (QUIET))
  69.