home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / libraries / quickdos.lha / QuickDOS / Installation < prev    next >
Encoding:
Text File  |  1994-07-27  |  3.4 KB  |  161 lines

  1. ; QuickDOS© installer script
  2. ; $VER: quickdos.library 1.01 (25.06.94)
  3. ; Written by Alexis WILKE (c) 1994
  4. ; This script uses the program Installer V1.24 (1.9.94) of CBM
  5. ; Uses Tab-Stop 2
  6.  
  7.  
  8. (set *exit
  9.     (cat
  10.         "No further installation will occur.\n"
  11.         "\n"
  12.         "QuickDOS© is a CopyRight of\n"
  13.         "Alexis WILKE (c) 1994\n"
  14.         "\n"
  15.         "Thank you for selecting QuickDOS©.\n"
  16.         "\n"
  17.         "Great to see you again."
  18.     )
  19. )
  20.  
  21.  
  22. (set *path (pathonly @icon))
  23.  
  24.  
  25. (set *newver
  26.     (getversion "QuickDOS.library")
  27. )
  28.  
  29.  
  30. (set *newverstring
  31.     ("V%ld.%02ld"
  32.         (shiftright *newver 16)
  33.         (bitand *newver $0FFFF)
  34.     )
  35. )
  36.  
  37. (set *version
  38.     (getversion "exec.library" (resident))
  39. )
  40.  
  41.  
  42.  
  43. (message
  44.     (cat
  45.         "Welcome to the world of QuickDOS© library\n"
  46.         "\n"
  47.         "QuickDOS© is a CopyRight of\n"
  48.         "Alexis WILKE (c) 1994\n"
  49.         "\n"
  50.         "\n"
  51.         "QuickDOS© " *newverstring " is compatible\n"
  52.         "with\n"
  53.         "AmigaDOS\n"
  54.         "\n"
  55.         "\n"
  56.         "\n"
  57.         ("(System version %ld.%02ld)"
  58.             (shiftright *version 16)
  59.             (bitand *version $0FFFF)
  60.         )
  61. ;        (if @pretend
  62. ;            "\nThis script does not work in pretend mode"
  63. ;        )
  64.     )
  65. )
  66.  
  67. ;(if @pretend
  68. ;    (exit *exit)
  69. ;)
  70.  
  71.  
  72. (copyfiles
  73.     (prompt
  74.         "The next copy will add QuickDOS\n"
  75.         "to the list of your libraries in 'LIBS:'\n"
  76.     )
  77.     (help
  78.         "Why should I copy 'quickdos.library' ?\n"
  79.         "\n"
  80.         "  Without this library, there is no purpose in "
  81.         "continuing this installation. The library is "
  82.         "one single file named 'quickdos.library', and "
  83.         "it is copied into your 'LIBS:' assign.\n"
  84.         "\n"
  85.         "-----------------------------------------------------\n"
  86.         "\n"
  87.         @copyfiles-help
  88.     )
  89.     (source *path)
  90.     (dest "LIBS:")
  91.     (choices "quickdos.library")
  92.     (infos)
  93.     (confirm)
  94.     (optional "askuser")
  95. )
  96.  
  97.  
  98. (if (not (= @user-level 0))        ;No devlopment files copied.
  99.     (copyfiles
  100.         (prompt
  101.             "Select Devlopment Files to Copy"
  102.         )
  103.         (help
  104.             "Why should I copy the devlopment files ?\n"
  105.             "\n"
  106.             "  If you are not a programmer there is no "
  107.             "need for you to copy any of those files. "
  108.             "Otherwise you are welcome to copy all of "
  109.             "them to be able to use the library "
  110.             "correctly.\n"
  111.             "\n"
  112.             "  . 'quickdos.doc' and 'quickdos.guide'\n"
  113.             "\n"
  114.             "  A quick documentation reference of each "
  115.             "function available in the library.\n"
  116.             "  You may select only one of those two "
  117.             "files. 'quickdos.guide' can be read "
  118.             "with AmigaGuide from your Workbench.\n"
  119.             "\n"
  120.             "  . 'quickdos.i' and 'quickdos.h'\n"
  121.             "\n"
  122.             "  Those are files with a list of the "
  123.             "user structures and variables. Note that "
  124.             "all structures are bigger in memory, but "
  125.             "the following data are private and will "
  126.             "change through different versions.\n"
  127.             "  If you program in assembler you will "
  128.             "need the '.i' file and if you program "
  129.             "in C select the '.h' file.\n"
  130.             "\n"
  131.             "  . 'quickdos.lib'\n"
  132.             "\n"
  133.             "  If your C does not support register calls "
  134.             "you will have to use the 'quickdos.lib' "
  135.             "object file to unstack parameters.\n"
  136.             "  Note: this file was generated with lk© "
  137.             "linker. lk© is a copyright of Alexis WILKE "
  138.             "(c) 1993-1994.\n"
  139.             "\n"
  140.             "  . 'quickdos.fd'\n"
  141.             "\n"
  142.             "  This files contains the function descriptions. "
  143.             "It is not necessary to have it because the "
  144.             "necessary declarations are available into the "
  145.             "header files.\n"
  146.             "\n"
  147.             "-----------------------------------------------------\n"
  148.             "\n"
  149.             @copyfiles-help
  150.         )
  151.         (source *path)
  152.         (dest @default-dest)
  153.         (pattern "quickdos.~(library|#?info)")
  154.         (confirm "average")
  155.         (infos)
  156.     )
  157. )
  158.  
  159.  
  160. (exit *exit)
  161.