home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / BC_DICE3.DMS / in.adf / Install-DICE-HD < prev    next >
Encoding:
Text File  |  1995-01-11  |  2.9 KB  |  93 lines

  1. (delopts "force")               ;Unprotect destination files automatically
  2. (set dice_dest (
  3.            (askdir
  4.            (prompt "Please select where you want Commercial Dice V3 "
  5.                    "Tutorial to be installed. A drawer called \"DCC\" will "
  6.                    "be made in the selected directory. You will need about "
  7.                    "1.8MB of free space on your Hard Disk partition."
  8.            )
  9.            (help @askdir-help)
  10.            (default "work:")
  11.            )
  12.           )
  13. )
  14.  
  15. (complete 0)
  16. (set dice_dest (tackon dice_dest "DCC"))
  17. (makedir dice_dest)
  18. (set @default-dest dice_dest)
  19. (makedir (tackon dice_dest "DTMP"))
  20.  
  21. (askdisk   (prompt "Please Insert Dice Disk 1")
  22.            (dest   "Dice1")
  23.            (help   "Please Insert Your Dice Disk 1 In Any Floppy Drive")
  24. )
  25. (copyfiles (source "dice1:")
  26.            (dest dice_dest)
  27.            (prompt "Copying Disk1")
  28.            (infos)
  29.            (choices "CONFIG" "BIN" "REXX" "HELLO" "VMake" "VOpts")
  30. )
  31. (copyfiles (source "dice1:s")
  32.            (dest   "s:")
  33.            (choices ".EDRC")
  34.            (prompt "Copying DME Config")
  35. )
  36.  
  37. (complete 30)
  38. (askdisk   (prompt "Please Insert Dice Disk 2")
  39.            (dest   "Dice2")
  40.            (help   "Please Insert Your Dice Disk 2 In Any floppy Drive")
  41. )
  42. (copyfiles (source "dice2:")
  43.            (dest   dice_dest)
  44.            (prompt "Copying Disk2")
  45.            (infos)
  46.            (choices "DLIB" "INCLUDE")
  47. )
  48.  
  49. (complete 60)
  50. (askdisk   (prompt "Please Insert Dice Disk 3")
  51.            (dest   "Dice3")
  52.            (help   "Please Insert Your Dice Disk 3 In Any Floppy Drive")
  53. )
  54. (copyfiles (source "dice3:")
  55.            (dest   dice_dest)
  56.            (prompt "Copying Disk3")
  57.            (infos)
  58.            (choices "DOC" "EXAMPLES" "Readme" "Upgrade" "more")
  59. )
  60.  
  61. (complete 90)
  62.  
  63. (startup   "--Commercial Dice C Tutorial--"
  64.            (command "assign dcc: \"" dice_dest "\"\n"
  65.                     "assign dlib: dcc:dlib\n"
  66.                     "assign dinclude: dcc:include\n"
  67.                     "assign ddoc: dcc:doc\n"
  68.                     "assign dtmp: dcc:dtmp\n"
  69.                     "setenv dccopts=\"-2.0 -// -f -R\"\n"
  70.                     "path dcc:bin add\n"
  71.            )
  72.            (prompt  "Some commands need to be added to your "
  73.                     "user-startup."
  74.            )
  75.            (help    "Dice C needs some assigns and a path to be "
  76.                     "added to the /"s:user-startup/" file. If you "
  77.                     "do not do this then Dice will not run correctly "
  78.                     "from your hard drive."
  79.            )
  80. )
  81. (complete 100)
  82. (askbool
  83.    (prompt "All the required Assigns have been set for you to run DICE. "
  84.        "Your startup script automatically adds DICE to the path. "
  85.        "Until you reboot, you need to issue the command: PATH ADD DCC:BIN "
  86.        "in any shell you wish to run DICE from.\n\n"
  87.    )
  88.    (help   "You may wish to check the s:User-Startup file to be sure "
  89.        "everything is in the proper place.")
  90.    (choices "Thank You" "")
  91.    (default 0)
  92. )
  93.