set cvsUser=%3
set installPrefix=%4
set buildtype=%5
+set forcex86=%6
-set currentFolder=%cd%
+set scriptsFolder=%cd%
set logFolder=%creatoolsGeneration%\installLog
rmdir %logFolder% /s /q
mkdir %logFolder%
+echo call configure variables
+call %scriptsFolder%\base\configureVariables.bat
echo call Download Sources
-start /B /I /wait %currentFolder%\base\downloadSources.bat %creatoolsGeneration% %installPrefix% %cvsUser% %currentFolder%
+start /B /wait %scriptsFolder%\base\downloadSources.bat
echo call compile crea
-start /B /I /wait %currentFolder%\crea\creaInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\crea\creaInstall.bat
echo call compile bbtk
-start /B /I /wait %currentFolder%\bbtk\bbtkInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\bbtk\bbtkInstall.bat
echo call compile creaMaracasVisu
-start /B /I /wait %currentFolder%\creaMaracasVisu\creaMaracasVisuInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaMaracasVisu\creaMaracasVisuInstall.bat
echo call compile creaEnvironment
-start /B /I /wait %currentFolder%\creaEnvironment\creaEnvironmentInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaEnvironment\creaEnvironmentInstall.bat
echo call compile creaBruker
-start /B /I /wait %currentFolder%\creaBruker\creaBrukerInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaBruker\creaBrukerInstall.bat
echo call compile creaImageIO
-start /B /I /wait %currentFolder%\creaImageIO\creaImageIOInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaImageIO\creaImageIOInstall.bat
echo call compile creaContours
-start /B /I /wait %currentFolder%\creaContours\creaContoursInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaContours\creaContoursInstall.bat
echo call compile creaRigidRegistration
-start /B /I /wait %currentFolder%\creaRigidRegistration\creaRigidRInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaRigidRegistration\creaRigidRInstall.bat
echo call compile bbtkGEditor
-start /B /I /wait %currentFolder%\bbtkGEditor\bbtkGEditorInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\bbtkGEditor\bbtkGEditorInstall.bat
echo call compile creaMinitools
-start /B /I /wait %currentFolder%\creaTools\creaMinitoolsInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /wait %scriptsFolder%\creaTools\creaMinitoolsInstall.bat
echo THIS HAS TO BE THE LAST STEP...
echo call compile creaTools
-start /B /I /wait %currentFolder%\creaTools\creaToolsInstall.bat %creatoolsGeneration% %docgeneration% %cvsUser% %installPrefix% %buildtype% %currentFolder%
+start /B /I /wait %scriptsFolder%\creaTools\creaToolsInstall.bat
echo To see the log files of this install please go to %LogFolder%