home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / i / intelss.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-10-22  |  2KB  |  83 lines

  1. @echo off
  2. CLS
  3. if %1x==x goto instructions
  4.  
  5. md C:\FLASH
  6. cd C:\FLASH
  7.  
  8. :test1
  9. if exist CMPRD1.EXE goto installmenu
  10. echo Please put the Intel Flash Screen Saver disk in the floppy drive.
  11. echo Change to that floppy drive (e.g. type B:) and type INSTALL.
  12. pause
  13. goto test1     
  14.  
  15. :installmenu
  16. echo You may install the Intel Flash Screen Saver for 
  17. echo either DOS or Windows:
  18. echo.
  19. echo 1. DOS installation (3.0 and higher)
  20. echo.
  21. echo 2. Windows installation (3.0 and higher)
  22. echo.
  23. ask Please type the number of the installation that you would like: @1 2
  24. if errorlevel 2 goto wind
  25.  
  26. :dos
  27. cls
  28. echo.
  29. echo Uncompressing files for DOS installation- please wait ...
  30. C:
  31. %1CMPRD1
  32. copy %1readme.dos
  33.  
  34. if not exist C:\FLASH\FLASH.EXE goto error
  35. if not exist C:\FLASH\README.DOS goto error
  36.  
  37. cls
  38. echo Installation successful.
  39. echo.
  40. pause 
  41.  
  42. cls
  43. type readme.dos|more
  44. echo.
  45. goto exit
  46.  
  47. :wind
  48. cls
  49. echo.
  50. echo Uncompressing files for Windows installation - please wait ...
  51. C:
  52. %1CMPRD1
  53. %1CMPRD2
  54. copy %1readme.win
  55.  
  56. if not exist C:\FLASH\FLASH.EXE goto error
  57. if not exist C:\FLASH\IOSCR.EXE goto error
  58. if not exist C:\FLASH\HSCRLIB.DLL goto error
  59. if not exist C:\FLASH\S&TR.PIF goto error
  60. if not exist c:\FLASH\README.WIN goto error
  61. if not exist c:\FLASH\FLASHHLP.HLP goto error
  62.  
  63. cls
  64. echo Installation successful.
  65. echo.
  66. pause 
  67.  
  68. cls
  69. type  readme.win|more
  70. echo.
  71. goto exit
  72.  
  73. :error
  74. cls
  75. echo Installation error.  One or more files were not copied to the C: drive.
  76. goto exit
  77.  
  78. :instructions
  79. cls
  80. type %1read.me
  81.  
  82. :exit
  83.