home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p170 / 1.ddi / PATOOLS / INSTALL.BAT < prev    next >
Encoding:
DOS Batch File  |  1987-09-09  |  3.5 KB  |  109 lines

  1. echo off
  2. cls
  3. rem  9-10-87 - Updated for 2.11 version of DRAFT
  4. rem  3-10-87 - Personal Architect re-install command program
  5.  
  6. rem -- test for bad install calls
  7. if %1! == recurs! goto exit_msg
  8. if %1! == ! goto loadtype
  9. goto exit_msg
  10.  
  11. :loadtype
  12. cls
  13. echo   ╔══════════════════════════════════════════════════════════════════════╗
  14. echo   ║  Personal Architect                                    Version 2.11  ║
  15. echo   ║  Design/Draft Re-Installation Program                                ║
  16. echo   ║                                                                      ║
  17. echo   ║  Copyright (C) 1987 Computervision, Corp.                            ║
  18. echo   ╚══════════════════════════════════════════════════════════════════════╝
  19. echo   
  20. echo      This re-installation program should only be used when you are    
  21. echo      changing graphics boards, protection devices, or input devices.  
  22. echo      Re-installation of the complete software should be done by placing
  23. echo      the appropriate Design or Drafting Master Diskette Number 1 in   
  24. echo      Drive A and type "a:install".  For detailed information refer to
  25. echo      respective Release Notes booklet.                               
  26. echo   
  27. echo         Personal Architect Re-installation Options:                  
  28. echo   
  29. echo               1 = Re-install Advanced Architectural Drafting         
  30. echo               2 = Re-install Architectural Design
  31. yntest 1 2 29 .       Enter your selection:
  32. if errorlevel 1 goto loaddes
  33.  
  34. :loaddra
  35. cd\patools
  36. if not exist \DRAFT\DRA.EXE goto no_draft
  37. diskman DRAFT.DAT
  38. cd\
  39. goto end
  40.  
  41. :loaddes
  42. cd\patools
  43. if not exist \DESIGN\*.* goto no_design
  44. diskman DESIGN.DAT
  45. cd\
  46. goto end
  47.  
  48. :no_draft
  49. cls
  50. echo  
  51. echo  
  52. echo  
  53. echo  
  54. echo  
  55. echo  
  56. echo  
  57. echo  
  58. echo  
  59. echo   ╔══════════════════════════════════════════════════════════════════════╗
  60. echo   ║  Installation error.                                                 ║
  61. echo   ║  Advanced Architectural Drafting Vers. 2.11 not currently installed. ║
  62. echo   ║  Re-installation must be done from diskette.  Please refer to your   ║
  63. echo   ║  Release Notes booklet for the proper installation procedures for    ║
  64. echo   ║  this program.                                                       ║
  65. echo   ╚══════════════════════════════════════════════════════════════════════╝
  66. goto end
  67.  
  68. :no_design
  69. cls
  70. echo  
  71. echo  
  72. echo  
  73. echo  
  74. echo  
  75. echo  
  76. echo  
  77. echo  
  78. echo  
  79. echo   ╔══════════════════════════════════════════════════════════════════════╗
  80. echo   ║  Installation error.                                                 ║
  81. echo   ║  Architectural Design Vers. 2.1 not currently installed.             ║
  82. echo   ║  Re-installation must be done from diskette.  Please refer to your   ║
  83. echo   ║  Release Notes booklet for the proper installation procedures for    ║
  84. echo   ║  this program.                                                       ║
  85. echo   ╚══════════════════════════════════════════════════════════════════════╝
  86. goto end
  87.  
  88. :exit_msg
  89. cls
  90. echo  
  91. echo  
  92. echo  
  93. echo  
  94. echo  
  95. echo  
  96. echo  
  97. echo  
  98. echo  
  99. echo  
  100. echo   ╔══════════════════════════════════════════════════════════════════════╗
  101. echo   ║  Installation error.                                                 ║
  102. echo   ║  Please refer to your Release Notes booklet for the proper           ║
  103. echo   ║  installation procedures for this program.                           ║
  104. echo   ╚══════════════════════════════════════════════════════════════════════╝
  105. goto end
  106.  
  107. :end
  108.  
  109.