home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 July / Chip_1997-07_cd.bin / tema / mattes / ip / ip30 / sysadmin / sentinel / win_nt / install.bat < prev    next >
DOS Batch File  |  1996-05-08  |  2KB  |  62 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. REM         SETUPX86.EXE /Q /U to un-install the driver
  14. SETUPX86.EXE
  15. goto end
  16.  
  17. :mipsEnv
  18. REM *** To run the install without dialogs, use the /Q option
  19. REM *** If the current directory is not the directory SETUPMPS.EXE resides
  20. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  21. REM e.g.    SETUPMPS.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\MIPS
  22. REM         SETUPMPS.EXE /Q /U to un-install the driver
  23. SETUPMPS.EXE
  24. goto end
  25.  
  26. :alphaEnv
  27. REM *** To run the install without dialogs, use the /Q option
  28. REM *** If the current directory is not the directory SETUPAXP.EXE resides
  29. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  30. REM e.g.    SETUPAXP.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\ALPHA
  31. REM         SETUPAXP.EXE /Q /U to un-install the driver
  32. SETUPAXP.EXE
  33. goto end
  34.  
  35. :ppcEnv
  36. REM *** To run the install without dialogs, use the /Q option
  37. REM *** If the current directory is not the directory SETUPPPC.EXE resides
  38. REM *** use /P{Full path to SENTINEL.SYS} to specify the path.
  39. REM e.g.    SETUPPPC.EXE /Q /PD:\PROUDCT\DRIVERS\WIN_NT\PPC
  40. REM         SETUPPPC.EXE /Q /U to un-install the driver
  41. SETUPPPC.EXE
  42. goto end
  43.  
  44. :error
  45. ECHO.
  46. ECHO Error PROCESSOR_ARCHITECTURE not defined!!  Automatic processor
  47. ECHO    detection failed.  To install the Sentinel Driver, please
  48. ECHO    do the following:
  49. ECHO.
  50. ECHO    1. If you are running NT on Intel platform (Most IBM compatible
  51. ECHO         machines are intel or intel compatible), please run the file
  52. ECHO         SETUPX86.EXE.
  53. ECHO    2. If you are running NT on DEC Alpha platform, please run the
  54. ECHO         file SETUPAXP.EXE.
  55. ECHO    3. If you are running NT on MIPS or MIPS compatible platform,
  56. ECHO         please run the file SETUPMPS.EXE.
  57. ECHO    4. If you are running NT on PowerPC or PowerPC compatible platform,
  58. ECHO         please run the file SETUPPPC.EXE.
  59. ECHO.
  60.  
  61. :end
  62.