home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 1 / agavol1.iso / aga_utilities / ready_to_run / wb_tools / mcp / mcp-install.english < prev    next >
Encoding:
Text File  |  1978-06-28  |  4.2 KB  |  219 lines

  1. ;
  2. ; $VER: MCP-INSTALLER!
  3. ;
  4.  
  5.     (complete 0)
  6.     (welcome)
  7.  
  8.     (set #WrongKickStart "\nYou must be using at least KickStart 2.04 to use MCP")
  9.  
  10.  
  11.     (if (< (/ (getversion) 65536) 37)
  12.       (abort #WrongKickStart)
  13.     )
  14.  
  15.     (message
  16.       "\n\n\n\n"
  17.       "Welcome To \n\nMCP Version 1.02\nInstallation Script V0.2\n"
  18.     )
  19.  
  20.     (set oldwert1 (/ (getversion "libs:reqtools.library") 65536))
  21.     (set oldwert2 (BITAND (getversion "libs:reqtools.library") 65535))
  22.     (set wert1 (/ (getversion "libs/reqtools.library") 65536))
  23.     (set wert2 (BITAND (getversion "libs/reqtools.library") 65535))
  24.  
  25.     (if(askbool
  26.         (prompt "\n Do You Want To Install \n\nReqTool.library Version "wert1"."wert2"\n\nCurrent installed Version "oldwert1"."oldwert2"\n\n")
  27.         (help @askbool_help)
  28.         (default 1)) 
  29.         (copyfiles 
  30.             (prompt "\nCopying the ReqTools.library...\n")
  31.             (help @copyfiles-help)
  32.             (source "Libs")
  33.             (dest   "Libs:")
  34.             (all)
  35.             (files)
  36.             (infos)
  37.         )
  38.     )
  39.  
  40.     (complete 10)
  41.  
  42.     (set mcp-dest
  43.         (askdir (prompt "Please Select Destination for MCP")
  44.             (help @askdir-help)
  45.             (default "C:")
  46.         )
  47.     )
  48.  
  49.     (set prozess (database "cpu"))
  50.     (if (< "68010" prozess)
  51.         (set mcp-ver "MCP020/MCP")
  52.         (set mcp-ver "MCP")
  53.     )
  54.  
  55.     (copyfiles 
  56.         (prompt "\nCopying the MCP...\n")
  57.         (help @copyfiles-help)
  58.         (source mcp-ver)
  59.         (dest   mcp-dest)
  60.         (files)
  61.     )
  62.  
  63.     (complete 20)
  64.  
  65.     (if(askbool
  66.         (prompt "\n Do you want to copy MCP-Icon to "mcp-dest" ???")
  67.         (help @askbool_help)
  68.         (default 1)) 
  69.         (copyfiles 
  70.             (prompt "\nCopying the MCP-Icon...\n")
  71.             (help @copyfiles-help)
  72.             (source "MCP.info")
  73.             (dest mcp-dest)
  74.             (files)
  75.             (infos)
  76.         )
  77.     )
  78.  
  79.     (complete 30)
  80.  
  81.  
  82.     (if(askbool
  83.         (prompt "\n Do You Want To Install A MCP-Demo-Configuration ?")
  84.         (help @askbool_help)
  85.         (default 1)) 
  86.         (copyfiles
  87.             (prompt "\nCopying the MCP-Demo-Configuration...\n")
  88.             (help @copyfiles-help)
  89.             (source "EnvArc/MCP/MCP.config")
  90.             (dest   "ENVARC:MCP")
  91.             (files)
  92.         )
  93.     )
  94.  
  95.     (complete 40)
  96.  
  97.     (if (exists("ENVARC:AssignManager.prefs"))
  98.         (if(askbool
  99.             (prompt "\n Do you want to Convert AssignManager.prefs To MCP.config ?\n")
  100.             (help @askbool_help)
  101.             (default 1)) 
  102.             (
  103.                 (RUN "C/ConvAM"
  104.                     (help "Converting...")
  105.                     (prompt "Converting.. Please Wait!")
  106.                 )
  107.             )
  108.         )
  109.     )
  110.  
  111.     (complete 45)
  112.  
  113.     (if (exists("ENVARC:AssignPrefs"))
  114.         (if(askbool
  115.             (prompt "\n Do you want to Convert AssignPrefs To MCP.config ?\n")
  116.             (help @askbool_help)
  117.             (default 1)) 
  118.             (
  119.                 (RUN "C/ConvAP"
  120.                     (help "Converting...")
  121.                     (prompt "Converting.. Please Wait!")
  122.                 )
  123.             )
  124.         )
  125.     )
  126.  
  127.     (complete 50)
  128.  
  129.     (if(askbool
  130.         (prompt "\n Do you want to install a Demo 16-Color Pointer ?")
  131.         (help @askbool_help)
  132.         (default 1)) 
  133.         (copyfiles 
  134.             (prompt "\nCopying 16-Color Demopointer...\n")
  135.             (help @copyfiles-help)
  136.             (source "EnvArc/MCP/mcppointer.prefs")
  137.             (dest "ENVARC:MCP")
  138.             (files)
  139.             (infos)
  140.         )
  141.     )
  142.  
  143.     (makedir "ENV:MCP")
  144.  
  145.     (if (exists("ENVARC:MCP"))
  146.         (copyfiles 
  147.             (prompt "\nTransfering ENVARC To ENV...\n")
  148.             (help @copyfiles-help)
  149.             (source "EnvArc:MCP/")
  150.             (dest "ENV:MCP/")
  151.             (all)
  152.         )
  153.     )
  154.  
  155.     (complete 60)
  156.  
  157.     (copyfiles
  158.         (prompt "\nCopying the GuruInformation...\n")
  159.         (help @copyfiles-help)
  160.         (source "S/mcp.gurudat")
  161.         (dest   "S:")
  162.         (files)
  163.     )
  164.  
  165.     (complete 70)
  166.  
  167.     (copyfiles
  168.         (prompt "\nCopying the GuruHistory...\n")
  169.         (help @copyfiles-help)
  170.         (source "S/GuruHistory")
  171.         (dest   "S:")
  172.         (files)
  173.     )
  174.  
  175.     (complete 80)
  176.  
  177.     (set mcpprefs-dest
  178.         (askdir (prompt "Please Select Destination for MCP-Preferences")
  179.             (help @askdir-help)
  180.             (default "SYS:Prefs")
  181.         )
  182.     )
  183.     (copyfiles 
  184.         (prompt "\nCopying the MCP-Preferences...\n")
  185.         (help @copyfiles-help)
  186.         (source "Prefs/MCPPrefs")
  187.         (dest   mcpprefs-dest)
  188.         (files)
  189.         (infos)
  190.     )
  191.  
  192.     (complete 90)
  193.  
  194.     (if(askbool
  195.         (prompt "\n Do you want to Install MCP-Documentation ?\n")
  196.         (help @askbool_help)
  197.         (default 1)) 
  198.         (
  199.             (set mcpdoc-dest
  200.                 (askdir (prompt "Please Select Destination for MCP.doc")
  201.                     (help @askdir-help)
  202.                     (default "C:")
  203.                 )
  204.             )
  205.             (copyfiles 
  206.             (prompt "\nCopying the MCP.doc..\n")
  207.             (help @copyfiles-help)
  208.             (source "MCP.doc")
  209.             (dest   mcpdoc-dest)
  210.             (files)
  211.             (infos))
  212.         )
  213.     )
  214.     (complete 99)
  215.  
  216.     (message "\n\nEdit now your \nS:Startup-Sequence\nand insert\n"mcp-dest"MCP\nafter your first\nAssign ENV: ???? .\n ... ENJOY ...")
  217.  
  218.     (set @default-dest mcp-dest)
  219.     (complete 100)