home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / sbinst.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-07-19  |  2KB  |  76 lines

  1. @echo off
  2. cls
  3. type top.asc
  4. if "%1"=="" goto hela
  5. if exist %1\prog1.exe goto hela
  6. if exist %1\NUL goto cok
  7. echo .
  8. echo %1 Does Not Exist - Create it ? [y/n]
  9. choice YyNn
  10. if errorlevel=4 goto end
  11. if errorlevel=3 goto end
  12. md %1
  13. cls
  14. type top.asc
  15. :cok
  16. choice 1234
  17. if errorlevel=4 goto end
  18. if errorlevel=3 goto help
  19. if errorlevel=2 goto cdat1
  20. if errorlevel=1 goto cprog
  21. :cprog
  22. cls
  23. if exist %1\prog1.exe goto hela
  24. echo Copying Trial Version Programs, Please Wait...
  25. copy prog1.exe %1 >nul
  26. %1\prog1 %1
  27. del %1\prog1.exe
  28. cls
  29. cls
  30. :cdat1
  31. cls
  32. if exist %1\trialdat.exe goto hela
  33. if not exist trialdat.exe goto cdat2
  34. echo Copying Example Files, Please Wait...
  35. copy trialdat.exe %1 >nul
  36. %1\trialdat %1
  37. del %1\trialdat.exe
  38. cls
  39. goto dosit
  40. :cdat2
  41. cls
  42. echo DATA FILES DO NOT EXIST ON THE DISK!  Please contact Precision Software
  43. echo at (214) 929-4888 IMMEDIATELY to request a new disk.
  44. echo .
  45. echo This installation procedure is being aborted...
  46. echo .
  47. goto end
  48. :hela
  49. echo NO DESTINATION DIRECTORY SPECIFIED OR DESTINATION NOT VALID
  50. echo Press Any Key for Help
  51. echo View Installation Instructions, Return to Main Menu and Abort Installation
  52. Pause >nul
  53. :help
  54. cls
  55. type help.asc
  56. echo Press any key to return to Main Menu
  57. pause >nul
  58. cls
  59. type top.asc
  60. goto cok
  61. :dosit
  62. echo Installation Completed 
  63. echo Enter Windows and run SB4W.EXE from the File Manager (or MS-DOS Executive).
  64. echo .
  65. echo You may also install the Superbase icon in Program Manager (Windows 3.0 only)
  66. echo By running Windows Setup.  See your Windows User Guide for instructions.
  67. echo .
  68. echo Are you using Microsoft Windows 3.0 in Standard or Enhanced Mode ? [y/n]
  69. choice YyNn
  70. if errorlevel 4 goto end
  71. if errorlevel 3 goto end
  72. del %1\WIN87EM.EXE
  73. :end
  74. set curdir=
  75. cls
  76.