home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / BF / BF025A.ZIP / INSTALL.BAT < prev    next >
DOS Batch File  |  1990-02-01  |  3KB  |  95 lines

  1. ECHO OFF
  2. CLS
  3. IF %1==F GOTO FLOPINS
  4. IF %1==H GOTO HARDINS1
  5. CLS
  6. GO
  7. :FLOPINS
  8. ECHO OFF
  9. CLS
  10. ECHO              Instructions for installing the program:
  11. echo  
  12. ECHO         Create three ready-to-run disks (execute from drive B:)
  13. ECHO  Label three disks as follows:
  14. ECHO            Disk 1:  SALES-A   {--- This is the 'HELP' disk
  15. ECHO            Disk 2:  SALES-B   {--- This is the 'PROGRAM' disk.
  16. ECHO                                    Contains PROSPECT.EXE & PROSPECT.OVL
  17. ECHO            Disk 3:  SALESDOC  {--- This is the Tutorial 
  18. echo  
  19. ECHO  Disk  1  should be formatted as a 'bootable' disk, with this command:   
  20. ECHO                                   FORMAT A:/S
  21. echo  
  22. ECHO  To verify if your disk is 'bootable', check for the existence of a file 
  23. ECHO  named  'COMMAND.COM'.   The format instruction above should have placed 
  24. ECHO  this file onto your 'bootable disk'.  The other 2 disks will be formatted
  25. ECHO  with the standard format command:  FORMAT A:
  26. ECHO  If you want to stop this procedure now to format the 3 disks, enter 
  27. ECHO  CONTROL-C.  Enter any other key to continue.
  28. PAUSE   
  29. CLS   
  30. IF %2==1 GOTO FLOPINS1
  31. IF %2==2 GOTO FLOPINS2
  32. CLS
  33. ECHO  This floppy installation requires that you enter either a '1' or a '2', 
  34. ECHO  following your 'GO F' instruction.
  35. GOTO END
  36. :FLOPINS2
  37. ECHO  Enter disk 1, SALES-A, into drive A now.
  38. PAUSE 
  39. A:     
  40. B:PKUNZIP -X B:SALE-A30.ZIP *.DB?
  41. B:PKUNZIP -X B:SALE-A30.ZIP *.COM
  42. B:PKUNZIP -X B:SALE-A30.ZIP AUTOFLOP.BAT
  43. B:PKUNZIP -X B:SALE-A30.ZIP INSTALL.DOC
  44. B:PKUNZIP -X B:SALE-A30.ZIP DEMO.DOC
  45. B:PKUNZIP -X B:SALE-A30.ZIP REMOTE1.DOC
  46. B:PKUNZIP -X B:SALE-A30.ZIP FOREIGN.DOC
  47. B:PKUNZIP -X B:SALE-A30.ZIP NATIVE.DOC
  48. COPY AUTOFLOP.BAT AUTOEXEC.BAT
  49. CLS   
  50. ECHO  Enter disk 2, SALES-B, into drive A now.
  51. PAUSE 
  52. A:     
  53. B:PKUNZIP -X B:SALE-B30.ZIP 
  54. B:PKUNZIP -X B:SALE-A30.ZIP *.FRM
  55. B:PKUNZIP -X B:SALE-A30.ZIP *.LBL
  56. B:
  57. CLS   
  58. ECHO  Insert 'Disk 2' with GO2 into drive B now.
  59. echo  
  60. ECHO  Enter:              GO2
  61. GOTO END
  62. :FLOPINS1
  63. ECHO  Beginning with version 3.0 of this program, the executable files have
  64. ECHO  become so large that the low density option of 360KB is no longer supported.
  65. GOTO END
  66. :HARDINS1
  67. CLS
  68. ECHO              Instructions for installing the program:
  69. echo  
  70. ECHO  This procedure will install all files onto your hard disk, drive %2
  71. ECHO  It will create a subdirectory, \PROSPECT, and split out or unarchive
  72. ECHO  all the files it needs from this single disk on drive A.
  73. echo  
  74. %2:
  75. CD \
  76. MKDIR PROSPECT
  77. CD PROSPECT
  78. COPY A:PKUNZIP.EXE
  79. COPY A:SALE-A30.ZIP
  80. PKUNZIP -X SALE-A30.ZIP
  81. DEL SALE-A30.ZIP
  82. DEL AUTOFLOP.BAT
  83. COPY A:SALE-B30.ZIP
  84. PKUNZIP -X SALE-B30.ZIP
  85. DEL SALE-B30.ZIP
  86. A:
  87. CLS
  88. ECHO  Insert the second disk now into drive A.
  89. echo  
  90. ECHO  Enter:              GO2
  91. GOTO END
  92. echo  
  93. :END
  94. echo  
  95.