home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1996 December / PCWKCD1296.iso / demo / wgelectr / cameval / cam31 / misc.z / KEY_NT.ZIP / INSTALL.BAT next >
DOS Batch File  |  1995-07-03  |  2KB  |  58 lines

  1. @echo off
  2. if %PROCESSOR_ARCHITECTURE%.== x86.        goto x86Env
  3. if %PROCESSOR_ARCHITECTURE%.== MIPS.       goto mipsEnv
  4. if %PROCESSOR_ARCHITECTURE%.== ALPHA.      goto alphaEnv
  5. if %PROCESSOR_ARCHITECTURE%.== PPC.        goto ppcEnv
  6. goto error
  7.  
  8. :x86Env
  9. REM *** To run the install without dialogs, use the /Q option
  10. REM *** If the current directory is not the directory SETUPX86.EXE resides
  11. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  12. REM e.g.    SETUPX86.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\I386
  13. SETUPX86.EXE
  14. goto end
  15.  
  16. :mipsEnv
  17. REM *** To run the install without dialogs, use the /Q option
  18. REM *** If the current directory is not the directory SETUPMPS.EXE resides
  19. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  20. REM e.g.    SETUPMPS.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\MIPS
  21. SETUPMPS.EXE
  22. goto end
  23.  
  24. :alphaEnv
  25. REM *** To run the install without dialogs, use the /Q option
  26. REM *** If the current directory is not the directory SETUPAXP.EXE resides
  27. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  28. REM e.g.    SETUPAXP.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\ALPHA
  29. SETUPAXP.EXE
  30. goto end
  31.  
  32. :ppcEnv
  33. REM *** To run the install without dialogs, use the /Q option
  34. REM *** If the current directory is not the directory SETUPPPC.EXE resides
  35. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  36. REM e.g.    SETUPPPC.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\PPC
  37. SETUPPPC.EXE
  38. goto end
  39.  
  40. :error
  41. ECHO.
  42. ECHO Error PROCESSOR_ARCHITECTURE not defined!!  Automatic processor
  43. ECHO    detection failed.  To install the Sentinel Driver, please
  44. ECHO    do the following:
  45. ECHO.
  46. ECHO    1. If you are running NT on Intel platform (Most IBM compatible
  47. ECHO         machines are intel or intel compatible), please run the file
  48. ECHO         SETUPX86.EXE.
  49. ECHO    2. If you are running NT on DEC Alpha platform, please run the
  50. ECHO         file SETUPAXP.EXE.
  51. ECHO    3. If you are running NT on MIPS or MIPS compatible platform,
  52. ECHO         please run the file SETUPMPS.EXE.
  53. ECHO    4. If you are running NT on PowerPC or PowerPC compatible platform,
  54. ECHO         please run the file SETUPPPC.EXE.
  55. ECHO.
  56.  
  57. :end
  58.