Mentions légales du service

Skip to content
Snippets Groups Projects
Commit cb2d2247 authored by hhakim's avatar hhakim
Browse files

Fix in NSIS installer the expfiltered directory present in matlab folder after install.

parent 3c2cf22c
Branches
Tags
No related merge requests found
Pipeline #834188 skipped
...@@ -121,6 +121,9 @@ Section "" ; no component so name not needed ...@@ -121,6 +121,9 @@ Section "" ; no component so name not needed
File /nonfatal /r /x old_matlab @PROJECT_BINARY_DIR@\wrapper\matlab\*.m @PROJECT_BINARY_DIR@\wrapper\matlab\*.@MEX_EXT@ @PROJECT_BINARY_DIR@\wrapper\matlab\*.mat File /nonfatal /r /x old_matlab @PROJECT_BINARY_DIR@\wrapper\matlab\*.m @PROJECT_BINARY_DIR@\wrapper\matlab\*.@MEX_EXT@ @PROJECT_BINARY_DIR@\wrapper\matlab\*.mat
; nonfatal useful in case of data *.mat not used/present (because they are downloaded at installation) ; nonfatal useful in case of data *.mat not used/present (because they are downloaded at installation)
; workaround to the installation of a directory that shouldn't be installed (because normally excluded by CMake. I think it happens only on Windows)
; TODO: fix this issue directly in CMake (if possible)
RMDir /r "$INSTDIR\matlab\expfiltered"
; check the python version matches python major.minor version used to build the the wrapper shared library ; check the python version matches python major.minor version used to build the the wrapper shared library
Exec "python --version | python -c $\"import re; ver = input(); exit(0) if re.match('Python @WIN_PY_VER@', ver) else exit(1)$\"" Exec "python --version | python -c $\"import re; ver = input(); exit(0) if re.match('Python @WIN_PY_VER@', ver) else exit(1)$\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment