call %vcvarsall%
-goto next
+
echo -----------------------------------
echo -------Creating Folders------------
echo -----------------------------------
echo -----------------------------------
echo ------Downloading Sources----------
echo -----------------------------------
-:next
+
cd %thirdpartyGeneration%\thirdparty_source\
%wgetPath% %urlCreatisSource%/qt-4.7.3.zip
IF %buildWxWidgets28%==0 (
) ELSE (
%wgetPath% %urlCreatisSource%/wxWidgets-2.8.12.tar.gz
)
-goto next
%wgetPath% %urlCreatisSource%/boost_1_46_1.7z
%wgetPath% %urlCreatisSource%/vtk-5.8.0.tar.gz
%wgetPath% %urlCreatisSource%/InsightToolkit-3.20.0.zip
echo -----wxWidgets Installation--------
echo -----------------------------------
echo ----------Extracting---------------
-:next
+
cd %sourcepath%
IF %buildWxWidgets28%==0 (
md %wxWidgets%
cd C:\
echo ----End wxWidgets Installation-----
-goto next
+
echo -----------------------------------
echo ------Boost Installation-----------
echo -----------------------------------
echo -----------------------------------
echo ---End of Installing Libraries-----
echo -----------------------------------
-:next
+
exit /B
\ No newline at end of file
if not exist %miktex% (
echo ERROR!!! MiKTex has not been found in the system
exit
- )
- else (
- set miktex="%ProgramFilesPath_x64%\MiKTeX 2.9"
- )
-)
-else (
-set miktex="%ProgramFilesPath_x86%\MiKTeX 2.9"
-)
+ ) else set miktex="%ProgramFilesPath_x64%\MiKTeX 2.9"
+) else set miktex="%ProgramFilesPath_x86%\MiKTeX 2.9"
echo -----------------------------------
echo Environment variables Configuration