home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Netzwerk / parnet.dms / parnet.adf / Sernet.Install < prev    next >
Encoding:
Text File  |  1995-09-25  |  5.3 KB  |  174 lines

  1. ; This is my first attempt at using the CBM Installer program
  2. ; Based on the Parbench installer script
  3.  
  4. (welcome (message "\n\n\nPLEASE NOTE\n\n\nThis installer script will NOT work if you booted from this floppy!")
  5. )
  6. (transcript "SerNet installation on  \"SYS:ParNET\"...")    ;Begin to hate
  7.                            ;parenthesis..
  8. (complete 0)
  9.  
  10.  
  11. (makedir "SYS:SerNET"                     ;Begin Makedir
  12.    (prompt "\n\n\n\nHit PROCEED to create SYS:SerNET\n\n(For Addtional Information on this step hit HELP.)")         ;
  13.    (help "\n  SerNet relies on there being a Drawer called SYS:SerNET in order for it to install properly. This drawer must exist in order for the remainder of this script to function.")
  14.    (infos)                       ;
  15.    (confirm)                     ;
  16. )                          ;End Makedir
  17.  
  18. (makedir "SYS:DNET"                    ;Begin Makedir
  19.    (prompt "\n\n\n\nHit PROCEED to create SYS:DNET\n\n(For Addtional Information on this step hit HELP.)")        ;
  20.    (help "\n  SerNet relies on there being a Drawer called SYS:DNET in order for it to install properly. This drawer must exist in order for the remainder of this script to function.")                       ;
  21.    (confirm)                     ;
  22. )                          ;End Makedir
  23.  
  24.  
  25.  
  26. (complete 10)
  27.  
  28. ; **** Ok Ok, so its Really Clumsy but I don't know how to do multiple
  29. ; **** operators without it shifting to ELSE!!! Grrr...
  30.                
  31. (copyfiles                    
  32.    (Prompt "For Additional Information on these files hit HELP.")              
  33.    (source "WS:SerNet")          
  34.    (dest "SYS:SerNET/")             
  35.    (files)                    
  36.    (infos)                    
  37.    (all)
  38. )                          
  39.  
  40.                      
  41. (copyfiles                    
  42.    (Prompt "For Additional Information on this file hit HELP.") 
  43.    (source "WS:DNET")            
  44.    (dest "SYS:DNET/")               
  45.    (files)
  46.    (infos)                    
  47.    (pattern "#?")
  48. )                          
  49.  
  50. (Complete 35)
  51.                      
  52. (copyfiles                    
  53.    (Prompt "For Additional Information on these files hit HELP.")              
  54.    (source "WS:s")            
  55.    (dest "SYS:s/")               
  56.    (files)                                         
  57.    (pattern "Dnet.#?")              
  58. )                          
  59.  
  60. (Complete 45)
  61.  
  62. (copyfiles                    
  63.    (Prompt "For Additional Information on these files hit HELP.")              
  64.    (source "WS:s/NETDNET-SERVER")            
  65.    (dest "SYS:s/")                           
  66. )                          
  67. (copyfiles                    
  68.    (Prompt "For Additional Information on these files hit HELP.")              
  69.    (source "WS:s/RemoteExecute.cfg")            
  70.    (dest "SYS:s/")                           
  71. )  
  72.  
  73. (Complete 55)
  74.  
  75. (copyfiles
  76.    (Prompt "\n\n\nHit PROCEED to copy 'Serial.Device' to SYS:\n\n(For Additional Information on this step hit HELP.)")
  77.    (help "\nSernet seems to prefer an old version of the Serial.Device\n\nThe installer will copy your original version\n\ninto the directory 'Serial.Device.Original'\n\nand copy across an old version.")
  78.    (source "Sys:Devs/Serial.Device")
  79.    (dest "Sys:Devs/Serial.Device.Original")
  80.    (files)
  81.    (confirm)
  82. )
  83.  
  84. (copyfiles
  85.    (source "WS:Devs/Serial.Device")
  86.    (dest "SYS:Devs/")
  87.    (files)
  88. )
  89.  
  90. (complete 65)
  91.  
  92. (copyfiles                    
  93.    (Prompt "For Addtional Information on these files hit HELP.")              
  94.    (source "WS:l/Dpipe-Handler")           
  95.    (dest "SYS:l/")               
  96.    (files)                                                  
  97. )                          
  98.  
  99. (copyfiles                    
  100.    (Prompt "For Addtional Information on these files hit HELP.")              
  101.    (source "WS:l/Null-Handler")           
  102.    (dest "SYS:l/")               
  103.    (files)                                                  
  104. )                          
  105.  
  106. (copyfiles                    
  107.    (Prompt "For Addtional Information on these files hit HELP.")              
  108.    (source "WS:l/NetDNet-Handler")           
  109.    (dest "SYS:l/")               
  110.    (files)                                                  
  111. )                          
  112.  
  113. (complete 85)
  114. (copylib
  115.    (prompt "Copying Dres.library to Libs: directory.")
  116.    (help @copylib-help)
  117.    (source "WS:libs/Dres.library")
  118.    (dest "Libs:")
  119.    (confirm)
  120. )
  121.  
  122. (copylib
  123.    (prompt "Copying xprz.modem.library to Libs: directory.")
  124.    (help @copylib-help)
  125.    (source "WS:libs/xprzmodem.library")
  126.    (dest "Libs:")
  127.    (confirm)
  128. )
  129.  
  130. (copylib
  131.    (prompt "Copying UNDMS to c: directory.")
  132.    (help @copylib-help)
  133.    (source "WS:c/UNDMS")
  134.    (dest "c:")
  135.    (confirm)
  136. )
  137.  
  138. (copylib
  139.    (prompt "Copying xprd to c: directory.")
  140.    (help @copylib-help)
  141.    (source "WS:c/xprd")
  142.    (dest "c:")
  143.    (confirm)
  144. )
  145.  
  146. (complete 95)
  147. (set Newcon
  148.     (exists "NEWCON:" (noreq))
  149. )
  150.  
  151. (if (= Newcon 0)
  152.     (set Answer
  153.         (askchoice
  154.         (Prompt "Do you wish to mount 'NEWCON:' at Startup")
  155.         (help "\n Mounting this on Workbench 2 or 3 will prevent an error \n requester each time you boot Sernet.")
  156.         (choices "YES" "NO")
  157.         (default 0)
  158.         )
  159.     )
  160. )
  161.  
  162. (if (= Answer 0)
  163.     (startup "Newcon"
  164.     (prompt "Adding MOUNT command to 'User-Startup'")
  165.     (help "A Mount command will be added to your User-Startup")
  166.     (command "Failat 21\n"
  167.          "Mount Newcon: FROM Sys:Sernet/Newcon.Mountlist\n"
  168.          "Failat 10")
  169.     )
  170. )
  171.     
  172. (complete 100)
  173. (exit "Weird Science")
  174.