]> Creatis software - creaTools.git/commitdiff
#3222 CreaTools Feature New Normal - vtk8itk4wx3-mingw64
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 7 Aug 2018 15:00:54 +0000 (17:00 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Tue, 7 Aug 2018 15:00:54 +0000 (17:00 +0200)
bin/UpdateCreatools.bat [new file with mode: 0644]
bin/UpdateCreatools.bat.lnk [new file with mode: 0644]
bin/UpdateCreatools_.bat [new file with mode: 0644]
install/CMakeLists.txt

diff --git a/bin/UpdateCreatools.bat b/bin/UpdateCreatools.bat
new file mode 100644 (file)
index 0000000..485f299
--- /dev/null
@@ -0,0 +1,11 @@
+rem echo OFF
+
+set DOWNLOADDIR=Downloads
+set FILENAME=UpdateCreatools_.bat
+set CREATOOLSPATH="C:\Program Files (x86)\CreaTools-2.6.5"
+cd %USERPROFILE%
+mkdir %DOWNLOADDIR%
+cd %DOWNLOADDIR%
+
+copy %CREATOOLSPATH%\bin\%FILENAME% %FILENAME%
+call %FILENAME%
diff --git a/bin/UpdateCreatools.bat.lnk b/bin/UpdateCreatools.bat.lnk
new file mode 100644 (file)
index 0000000..627ff77
Binary files /dev/null and b/bin/UpdateCreatools.bat.lnk differ
diff --git a/bin/UpdateCreatools_.bat b/bin/UpdateCreatools_.bat
new file mode 100644 (file)
index 0000000..58ee637
--- /dev/null
@@ -0,0 +1,47 @@
+echo OFF
+set CREATOOLSPATH="C:\Program Files (x86)\CreaTools-2.6.5"
+set FILENAME=CreaTools-Release-2.6.5-win64.exe 
+set URL=http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/v2.6.x
+set DOWNLOADDIR=Downloads
+cd %USERPROFILE%
+mkdir %DOWNLOADDIR%
+cd %DOWNLOADDIR%
+%CREATOOLSPATH%\Uninstall.exe /S
+bitsadmin /NOWRAP /transfer creatools  /download /priority normal  %URL%/%FILENAME% %USERPROFILE%\%DOWNLOADDIR%\%FILENAME%
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo Installing   %FILENAME% ....
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+%FILENAME% /S
+cls
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo .
+echo ....   %FILENAME%    ....
+echo .
+echo .
+echo .      Finish Update. 
+echo .
+echo .
+echo .
+echo .
+echo .
+pause
\ No newline at end of file
index 95f7f554a80a7f5a395bf256a906a130362c34fe..5fef39db2d06f6301e77ab9ea277e8d06f1fa2f4 100644 (file)
@@ -168,6 +168,7 @@ IF(WIN32 AND NOT UNIX)
                Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\CreaTools_HomePage.lnk'
                Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\ creaTools.lnk'
                Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Version.txt.lnk'
+               Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Update_CreaTools.lnk'
                
 #              Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Developer_Tools\\\\creaNewProject.lnk'
 #              Delete '$SMPROGRAMS\\\\$MUI_TEMP\\\\Developer_Tools\\\\bbStudio.lnk'