home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 29 / amigaformatcd29.iso / -readerstuff- / alastair_murray / backbone_install < prev    next >
Encoding:
Text File  |  1998-06-01  |  3.7 KB  |  143 lines

  1. (set #intro
  2. (cat
  3.    "Welcome to the Backbone Installation Utility\n"
  4.    "This program will install all the files needed\n"
  5.    "into the desired directory and ensure you have\n"
  6.    "all the required librarys installed also.\n\n"
  7.    "                *** NOTE ***               \n"
  8.    "If you are installing Backbone from the archives\n"
  9.    "Backbone2_main & Backbone2_ex then you must first\n"
  10.    "have unarchived them both into the same directory.\n"
  11.    "You don't actually need Backbone2_ex but it is\n"
  12.    "useful to have some examples to work from.\n\n"
  13.    "Thanks for using Backbone!\n"
  14.    "Please consider Registering"
  15. ))
  16.  
  17. (message #intro)
  18.  
  19. (set #installdir (pathonly @icon))
  20.  
  21. (set #path
  22.    (expandpath
  23.       (askdir 
  24.          (default "Work:")
  25.          (prompt "Select Directory to Install Backbone into\nA Directory will Automatically be Created named Backbone")
  26.          (help "Just do what it says!")
  27.          (disk)
  28.       )
  29.    )
  30. )
  31.  
  32. (set #bbpath (tackon #path "Backbone"))
  33.  
  34. (makedir #bbpath
  35.    (prompt "I will now create the directory Backbone")
  36.    (help @makedir-help)
  37.    (infos)
  38. )
  39.  
  40. (set #temp (tackon #installdir "Libs/Bone.Library"))
  41. (copylib
  42.    (prompt "Copying Bone Library")
  43.    (help @copylib-help)
  44.    (source #temp)
  45.    (dest "LIBS:")
  46. )
  47.  
  48. (set #temp (tackon #installdir "Libs/Easylife.Library"))
  49. (copylib
  50.    (prompt "Copying Easylife Library")
  51.    (help @copylib-help)
  52.    (source #temp)
  53.    (dest "LIBS:")
  54. )
  55.  
  56. (set #temp (tackon #installdir "Libs/Explode.Library"))
  57. (copylib
  58.    (prompt "Copying Explode Library")
  59.    (help @copylib-help)
  60.    (source #temp)
  61.    (dest "LIBS:")
  62. )
  63.  
  64. (copyfiles
  65.    (prompt "Copying all files to directory.")
  66.    (help @copyfiles-help)
  67.    (source #installdir)
  68.    (all)
  69.    (optional "nofail" "force")
  70.    (dest #bbpath)
  71. )
  72.  
  73. (set #temp (tackon #bbpath "Modules"))
  74. (makedir #temp)
  75. (set #temp (tackon #bbpath "Modules/Blocks"))
  76. (makedir #temp)
  77. (set #temp (tackon #bbpath "Modules/Details"))
  78. (makedir #temp)
  79. (set #temp (tackon #bbpath "Modules/Levels"))
  80. (makedir #temp)
  81. (set #temp (tackon #bbpath "Modules/Objects"))
  82. (makedir #temp)
  83. (set #temp (tackon #bbpath "Modules/Player"))
  84. (makedir #temp)
  85. (set #temp (tackon #bbpath "Modules/Scenes"))
  86. (makedir #temp)
  87. (set #temp (tackon #bbpath "Modules/Screen"))
  88. (makedir #temp)
  89.  
  90. (set #temp (tackon #bbpath "Projects"))
  91. (makedir #temp)
  92. (set #temp (tackon #bbpath "Blocks"))
  93. (makedir #temp)
  94. (set #temp (tackon #bbpath "Music"))
  95. (makedir #temp)
  96. (set #temp (tackon #bbpath "Objects"))
  97. (makedir #temp)
  98. (set #temp (tackon #bbpath "Pictures"))
  99. (makedir #temp)
  100. (set #temp (tackon #bbpath "Samples"))
  101. (makedir #temp)
  102. (set #temp (tackon #bbpath "Sounds"))
  103. (makedir #temp)
  104.  
  105. (set #temp (tackon #bbpath "Libs"))
  106. (delete #temp
  107.    (prompt "Deleting unneeded Files")
  108.    (help "Just cleaning up!")
  109.    (all)
  110. )
  111.  
  112. (set #temp (tackon #bbpath "#?Install#?"))
  113. (delete #temp
  114.    (prompt "Deleting unneeded Files")
  115.    (help "Just cleaning up!")
  116.    (all)
  117. )
  118.  
  119. (set #end
  120. (cat
  121.    "Backbone Installation is now Complete!\n"
  122.    "Pressing HELP at any time will bring up the user manual.\n\n"
  123.    "For more information, join the Backbone mailing list:\n"
  124.    "Go to: http://freespace.virgin.net/malcolm.murray/backboneml.html\n"
  125.    "   or: http://cs.nott.ac.uk/~agm96m/backboneml.html\n\n"
  126.    "The author, Alastair Murray can be e-mailled at:\n"
  127.    "malcolm.murray@virgin.net\n"
  128.    "See the user manual for more details on how to contact me!\n\n"
  129.    "The latest versions of Backbone can be found on AMINET\n"
  130.    "as dev/misc/Backbone2_main.Lha and dev/misc/Backbone2_ex.Lha\n"
  131.    "They are the main program and example files respectively.\n\n"
  132.    "I hope you enjoy using Backbone!\n"
  133.    "Please consider registering."
  134. ))
  135. (message #end)
  136.  
  137. (set #end
  138. (cat
  139.    "I hope you enjoy using Backbone!\n"
  140.    "Please consider registering."
  141. ))
  142. (message #end)
  143.