home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 13 / 13.iso / p / p120 / 5.ddi / INSTALL / SECURE.DAT < prev   
Encoding:
Text File  |  1988-02-03  |  4.9 KB  |  159 lines

  1. echo off
  2. clrwin
  3.  
  4. -- 12/15/87 SJO microCADDS and microDRAFT version 3
  5.  
  6. ------ Display title and create window ------
  7. setwin
  8. setatt 15 1
  9. clrwin
  10. setatt 10 1
  11. title " Security Code Installation "
  12. setatt 15 1
  13.  
  14. ------ Display first screen ------
  15. echo
  16. echo
  17. center " Before you can use your software for the first time you must set up "
  18. center " the security access codes that are unique to your system.  This     "
  19. center " program installs the actual code numbers in a file that resides in  "
  20. center " the root directory of the drive that is running your application.   "
  21. center " You will need a separate security code for each software package    "
  22. center " you have purchased.                                                 "
  23. echo
  24. center " If your dealer has not already set up your security access codes,   "
  25. center " you will need to first obtain the codes from Computervision.  The   "
  26. center " process you need to go through to do this is very simple and is     "
  27. center " described on the following screens.                                 "
  28. center " NOTE that this procedure assumes that you have already connected    "
  29. center " the hardware security device to your system.  If you have not done  "
  30. center " so, and have any questions about how to do it, please refer to the  "
  31. center " installation documentation that came with your program, or contact  "
  32. center " your dealer.                                                        " 
  33. echo
  34. setatt 10 1
  35. center "Do you wish to continue [Y/N]?"
  36. setatt 15 1
  37. getsel "YyNn"
  38. clrwin
  39. if select N exit
  40. if select n exit
  41.  
  42. ------ Display second screen ------
  43. echo
  44. echo
  45. echo
  46. center " Before calling Computervision for your security access codes, you  "
  47. center " must have the following information available:                     "
  48. echo
  49. center "   1)  The serial number of your hardware security device.  This    "
  50. center "       is located on the bottom of the device.                      "
  51. echo
  52. center "   2)  The software serial number, model number, and software check "
  53. center "       digits for each software package purchased.  These numbers   "
  54. center "       are located on the diskette labels.                          "
  55. echo
  56. center "   3)  Pen and paper for recording the security codes.  There will  "
  57. center "       be six numbers to record for each software package.          "
  58. echo
  59. center " When you are ready with all of this, press any key to continue on  "
  60. center " to the next step.                                                  "
  61. pause
  62.  
  63. ------ Display third screen ------
  64. clrwin
  65. echo
  66. center " Once you have the necessary serial numbers, to obtain the actual   "
  67. center " unique software security code for your machine call the            "
  68. center " Computervision Customer Response Center at one of the numbers      "
  69. center " listed in your release bulletin.                                   "
  70. echo
  71. center " If you have already obtained your code numbers, enter a 'Y'        "
  72. center " and continue on to the next screen.                                "
  73. echo
  74. center " Otherwise, telephone to get the codes right now if possible, or    "
  75. center " if you are not ready to obtain or enter the codes, enter an 'N' to "
  76. center " exit this program.  When you are ready you can type SECURE and     "
  77. center " complete the installation of your code numbers at your leisure.    "
  78. echo
  79. center " Do you wish to continue [Y/N]? "
  80. getsel "YyNn"
  81. clrwin
  82. if select N exit
  83. if select n exit
  84.  
  85. ------ Display fourth screen, get numbers ------
  86. :new_numbers
  87. echo
  88. echo
  89. echo
  90. getvar "            Please enter the first number:    " V1 5
  91. echo
  92. getvar "            Please enter the second number:   " V2 5
  93. echo
  94. getvar "            Please enter the third number:    " V3 5
  95. echo
  96. getvar "            Please enter the fourth number:   " V4 5
  97. echo         
  98. getvar "            Please enter the fifth number:    " V5 5
  99. echo
  100. getvar "            Please enter the sixth number:    " V6 5
  101.  
  102. ------ Display fifth screen, echo numbers ------
  103. clrwin
  104. echo
  105. echo
  106. echo
  107. echo
  108. echo
  109. echo
  110. echo
  111. echo
  112. center "The numbers entered were:"
  113. echo
  114. setatt 10 1
  115. center "{V1} {V2} {V3} {V4} {V5} {V6}"
  116. setatt 15 1
  117. echo
  118. center "Are these numbers correct [Y/N]?"
  119. getsel "YyNn"
  120. if select N goto new_numbers
  121. if select n goto new_numbers
  122. clrwin
  123.  
  124. echo "{V1} {V2} {V3} {V4} {V5} {V6}" >&TMP1
  125. SUBR EDOPTION &TMP1 &TMP2
  126. if not infile &TMP2 Error goto success
  127. echo
  128. echo
  129. center "Error in installing option!"
  130. center "Please check numbers and try again."
  131. goto new_numbers
  132.  
  133. :success
  134. del &TMP*.*
  135. echo
  136. echo
  137. echo
  138. echo
  139. echo
  140. echo
  141. echo
  142. echo
  143. echo
  144. center "Option installed!"
  145. echo
  146. center "Do you wish to install more codes [Y/N]?"
  147. getsel "YyNn"
  148. clrwin
  149. if select Y goto new_numbers
  150. if select y goto new_numbers
  151.  
  152. if exist dmantmp del dmantmp
  153. echo
  154. echo
  155. center "SECURE normal exit."
  156. :end
  157.  
  158.                                                                                                                                               
  159.