]> Creatis software - creaToolsTools.git/commitdiff
#3456 bug NSIS CPACK windows
authorEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Fri, 19 Jan 2024 16:37:33 +0000 (17:37 +0100)
committerEduardo Enrique Davila Serrano <davila@creatis.insa-lyon.fr>
Fri, 19 Jan 2024 16:37:33 +0000 (17:37 +0100)
Install_mingw64/Install_CreaTools/scripts/All.bat
Install_mingw64/Install_CreaTools/scripts/All2.bat
Install_mingw64/Install_CreaTools/scripts/creaMaracasVariables.bat
Install_mingw64/Install_ThirdParty/cmake/crea_ThirdParty_dlls/install/CMakeLists.txt
Install_mingw64/config_win.bat

index 3f1d9be65a43370f3a088c053412657ab3fd83da..df270f3fd592ca16bc08691bc87a98e05c79ed48 100644 (file)
@@ -27,21 +27,14 @@ set creatoolsGeneration=%1
 set docGeneration=%2
 
 set scriptsFolder=%cd%
-
-
 rmdir %logFolder% /s /q
 mkdir %logFolder%
 mkdir %creatoolsGeneration%
-
 echo call configure variables
 call %scriptsFolder%\base\configureVariables.bat
-
 echo call Clean and Download-Sources
-start /B /wait %scriptsFolder%\base\downloadSources.bat
-
-
+ start /B /wait %scriptsFolder%\base\downloadSources.bat
 echo %cd%
-
 cd %scriptsFolder%
 call All2.bat %creatoolsGeneration% %docGeneration% Release Win64
 
index bbbeec0e229e231c02affd2f3ee2eddcb9420f83..7139a5e66b812ad6e388061dc52b3ddad7452220 100644 (file)
@@ -73,6 +73,7 @@ start /B /wait %scriptsFolder%\bbtkGEditorInstall.bat
 echo call compile creaMinitools
 start /B /wait %scriptsFolder%\creaMinitoolsInstall.bat
 
+
 echo  THIS HAS TO BE THE LAST STEP...
 echo call compile creaTools
 start /B /wait %scriptsFolder%\creaToolsInstall.bat
index f6baa98aef085a1f3dcb9eb7a5354f7bf0488891..ade43d64052215d3cb05fe9cee7e9fd858eb9255 100644 (file)
@@ -38,7 +38,6 @@ IF %4==Debug (
        cmake -D WXWIDGETS_USE_DEBUG:BOOL=ON CMakeCache.txt
 )
 
-
 ::cmake -D CMAKE_CXX_FLAGS:STRING=/openmp
 ::cmake -D crea_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\crea CMakeCache.txt
 ::cmake -D BBTK_DIR:PATH=%1\creatools_%buildtype%%platforme%\creatools_install\bbtk CMakeCache.txt
@@ -46,7 +45,6 @@ IF %4==Debug (
 ::cmake -D BUILD_BBTK_PACKAGE_creaMaracasVisu_DOXYGEN_DOC:BOOL=%3 CMakeCache.txt
 ::cmake CMakeCache.txt
 
-
 ::%cmakeBin% -D CMAKE_CXX_FLAGS:STRING=/openmp
 ::%cmakeBin%  -D crea_DIR:PATH=%1\c_%buildtype%%platforme%\ci\crea CMakeCache.txt
 ::%cmakeBin%  -D BBTK_DIR:PATH=%1\c_%buildtype%%platforme%\ci\bbtk CMakeCache.txt
index 1da72e878d19f9b8c164651434f07fb35abd3665..19bc874add6aa41e9aab62f9fbe6aec14d07be73 100644 (file)
@@ -37,6 +37,10 @@ IF(WIN32 AND NOT UNIX)
   SET(CPACK_NSIS_URL_INFO_ABOUT "http://www.creatis.insa-lyon.fr/creatools/${PROJECT_NAME}")
   SET(CPACK_NSIS_CONTACT "info-dev@creatis.insa-lyon.fr")
   SET(CPACK_NSIS_MODIFY_PATH OFF)
+    
+# EED 2024-01-18
+# SET(CPACK_SYSTEM_NAME ${CREATOOLS_PLATFORM})
+SET(CPACK_NSIS_INSTALL_ROOT  $ENV{ProgramFiles})
   
   set  (CREA_BOOST_LYBRARY     boost)
   set  (CREA_GDCM_LYBRARY      gdcm13 )
index dc013ef7445e7186e551de4a7fe03b57c4aa4364..261eb2f91114ca83a5f5f627c5beca2c96966cea 100644 (file)
@@ -3,7 +3,7 @@
 ::--------- Cumputer 3 : Tour Cratools 2 -------------------------
 set baseProject=C:\Users\davila\Creatis\C22
 set cmakeBin=C:\Users\davila\Creatis\crea_Developper_Tools\cmake-3.17.1-win64-x64\bin\cmake.exe
-set ProgramFiles=C:\Program Files (x86)
+set ProgramFiles=C:\Program Files
 set wgetPath="C:\Users\davila\Creatis\crea_Developper_Tools\wget\wget.exe"
 set zipPath="C:\Program Files\7-Zip\7z.exe"
 ::set zipPath="peazip -ext2here "
@@ -13,7 +13,7 @@ set DirMingwDlls=C:\Users\davila\Creatis\ups\mingw64-8.5-posix\bin
 ::set DirMingwDlls=C:\Users\davila\Creatis\crea_Developper_Tools\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
 
 
-::--------- Cumputer 1 : Tour Cratools -------------------------
+::--------- Cumputer 1 : Tour Creatools -------------------------
 ::set baseProject=E:\Creatis\C11
 ::set cmakeBin=E:\creatis\crea_Developer_Tools\v4\cmake-3.17.1-win64-x64\bin\cmake.exe
 ::set ProgramFiles=C:\Program Files (x86)