home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Aktief 1995 #3 / CDA3.iso / genealog / ry_v5_1.zi0 / RYINSTAL.BAT < prev    next >
DOS Batch File  |  1995-01-01  |  7KB  |  197 lines

  1. @echo off
  2. if exist ryo.mem del ryo.mem > nul
  3. if exist ry.exe del ry.exe > nul
  4. if exist rymain.exe del rymain.exe > nul
  5. rem *************************************** bypass if data files exist
  6. if exist name.dbf goto :ryexist
  7. echo Copying file definitions...
  8. if exist rlabel1.lbl del rlabel*.lbl > nul
  9. if exist ryodemoc.mem del ryodemoc.mem > nul
  10. if exist ryoprodc.mem del ryoprodc.mem > nul
  11. if exist cdroot.bat del cdroot.bat > nul
  12. if exist rootc.bat del root*.bat > nul
  13. if exist asciitxt.prt del amstrad.prt > nul
  14. if exist amstrad.prt del amstrad.prt > nul
  15. if exist brother.prt del brother.prt > nul
  16. if exist bro-ijet.prt del brother.prt > nul
  17. if exist canonbj3.prt del canonbj3.prt > nul
  18. if exist epson-ex.prt del epson-ex.prt > nul
  19. if exist epson-fx.prt del epson-fx.prt > nul
  20. if exist epson-gx.prt del epson-gx.prt > nul
  21. if exist epson-jx.prt del epson-jx.prt > nul
  22. if exist epson-lq.prt del epson-lq.prt > nul
  23. if exist epson-lx.prt del epson-lx.prt > nul
  24. if exist epson-mx.prt del epson-mx.prt > nul
  25. if exist fujdpl24.prt del fujdpl24.prt > nul
  26. if exist hp-4l.prt del hp-4l.prt > nul
  27. if exist hp-ii.prt del hp-ii.prt > nul
  28. if exist hp-iid.prt del hp-iid.prt > nul
  29. if exist hp-iii.prt del hp-iii.prt > nul
  30. if exist hp-iiid.prt del hp-iiid.prt > nul
  31. if exist hpinkjet.prt del hpinkjet.prt > nul
  32. if exist hpljplus.prt del hpljplus.prt > nul
  33. if exist ibm-grph.prt del ibm-grph.prt > nul
  34. if exist necp5200.prt del necp5200.prt > nul
  35. if exist oki.prt del oki.prt > nul
  36. if exist star-nx.prt del star-nx.prt > nul
  37. if exist ti-laser.prt del ti-laser.prt > nul
  38. if exist toshp321.prt del toshp321.prt > nul
  39. if exist ry.ico del ry.ico > nul
  40. if exist rytutor.ico del rytutor.ico > nul
  41. if exist rybkup01.set del rybkup01.set > nul
  42. if exist rybkup02.set del rybkup02.set > nul
  43. if exist rybkup03.set del rybkup03.set > nul
  44. if exist rybkup04.set del rybkup04.set > nul
  45. if exist rybkup05.set del rybkup05.set > nul
  46. if exist rybkup06.set del rybkup06.set > nul
  47. if exist rybkup07.set del rybkup07.set > nul
  48. if exist rybkup08.set del rybkup08.set > nul
  49. if exist rybkup09.set del rybkup09.set > nul
  50. if exist rybkup10.set del rybkup10.set > nul
  51. if exist rybkup11.set del rybkup11.set > nul
  52. if exist rybkup12.set del rybkup12.set > nul
  53. if exist rybkup13.set del rybkup13.set > nul
  54. if exist rybkup14.set del rybkup14.set > nul
  55. if exist rybkup15.set del rybkup15.set > nul
  56. if exist rybkup16.set del rybkup16.set > nul
  57. xrydef > nul
  58. del xrydef.exe > nul
  59. copy ryoprodc.mem ryoprodc.ry > nul
  60. copy ryodemoc.mem ryodemoc.ry > nul
  61. rem *************************************** resume
  62. :ryexist
  63. rem *************************************** bypass if dictionary files exist
  64. if exist words1.dbf goto :havedic
  65. if not exist xrydic.exe goto :havedic
  66. echo Creating dictionary...
  67. xrydic > nul
  68. :havedic
  69. if exist xrydic.exe del xrydic.exe > nul
  70. rem *************************************** bypass if \ryd exists
  71. if exist \ryd\name.dbf goto :rydexist
  72. if not exist \ryd\nul md \ryd > nul
  73. copy xrytutor.exe \ryd > nul
  74. :rydexist
  75. del xrytutor.exe > nul
  76. rem *************************************** resume
  77. if exist setclip.bat del setclip.bat > nul
  78. if exist cdroot.bat del cdroot.bat > nul
  79. if exist rytutor2.bat del rytutor2.bat > nul
  80. if exist ryinit2.bat del ryinit2.bat > nul
  81. if exist ry2.bat del ry2.bat > nul
  82. if exist defdata.* del defdata.* > nul
  83. if exist defindex.* del defindex.* > nul
  84. if exist ry.zip del ry.zip > nul
  85. if exist ry_1.zip del ry_1.zip > nul
  86. if exist ry_2.zip del ry_2.zip > nul
  87. if exist ry_3.zip del ry_3.zip > nul
  88. if exist ry_4.zip del ry_4.zip > nul
  89. if exist file_id.diz del file_id.diz > nul
  90. if not exist ryextra.ins goto :nox
  91. del ryextra.ins > nul
  92. if not exist xryextra.exe goto :nox
  93. echo ****************************************************************
  94. echo *                                                              *
  95. echo * Mount the diskette labelled RYEXTRA Additional Facilities    *
  96. echo *                                                              *
  97. echo ****************************************************************
  98. echo on
  99. pause
  100. echo off
  101. xryextra > nul
  102. del xryextra.exe > nul
  103. :nox
  104. if not exist ryphoto.ins goto :nop
  105. del ryphoto.ins > nul
  106. if not exist xryphoto.exe goto :nop
  107. echo ****************************************************************
  108. echo *                                                              *
  109. echo * Mount the diskette labelled RYPHOTO Display Photographs      *
  110. echo *                                                              *
  111. echo ****************************************************************
  112. echo on
  113. pause
  114. echo off
  115. xryphoto > nul
  116. del xryphoto.exe > nul
  117. :nop
  118. if exist x*.exe del x*.exe
  119. if exist ryfirst.exe del ryfirst.exe
  120. if exist ryformat.exe del ryformat.exe
  121. if exist rydelete.bat del rydelete.bat
  122. if exist install.* del install.*
  123. cls
  124. echo.
  125. echo on
  126. type ry_ver
  127. pause
  128. echo off
  129. cls
  130. echo.
  131. echo.
  132. echo.
  133. echo.
  134. echo.
  135. echo.
  136. echo.
  137. echo.
  138. echo.
  139. echo                  ******************************************* 
  140. echo                  *                                         * 
  141. echo                  * Starting RELATIVELY YOURS...please wait *
  142. echo                  *                                         * 
  143. echo                  ******************************************* 
  144. SET CLIPPER=F035
  145. SET RYPMT=%PROMPT%
  146. prompt DOS Access: Type EXIT to return to RELATIVELY YOURS$_%RYPMT%
  147. rycore
  148. prompt %RYPMT%
  149. SET RYPMT=
  150. if exist ryo.mem copy ryo.mem ryoprodc.mem > nul
  151. if not exist ryo.mem goto :notutor
  152. rem *************************************** bypass if \ryd exists
  153. if exist \ryd\name.dbf goto :haveryd
  154. echo Creating the tutorial data base...
  155. cd \ryd
  156. xrytutor > nul
  157. del xrytutor.exe > nul
  158. cd \
  159. :haveryd
  160. rem *************************************** bypass for shareware
  161. if not exist printdoc.bat goto :tutorok
  162. echo off
  163. cls
  164. echo.
  165. echo.
  166. echo.
  167. echo.
  168. echo.
  169. echo.
  170. echo    *************************************************************************
  171. echo    *                                                                       *
  172. echo    * The best way to learn about RELATIVELY YOURS is through the tutorial. *
  173. echo    *                                                                       *
  174. echo    * First, print the first four chapters of the User Manual included on   *
  175. echo    * your hard disk by typing (from the DOS prompt)                        *
  176. echo    *                                                                       *
  177. echo    *      PRINTDOC                                                         *
  178. echo    *                                                                       *
  179. echo    * then invoke the tutorial by typing (from the DOS prompt)              *
  180. echo    *                                                                       *
  181. echo    *      RYTUTOR                                                          *
  182. echo    *                                                                       *
  183. echo    * Refer to Chapter 4 of the User Manual to guide you through the tutor. *
  184. echo    *                                                                       *
  185. echo    *************************************************************************
  186. echo.
  187. echo on
  188. pause
  189. echo off
  190. goto :eoj
  191. :tutorok
  192. rytutor
  193. :notutor
  194. CLS
  195. :eoj
  196.  
  197.