home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / tcp / Networking / TCP / Server / telser / telser_install < prev    next >
Text File  |  1995-02-26  |  7KB  |  211 lines

  1. ;*****************************************************************
  2. ; Telser Install V1.20 by Robert Reiswig (rcr@netcom.com) ©1995
  3. ; If you wish to use parts of this you MUST ask!! Feb-26-95
  4. ;
  5. ; Installer suggestions or problems: rcr@netcom.com
  6. ;                               IRC: RobR
  7. ;
  8. ;*****************************************************************
  9.  
  10. (set telserver "1.20")
  11.  
  12.  
  13. ;******************************************************************************** 
  14. ;
  15. ; Hello and What TCP/IP package
  16. ;
  17. ;********************************************************************************
  18. (message (cat "\n\n\ntelser " telserver "\nserial telnet(d) device for AmiTCP and AS225r2\n\nby:\nSam Yee (samy@sfu.ca)\n\n"
  19.               "Installer by:\nRobert Reiswig (rcr@netcom.com)"
  20.          )
  21.  
  22.  
  23. (set TCP  (askchoice (choices "AmiTCP (3.0b2, 4.0, 4.1)" "AS225r2 (Commodore)")
  24.                      (prompt "Please select the TCP/IP package you run.")
  25.                  (help   "Please select the TCP/IP package you run.")
  26.                      (default 0)
  27.       )
  28. )
  29.  
  30.  
  31. (if (= TCP 0) (set Package "AmiTCP:") )
  32. (if (= TCP 1) (set Package "Inet:") )
  33.  
  34. ;******************************************************************************** 
  35. ;
  36. ;See if there is a install already
  37. ;
  38. ;********************************************************************************
  39. (if (> (exists (tackon Package "db/telser.conf")) 0)
  40.    (
  41.      (set backup (askchoice (choices "Update Config Files" "Keep Current Config Files")
  42.                      (prompt "The Installer has found that you already have config files for Telser.")
  43.                  (help   "The Installer has found that you already have config files for Telser.")
  44.                      (default 0)
  45.                  )
  46.      )
  47.    )
  48. )       
  49.  
  50.  
  51. ;******************************************************************************** 
  52. ;
  53. ;Amitcp Files
  54. ;
  55. ;********************************************************************************
  56. (if (= TCP 0)
  57.    (    
  58.  
  59.     (set @default-dest "AmiTCP:")
  60.  
  61.     (copyfiles (source "bin/telser")  (dest "AmiTCP:bin") )
  62.     (copyfiles (source "bin/tstelnet")  (dest "AmiTCP:bin") )
  63.     (if (= backup 0)
  64.       (copyfiles (source "db")  (dest "AmiTCP:db") (all) )
  65.     )
  66.     (copyfiles (source "devs/telser.device_amitcp")  (dest "devs:") (newname "telser.device") ) 
  67.     (copyfiles (source "libs")  (dest "libs:") (all) )
  68.     (copyfiles (source "serv/telserd_amitcp")  (dest "AmiTCP:serv") (newname "telserd") ) 
  69.           
  70.    )    
  71. )
  72.  
  73.  
  74.  
  75. ;******************************************************************************** 
  76. ;
  77. ;AS225 files
  78. ;
  79. ;********************************************************************************
  80. (if (= TCP 1)
  81.    (    
  82.  
  83.     (set @default-dest "Inet:")
  84.  
  85.     (copyfiles (source "c/telser")  (dest "Inet:c") )
  86.     (copyfiles (source "bin/tstelnet")  (dest "Inet:c") )
  87.     (if (= backup 0)
  88.       (copyfiles (source "db")  (dest "Inet:db") (all) )
  89.     ) 
  90.     (copyfiles (source "devs/telser.device_as225")  (dest "devs:") (newname "telser.device") ) 
  91.     (copyfiles (source "libs")  (dest "libs:") (all) )
  92.     (copyfiles (source "serv/telserd_as225")  (dest "Inet:serv") (newname "telserd") ) 
  93.              
  94.    )    
  95. )
  96.  
  97.  
  98. ;******************************************************************************** 
  99. ;
  100. ;Move Other stuff if wanted
  101. ;
  102. ;********************************************************************************
  103. (set viewermask (askoptions (choices "TelserMon - Monitors telser units" "Docs - Documentation" "Src - Source Code")
  104.                 (prompt "Do you wish to install any of the following?")
  105.                 (help "Do you wish to install any of the following?")
  106.                 (default 63)
  107.         )
  108. )
  109.  
  110. (if (<> viewermask 0)
  111.  (
  112.  
  113.  
  114. ;********** TelSer Mon *************************************
  115.   (if (IN viewermask 0)
  116.    (
  117.      (set telsermon (askdir (prompt "Please select where you wish to install TelserMon. The default is 'SYS:WBStartup.'")
  118.              (help   "Select where you wish to put them. (A directory called 'Telser' will be created there!)")
  119.              (default "SYS:WBStartup")
  120.          )
  121.     )
  122.     
  123.       (copyfiles (source "TelserMon")  (dest telsermon) (infos) )
  124.      
  125.    )
  126.   )
  127.  
  128. ;********** Docs *************************************
  129.   (if (IN viewermask 1)
  130.    (
  131.  
  132.       (set telserDir (askdir (prompt "Please select where you wish to put the Docs. (A directory called 'Telser' will be created there if it does not exist.)")
  133.              (help   "Select where you wish to put the Docs. (A directory called 'Telser' will be created there!)")
  134.              (default "Work:Telser")
  135.          )
  136.       )
  137.   
  138.  
  139.       (if (< (exists (tackon telserDir "Telser")) 2)
  140.           (makedir (tackon telserDir "Telser") (infos))
  141.       )
  142.     
  143.  
  144.       (set where (tackon telserDir "Telser"))
  145.    
  146.       (if (< (exists (tackon where "Doc")) 2)
  147.           (makedir (tackon where "Doc") (infos))
  148.         
  149.       )
  150.       (copyfiles (source "doc")  (dest (tackon where "Doc")) (all) )
  151.      
  152.    )
  153.   )
  154.  
  155. ;********** SRC *************************************
  156.  
  157.   (if (IN viewermask 2) 
  158.    (  
  159.      (set telserDir (askdir (prompt "Please select where you wish to put the Src. (A directory called 'Telser' will be created there if it does not exist.)")
  160.              (help   "Select where you wish to put the Src. (A directory called 'Telser' will be created there!)")
  161.              (default telserDir)
  162.          )
  163.       )
  164.   
  165.  
  166.       (if (< (exists (tackon telserDir "Telser")) 2)
  167.           (makedir (tackon telserDir "Telser") (infos))
  168.       )
  169.     
  170.  
  171.       (set where (tackon telserDir "Telser"))
  172.     
  173.  
  174.      (if (< (exists (tackon where "src")) 2)
  175.           (makedir (tackon where "src") (infos))
  176.         
  177.      )
  178.      (copyfiles (source "src")  (dest (tackon where "src")) (all) )    
  179.  
  180.    )
  181.   )
  182.  
  183.  
  184.  
  185.  )
  186. )
  187.  
  188. ;******************************************************************************** 
  189. ;
  190. ; End send money... :) 
  191. ;
  192. ;********************************************************************************
  193. (message "\n\n\n\nThe demo version of telser allows one device unit.  Opening a second "
  194.          "unit would fail.  If you use telser often you are recommended to register.  "
  195.          "When you register you get unlimited units and help contribute to the future "
  196.          "of this program."
  197. )
  198.  
  199. (message "Registration fee: $15US for unlimited units. Canadian users may send $20CAN.\n\n"
  200.          "Registration  fees,  questions,  ideas,  comments,  bug  reports, etc. should go to:\n\n"
  201.          "Snail Mail: Sam Yee\n"
  202.          "4595 Nanaimo St.\n"
  203.          "Vancouver, B.C.\n"
  204.          "Canada  V5N 5J5\n\n"
  205.          "Internet: samy@sfu.ca\n"
  206.          "FidoNet: 1:153/765\n"
  207.          "(Terra Firma BBS (604) 434-3665)"                
  208. )
  209.  
  210.