home *** CD-ROM | disk | FTP | other *** search
- @ECHO OFF
-
- REM
- REM $c5 JGM 08/30/96 Removed the unnecessary 'echo' which caused problems on win95
- REM $c4 JGM 06/24/96 SOLIDWORKS_ECHO and check setup.exe exists.
- REM $c3 JGM 12/15/95 Simplified and added parameters.
- REM $c2 LAL 11/17/95 added MIPS
- REM $c1 JGM 09/17/95 Added start before setup.
- REM
-
- if "%SOLIDWORKS_ECHO%" == "" goto not_verbose
- @echo on
- :not_verbose
-
- set arch=unset
- if not "%winbootdir%" == "" set arch=i386
- if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set arch=Alpha
- if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set arch=MIPS
- if "%PROCESSOR_ARCHITECTURE%" == "x86" set arch=i386
- if not "%arch%" == "unset" goto arch_ok
- echo.
- echo ERROR: Unknown computer type.
- echo.
- echo For Windows NT:
- echo Please set 'PROCESSOR_ARCHITECTURE' to one of the following and retry:
- echo ALPHA, MIPS or x86
- echo.
- echo For Windows 95:
- echo Please set 'winbootdir' appropriately.
- echo.
- pause
- goto end
- :arch_ok
-
- if exist setup\%arch%\setup.exe goto setup_ok
- echo.
- echo ERROR: setup\%arch%\setup.exe does not exist.
- echo.
- pause
- goto end
- :setup_ok
-
- cd setup\%arch%
- start setup %1 %2 %3 %4 %5 %6
-
- :end