-
-cd thirdparty_source
-
-rem ---------DOWNLOAD------------------
-%wgetPath%\wget.exe %urlCreatisSource%/xerces-c-3.1.1.zip
-%wgetPath%\wget.exe %urlCreatisSource%/InsightToolkit-3.20.0.tar.gz
-%wgetPath%\wget.exe %urlCreatisSource%/gdcm_08_Dic_2009.tar.gz
-%wgetPath%\wget.exe %urlCreatisSource%/vtk-5.6.1.tar.gz
-%wgetPath%\wget.exe %urlCreatisSource%/wxWidgets-2.9.1.7z
-
-rem ---------Extracting------------------
-
-%zipPath%\7z.exe x xerces-c-3.1.1.zip
-%zipPath%\7z.exe x InsightToolkit-3.20.0.tar.gz
-%zipPath%\7z.exe x InsightToolkit-3.20.0.tar
-%zipPath%\7z.exe x gdcm_08_Dic_2009.tar.gz
-%zipPath%\7z.exe x gdcm_08_Dic_2009.tar
-%zipPath%\7z.exe x vtk-5.6.1.tar.gz
-%zipPath%\7z.exe x vtk-5.6.1.tar
-mkdir wxWidgets
-cd wxWidgets
-%zipPath%\7z.exe x ..\wxWidgets-2.9.1.7z
-
-
-
-
-
-rem ------------- vtk --------------------
+rem ------End Creating Folders---------
+
+rem -----------------------------------
+rem ------Downloading Sources----------
+rem -----------------------------------
+cd %thirdpartyGeneration%\thirdparty_source\
+%wgetPath% %urlCreatisSource%/qt-4.7.3.zip
+%wgetPath% %urlCreatisSource%/wxWidgets-2.9.2.7z
+%wgetPath% %urlCreatisSource%/boost_1_47_0.7z
+%wgetPath% %urlCreatisSource%/vtk-5.6.1.zip
+%wgetPath% %urlCreatisSource%/InsightToolkit-3.20.0.zip
+%wgetPath% %urlCreatisSource%/gdcm_05_Mai_2011.tar.gz
+%wgetPath% %urlCreatisSource%/xerces-c-3.1.1.zip
+rem ------End Downloading Sources------
+
+rem -----------------------------------
+rem --------Qt Installation------------
+rem -----------------------------------
+rem ---Setting Enviroment Variables----
+set QTDIR=%thirdpartyGeneration%\thirdparty_source\Qt\4.7.3\
+rem ----------Extracting---------------
+cd %thirdpartyGeneration%\thirdparty_source\
+mkdir Qt\
+cd Qt\
+%zipPath% x %thirdpartyGeneration%\thirdparty_source\qt-4.7.3.zip
+del %thirdpartyGeneration%\thirdparty_source\qt-4.7.3.zip
+
+rem --------Renaming Folder------------
+rename qt-everywhere-opensource-src-4.7.3 4.7.3
+rem ----------Installing---------------
+cd 4.7.3
+echo y | configure -debug-and-release -opensource -shared -qt-sql-sqlite -phonon -phonon-backend -platform win32-msvc2010 -mp
+nmake
+cd C:\
+rem ------End QT Installation----------
+
+rem -----------------------------------
+rem -----wxWidgets Installation--------
+rem -----------------------------------
+rem -------Setting Variables-----------
+set WXDIR=%thirdpartyGeneration%\thirdparty_source\wxWidgets\2.9.2\
+rem ----------Extracting---------------
+cd %thirdpartyGeneration%\thirdparty_source
+md wxWidgets\2.9.2
+cd wxWidgets\2.9.2
+%zipPath% x %thirdpartyGeneration%\thirdparty_source\wxWidgets-2.9.2.7z
+del %thirdpartyGeneration%\thirdparty_source\wxWidgets-2.9.2.7z
+rem ----------Installing---------------
+cd %thirdpartyGeneration%\thirdparty_source\wxWidgets\2.9.2\build\msw
+nmake -f makefile.vc BUILD=debug UNICODE=1 SHARED=1
+nmake -f makefile.vc BUILD=release UNICODE=1 SHARED=1
+cd C:\
+rem ----End wxWidgets Installation-----
+
+rem -----------------------------------
+rem ------Boost Installation-----------
+rem -----------------------------------
+rem -------Setting Variables-----------
+set BOOSTDIR=%thirdpartyGeneration%\thirdparty_source\Boost\1.47.0\
+rem ----------Extracting---------------
+cd %thirdpartyGeneration%\thirdparty_source\
+md Boost\
+cd Boost\
+%zipPath% x %thirdpartyGeneration%\thirdparty_source\boost_1_47_0.7z
+del %thirdpartyGeneration%\thirdparty_source\boost_1_47_0.7z
+rem --------Renaming Folder------------
+rename boost_1_47_0 1.47.0
+rem ----------Installing---------------
+cd %thirdpartyGeneration%\thirdparty_source\Boost\1.47.0\
+md boost-build
+cd tools\build\v2
+call bootstrap.bat
+b2 -j 2 --build-dir=%thirdpartyGeneration%\thirdparty_source\Boost\1.47.0\boost-build toolset=msvc --build-type=msvc install --prefix=%thirdpartyGeneration%\thirdparty_source\Boost\1.47.0\boost-build
+cd C:\
+rem -----End Boost Installation--------
+
+rem -----------------------------------
+rem -------VTK Installation------------
+rem -----------------------------------
+rem ----------Extracting---------------
+mkdir %thirdpartyGeneration%\thirdparty_source\VTK
+cd %thirdpartyGeneration%\thirdparty_source\VTK
+%zipPath% x %thirdpartyGeneration%\thirdparty_source\vtk-5.6.1.zip
+del %thirdpartyGeneration%\thirdparty_source\vtk-5.6.1.zip
+rem ----------Installing---------------