source: extensions/gsdl-video/trunk/setup.bat@ 18983

Last change on this file since 18983 was 18983, checked in by davidb, 13 years ago

Files for rudimentary Windows support

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1@echo off
2pushd "%CD%"
3CD /D "%~dp0"
4set GSDLLANG=en
5set extdesc="the Video Extension"
6
7if "%OS%" == "Windows_NT" goto WinNT
8if "%OS%" == "" goto Win95
9if "%GSDLLANG%" == "en" echo Setup failed - your PATH has not been set
10if "%GSDLLANG%" == "es" echo No se pudo realizar la configuraci¢n - no se ha establecido la RUTA.
11if "%GSDLLANG%" == "fr" echo Ech‚c de l'installation - votre variable PATH n'a pas ‚t‚ ajust‚e
12if "%GSDLLANG%" == "ru" echo “áâ ­®¢ª  ­¥ 〠« áì - “’œ ­¥ ¡ë« ãáâ ­®¢«¥­
13goto End
14
15:WinNT
16set GEXTVIDEO=%CD%
17set GEXTVIDEO_INSTALLED=%GEXTVIDEO%\installed
18
19set PATH=%GEXTVIDEO_INSTALLED%\windows\bin;%PATH%
20set GS_CP_SET=yes
21goto Success
22
23:Win95
24if "%1" == "SetEnv" goto Win95Env
25REM We'll invoke a second copy of the command processor to make
26REM sure there's enough environment space
27COMMAND /E:2048 /K %0 SetEnv
28goto End
29
30:Win95Env
31set GEXTVIDEO=%CD%
32set PATH="%GEXTVIDEO_INSTALLED%\windows\bin";"%PATH%"
33set GS_CP_SET=yes
34goto Success
35
36:Success
37
38if "x%GSDLEXTS%" == "x" (
39 set GSDLEXTS=video
40) else (
41 set GSDLEXTS=%GSDLEXTS%:video
42)
43
44echo +Your environment is now setup for %extdesc%
45
46:End
47
48popd
Note: See TracBrowser for help on using the repository browser.