home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Maximum 3D 3
/
m3d-p3.iso
/
PROGRAM
/
LIGHTSCP.311
/
LS311.R19
/
SETUP.BAT
< prev
next >
Wrap
DOS Batch File
|
1997-09-16
|
1KB
|
48 lines
@echo off
if "%OS%"=="Windows_NT" setlocal
rem Copyright (C) 1996 Lightscape Technologies, Inc. All rights reserved.
rem
rem setup.bat:
rem Invoke the appropriate LVS installer setup.exe for this platform.
rem This can be run via the File Manager or the Program Manager.
rem
rem Environment variables not defined under Windows 95.
if not "%OS%"=="Windows_NT" goto checks_ok
if not "%PROCESSOR_ARCHITECTURE%"=="x86" goto not_intel
:checks_ok
set _dir=I386\disk1
set _setup_dir=%0%\..\I386\disk1
rem Install
if not exist %_setup_dir%\setup.exe goto no_installer
start %_setup_dir%\setup.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
goto end
rem *** ERROR MESSAGES ***
:not_intel
echo.
echo Sorry, this CD only contains Lightscape for Intel platforms running
echo Windows 95 or Windows NT.
goto error_exit
:no_installer
echo.
echo The Lightscape installer must be invoked from the top-level directory
echo of the CD-ROM. If you continue to have trouble, try directly invoking
echo %_dir%\setup.exe.
goto error_exit
:error_exit
echo.
echo ---------------------------------------------------------------------------
rem We pause so the window doesn't disappear, in case we were invoked
rem from the File Manager or Program Manager.
pause
:end
if "%OS%"=="Windows_NT" endlocal