home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p170 / 1.ddi / PATOOLS / SECURE.DAT < prev    next >
Encoding:
Text File  |  1987-02-25  |  4.0 KB  |  136 lines

  1. echo off
  2. setwin
  3. setatt 15 1
  4. clrwin
  5. setatt 10 1
  6. title " Security Code Input Procedure "
  7. setatt 15 1
  8.  
  9. echo
  10. echo
  11. center "This procedure automates the process of adding security codes to  "
  12. center "your system.  You will need a separate security code for each     "
  13. center "software package purchased.                                       "
  14. echo
  15. center "Note that this procedure assumes that you have already connected  "
  16. center "the hardware security device to your system.  If you have not done"
  17. center "so, and have questions about the procedure, please see your       "
  18. center "dealer.                                                           " 
  19. echo
  20. center "To obtain your codes, follow the instructions on the following    "
  21. center "screens.  As part of this procedure, you will need to call        "
  22. center "Computervision.  You can call any time between 7:30 AM and 7:00 PM"
  23. center "Eastern Standard Time.                                            "
  24. echo
  25. setatt 10 1
  26. center "Do you wish to continue? (Y/N)"
  27. setatt 15 1
  28. getsel "YyNn"
  29. clrwin
  30. if select N exit
  31. if select n exit
  32.  
  33. echo
  34. echo
  35. center "Before calling for your codes have the following at hand:         "
  36. echo
  37. center "*  The serial number of your hardware security device.  This is   "
  38. center "   located on the bottom of the device.                           "
  39. echo
  40. center "*  The software serial number, model number, and software check   "
  41. center "   digits for each software package purchased.  These numbers are "
  42. center "   located on the diskette labels.                                "
  43. echo
  44. center "*  Paper and pencil for recording the security codes.  There will "
  45. center "   be six numbers to record for each software installation.       "
  46. echo
  47. center "When ready, press any key to continue on to the next screen.      "
  48. pause
  49.  
  50. clrwin
  51. echo
  52. echo
  53. center "To obtain your software security code(s), call one of the        "
  54. center "following numbers:                                               "
  55. echo
  56. setatt 10 1
  57. center "Toll Free in USA outside Mass    1-800-833-8003"
  58. echo
  59. center "Toll Free inside Mass            1-800-325-1255"
  60. echo
  61. setatt 15 1
  62. center " - or - "
  63. setatt 10 1
  64. echo
  65. center "1-617-275-1800, Ext. 3641 or 3640"
  66. setatt 15 1
  67. echo
  68. center "Once you have obtained the code(s), press 'Y' to continue on to  "
  69. center "the next screen.                                                 "
  70. echo
  71. center "If you cannot get the code(s) now, press 'N'.  This will cause   "
  72. center "this procedure to aborted.  You can then type SECURE and get your"
  73. center "numbers at a later time.                                         "
  74. getsel "YyNn"
  75. clrwin
  76. if select N exit
  77. if select n exit
  78.  
  79. :new_numbers
  80. echo
  81. echo
  82. getvar "                    Please input the first number:  " V1 5
  83. echo
  84. getvar "                    Input the second number:        " V2 5
  85. echo
  86. getvar "                    Input the third number:         " V3 5
  87. echo
  88. getvar "                    Input the fourth number:        " V4 5
  89. echo         
  90. getvar "                    Input the fifth number:         " V5 5
  91. echo
  92. getvar "                    Input the sixth number:         " V6 5
  93.  
  94. clrwin
  95. echo
  96. echo
  97. center "The numbers input were:"
  98. echo
  99. setatt 10 1
  100. center "{V1} {V2} {V3} {V4} {V5} {V6}"
  101. setatt 15 1
  102. echo
  103. center "Are these numbers correct? (Y/N)"
  104. getsel "YyNn"
  105. clrwin
  106. if select N goto new_numbers
  107. if select n goto new_numbers
  108. clrwin
  109.  
  110. echo "{V1} {V2} {V3} {V4} {V5} {V6}" >&TMP1
  111. edoption <&TMP1 >&TMP2
  112. if not infile &TMP2 Error goto success
  113. echo
  114. echo
  115. center "Error in installing option!"
  116. center "Please check numbers and try again."
  117. goto new_numbers
  118.  
  119. :success
  120. del &TMP*.*
  121. echo
  122. echo
  123. center "Option installed!"
  124. echo
  125. center "Do you wish to install more codes? (Y/N)"
  126. getsel "YyNn"
  127. clrwin
  128. if select Y goto new_numbers
  129. if select y goto new_numbers
  130.  
  131. echo
  132. echo
  133. center "SECURE normal exit."
  134. :end
  135.  
  136.