home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d990 / bootwriter.lha / BootWriter / InstallScript.bat < prev    next >
DOS Batch File  |  1994-04-05  |  3KB  |  99 lines

  1. ;
  2. ;    Script file for BootWriter ©1993 by Ralf Thanner
  3. ;    to install reqtools.library, powerpacker.library & bootblock library
  4. ;
  5. ;    Written by Timm Müller
  6.  
  7.  
  8. FailAt 21
  9. Echo "BootWriter Installation Script"
  10. Echo "==============================*n"
  11.  
  12. Version >NIL: exec.library 37
  13. If WARN
  14.    Echo "Installing for Kickstart 1.x.*n"
  15.    Skip KICK1XPART
  16. EndIf
  17.  
  18. Echo "Installing for Kickstart 2.x or higher.*n"
  19.  
  20. Version >NIL: LIBS:reqtools.library
  21. If NOT ERROR
  22.    Echo "Version of reqtools.library already installed:"
  23.    Version LIBS:reqtools.library
  24. EndIf
  25. Ask "Install reqtools.library?"
  26. If NOT WARN
  27.    Echo "Installation of reqtools.library aborted!"
  28.    Skip INSTALLPPLIB
  29. EndIf
  30. Copy libs/reqtools.library.20 LIBS:reqtools.library
  31. Echo "reqtools.library copied to your LIBS: directory."
  32.  
  33. Lab INSTALLPPLIB
  34. echo ""
  35. Version >NIL: LIBS:powerpacker.library
  36. If NOT ERROR
  37.    Echo "Version of powerpacker.library already installed:"
  38.    Version LIBS:powerpacker.library
  39. EndIf
  40. Ask "Install powerpacker.library?"
  41. If NOT WARN
  42.    Echo "Installation of powerpacker.library aborted!"
  43.    Skip INSTALLBBLIB
  44. EndIf
  45. Copy libs/powerpacker.library LIBS:powerpacker.library
  46. Echo "powerpacker.library copied to your LIBS: directory."
  47.  
  48. Lab INSTALLBBLIB
  49. echo ""
  50. Version >NIL: LIBS:bootblock.library
  51. If NOT ERROR
  52.    Echo "Version of bootblock.library already installed:"
  53.    Version LIBS:bootblock.library
  54. EndIf
  55. Ask "Install bootblock.library?"
  56. If NOT WARN
  57.    Echo "Installation of bootblock.library aborted!"
  58.    Skip INSTALLBBBF
  59. EndIf
  60. Copy libs/bootblock.library LIBS:bootblock.library
  61. Echo "bootblock.library copied to your LIBS: directory."
  62.  
  63. Lab INSTALLBBBF
  64. echo ""
  65. Version >NIL: L:bootblock.brainfile
  66. If NOT ERROR
  67.    Echo "Version of bootblock.brainfile already installed:"
  68.    Version L:bootblock.brainfile
  69. EndIf
  70. Ask "Install bootblock.brainfile?"
  71. If NOT WARN
  72.    Echo "Installation of bootblock.brainfile aborted!"
  73.    Skip ENDINSTALL
  74. EndIf
  75. Echo "l/bootblock.brainfile copied to your L: directory."
  76. Copy l/bootblock.brainfile L:bootblock.brainfile
  77.  
  78. Lab ENDINSTALL
  79. echo ""
  80. Echo "End of installation script!*n"
  81. Wait 4
  82. EndCLI >NIL:
  83.  
  84.  
  85. Lab KICK1XPART
  86. Version >NIL: LIBS:reqtools.library
  87. If NOT ERROR
  88.    Echo "Version of reqtools.library already installed:"
  89.    Version LIBS:reqtools.library
  90. EndIf
  91. Ask "Install reqtools.library?"
  92. If NOT WARN
  93.    Echo "Installation of reqtools.library aborted!"
  94.    Skip INSTALLPPLIB back
  95. EndIf
  96. Copy libs/reqtools.library.13 LIBS:reqtools.library
  97. Echo "reqtools.library copied to your LIBS: directory."
  98. Skip INSTALLPPLIB back
  99.