home *** CD-ROM | disk | FTP | other *** search
/ World of Graphics / WOGRAPH.BIN / 693.INSTALL.BAT < prev    next >
DOS Batch File  |  1992-06-30  |  3KB  |  70 lines

  1. echo off
  2. cls
  3. if ()==(%1) goto NO_ARG
  4. goto DO_IT
  5. :NO_ARG
  6. cls
  7. echo      This batch file needs to know where your VGA Utilities directory
  8. echo         is located in order to properly install VINSTALL.
  9. echo 
  10. echo        The target directory can either be on your hard disk or on
  11. echo                             a floppy drive.
  12. echo                  ┌┬────────────────────────────────────┬┐
  13. echo                  ││ Usage: INSTALL [TARGET Directory]  ││
  14. echo                  └┴────────────────────────────────────┴┘
  15. echo                       Example: INSTALL C:\VGAUTIL
  16. goto DONE
  17. :DO_IT
  18. cls
  19. echo                        ┌─────────────────────────┐
  20. echo                        │** VGA Wonder VINSTALL **│
  21. echo                        └─────────────────────────┘
  22. echo                            ─────────────────
  23. echo                This batch file will conveniently extract the
  24. echo                  VINSTALL to the directory you specified.
  25. echo                 ┌─────────────────────────────────────────┐
  26. echo                 │ If you are prompted to overwrite a file │
  27. echo                 │             press Y  for YES            │
  28. echo                 └─────────────────────────────────────────┘
  29. echo                 Press any key to continue the installation
  30. echo                           or CONTROL-C to abort.
  31. pause >nul
  32. cls
  33. echo                        ┌─────────────────────────┐
  34. echo                        │** VGA Wonder VINSTALL **│
  35. echo                        └─────────────────────────┘
  36. echo Decompressing . . .
  37. vinst /e%1
  38. if errorlevel == 0 goto OK
  39. goto ERROR
  40. :OK
  41. cls
  42. echo                        ┌─────────────────────────┐
  43. echo                        │** VGA Wonder VINSTALL **│
  44. echo                        └─────────────────────────┘
  45. echo                            ─────────────────
  46. echo                       ╒══════════════════════════╕
  47. echo                       │ Installation successful! │
  48. echo                       ╘══════════════════════════╛
  49. echo 
  50. echo          The VGA Wonder VINSTALL have been successfully extracted to
  51. echo          your "%1" directory.
  52. goto DONE
  53. :ERROR
  54. echo                        ┌─────────────────────────┐
  55. echo                        │** VGA Wonder VINSTALL **│
  56. echo                        └─────────────────────────┘
  57. echo                            ─────────────────
  58. echo                          ╒═════════════════════╕
  59. echo                          │ Installation Failed │
  60. echo                          ╘═════════════════════╛
  61. echo 
  62. echo    Please check the path that you specified and ensure it is correct.
  63. echo    If this batch file continues to present problems, please refer
  64. echo    to the README.1ST file for instructions on how to manually extract
  65. echo    the Utilities. If you continue to have problems, call the ATI
  66. echo    Customer Support line.
  67. :DONE
  68. echo                        ─────────────────────────
  69. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  70.