]> Creatis software - creaToolsTools.git/blobdiff - Install_ThirdParty/scripts/install_thirdparty_dlls_cmake.bat
DFCH: Thirdpartylibs update
[creaToolsTools.git] / Install_ThirdParty / scripts / install_thirdparty_dlls_cmake.bat
index 0598331da8145f274adda7c6765bc03a6d250b0d..c1929dc60d78127752e8ce3f4679eee73c64efaf 100644 (file)
@@ -17,6 +17,7 @@ if %PROCESSOR_ARCHITECTURE%==x86 (
 echo ----End Asking Architecture--------
 
 set thirdpartyGeneration=%1
+set version="3.0.1-win32"
 
 set thirdparty_cmake=%cd%\..\cmake
 
@@ -48,4 +49,13 @@ cmake CMakeCache.txt
 FOR /R %%a IN (*.sln) DO msbuild %%a /p:Configuration=%buildType%
 msbuild /p:Configuration=release PACKAGE.vcxproj
 
+set installerPath="%thirdpartydllspath%\thirdparty_bin\crea_ThirdParty_dlls_Bin\crea_ThirdParty_dlls-%version%.exe"
+
+if exist installerPath (
+mkdir %thirdpartyGeneration%\thirdparty_installers
+move /Y %installerPath% %thirdpartyGeneration%\thirdparty_installers
+rmdir %binpath% /s /q
+rmdir %thirdpartydllspath% /s /q
+)
+
 exit /B
\ No newline at end of file