home *** CD-ROM | disk | FTP | other *** search
/ Explore the World of Soft…e: Engineering & Science / Explore_the_World_of_Software_Engineering_and_Science_HRS_Software_1998.iso / programs / dies / tsa_a.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-12-02  |  3KB  |  120 lines

  1. @REM SETUP.BAT; TOOLING SOLUTIONS Version 1.0b
  2. @REM (C)Copyright 1994 Greg Austin--All Rights Reserved,11/94
  3. @echo off
  4. cls
  5.  
  6. if not exist tsa_1.exe goto baddir
  7. if not exist tsa_2.exe goto baddir
  8. if not exist tsa_3.exe goto baddir
  9. if not exist tsa_4.exe goto baddir
  10.  
  11. set loc=%1
  12.  
  13. if NOT "%1"=="" goto nondefault
  14.  
  15. set loc=c:\toolsol
  16.  
  17. ECHO  
  18. ECHO                     TOOLING SOLUTIONS Version 1.0b
  19. ECHO  
  20. ECHO TOOLING SOLUTIONS will be copied to:  %loc%.
  21. ECHO                 
  22. ECHO You will need about 10 megabytes of free space.
  23. ECHO  
  24. ECHO Press Y to accept this location.
  25. ECHO Press N to Exit.
  26. ECHO  
  27. ECHO To Install to a different directory:
  28. ECHO  
  29. ECHO        Start INSTALL.BAT with the name of the directory TOOLING SOLUTIONS.
  30. ECHO  
  31. ECHO        For example:
  32. ECHO                    INSTALL c:\toolsol
  33. ECHO  
  34. ECHO  
  35. ECHO Install to %loc% (Y/N)?
  36. get
  37. if errorlevel 121 goto default
  38. if errorlevel 110 goto end
  39. if errorlevel 89 goto default
  40. if errorlevel 78 goto end
  41. goto info
  42.  
  43. :default
  44. cls
  45. ECHO  
  46. ECHO Files for TOOLING SOLUTIONS will be copied to %loc%.
  47. ECHO You will need about 10 megabytes of free space.
  48. ECHO  
  49. ECHO Press any key to proceed with installation, or Control-C to stop.
  50. pause > nul
  51. goto installation
  52.  
  53. :nondefault
  54. cls
  55. ECHO  
  56. ECHO Files for TOOLING SOLUTIONS will now be copied: 
  57. ECHO to the directory %loc%.
  58. ECHO  
  59. ECHO You will need about 10 megabytes of free space.
  60. ECHO  
  61. ECHO Press any key to proceed with installation, or Control-C to stop.
  62. pause > nul
  63.  
  64. :installation
  65. cls
  66. md %loc%
  67. copy *.exe  %loc%\*.*
  68. %loc%\tsa_1.exe -d -o %loc%
  69. del %loc%\tsa_1.exe
  70.  
  71. %loc%\tsa_2.exe -o %loc%
  72. del %loc%\tsa_2.exe
  73.  
  74. %loc%\tsa_3.exe -o %loc%
  75. del %loc%\tsa_3.exe
  76.  
  77. %loc%\tsa_4.exe -o %loc%
  78. del %loc%\tsa_4.exe
  79.  
  80. :done
  81. cls
  82. ECHO Done...
  83. ECHO  
  84. ECHO  
  85. ECHO TOOLING SOLUTIONS Copyrighted software marketed as SHAREWARE. You may
  86. ECHO share the complete and unaltered evaluation version.
  87. ECHO You may try the package at no charge for 15 days, but if you use if after
  88. ECHO that period, you must register it. Registered users receive the latest
  89. ECHO version plus notification of new releases.  An optional 225 page bound
  90. ECHO manual is also available.
  91. ECHO Registration information is in ORDER.DOC and README.DOC
  92. ECHO  
  93. ECHO         To Start Tooling Solutions: 
  94. ECHO  
  95. ECHO Go to the directory %loc% and Type:
  96. ECHO                    TOOLSOL 
  97. goto end
  98.  
  99. :baddir
  100. ECHO TOOLING SOLUTIONS Version 1.0b
  101. ECHO You must start this installation by logging to the drive and directory
  102. ECHO where these files are currently located: 
  103. ECHO                                            tsa_1.exe
  104. ECHO                                            tsa_2.exe
  105. ECHO                                            tsa_3.exe
  106. ECHO                                            tsa_4.exe
  107. goto end
  108.  
  109. :info
  110. ECHO  
  111. ECHO                     TOOLING SOLUTIONS Version 1.0b
  112. ECHO  
  113. ECHO  
  114. ECHO Start INSTALL.BAT with the name of the directory to install TOOLING SOLUTIONS.
  115. ECHO  
  116. ECHO        For example:
  117. ECHO                    INSTALL c:\toolsol
  118. :end
  119. ECHO  
  120.