- Timestamp:
- 2014-05-12T15:02:53+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
local/greenstone2/windows-64bit/setup.bat
r28757 r29050 1 1 @echo off 2 echo. 3 echo ****************************** 2 4 3 5 set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_45 6 if not exist "%JAVA_HOME%" echo %JAVA_HOME% does not exist& goto done 4 7 set PATH=%JAVA_HOME%\bin;%PATH% 5 8 … … 7 10 8 11 set PERL_HOME=C:\Perl64 12 if not exist "%PERL_HOME%" echo %PERL_HOME% does not exist& goto done 9 13 set PATH=%PERL_HOME%\bin;%PATH% 10 14 11 15 echo + Set PERL_PATH=%PERL_HOME% and updated PATH 12 16 13 pushd "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC" 17 :: call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat" 18 set vclocation=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC 19 if not exist "%vclocation%" echo %vclocation% does not exist& goto done 20 pushd "%vclocation%" 14 21 call vcvarsall.bat amd64 15 22 popd 16 23 24 :: http://go4answers.webhost4life.com/Example/windows-sdk-v70a-setenvbat-218785.aspx 25 :: explains that SetEnv.cmd does exist in the new Microsoft SDK: 26 :: C:\Windows\System32\cmd.exe /E:ON /V:ON /T:0E /K "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" 27 :: (Unused: http://stackoverflow.com/questions/887894/how-to-find-windows-sdks-setenv-cmd-setenv-cmd-does-not-work-correctly ) 28 29 ::call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" 30 :: Run with /? to see what options it takes (/x86, /x64, /ia64, /vista, /xp, /win7 and more) 31 set sdklocation=C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin 32 if not exist "%sdklocation%" echo %sdklocation% does not exist& goto done 33 pushd "%sdklocation%" 34 call SetEnv.cmd /x86 35 popd 36 37 :done 38 echo Leaving local/setup.bat 39 echo ****************************** 40 echo.
Note:
See TracChangeset
for help on using the changeset viewer.