Commit 27f70406 authored by Laurent Belcour's avatar Laurent Belcour

[NSIS] Update the script to avoid crashes if files are not found

parent 63e446a6
...@@ -51,20 +51,20 @@ RequestExecutionLevel user ...@@ -51,20 +51,20 @@ RequestExecutionLevel user
Section "ALTA" SecMain Section "ALTA" SecMain
SetOutPath $INSTDIR\bin SetOutPath $INSTDIR\bin
File "${ALTADIR}\build\softs\*.exe" File /nonfatal "${ALTADIR}\build\softs\*.exe"
File "${ALTADIR}\external\build\bin\*.dll" File /nonfatal "${ALTADIR}\external\build\bin\*.dll"
SetOutPath $INSTDIR\lib SetOutPath $INSTDIR\lib
File "${ALTADIR}\build\core\core.lib" File /nonfatal "${ALTADIR}\build\core\core.lib"
SetOutPath $INSTDIR\plugins SetOutPath $INSTDIR\plugins
File "${ALTADIR}\build\plugins\nonlinear*.dll" File /nonfatal "${ALTADIR}\build\plugins\nonlinear*.dll"
File "${ALTADIR}\build\plugins\rational*.dll" File /nonfatal "${ALTADIR}\build\plugins\rational*.dll"
File "${ALTADIR}\build\plugins\data*.dll" File /nonfatal "${ALTADIR}\build\plugins\data*.dll"
; Python package is not compiling yet ; Python package
;SetOutPath $INSTDIR\python SetOutPath $INSTDIR\python
;File "${ALTADIR}\build\python\alta.dll" File /nonfatal "${ALTADIR}\build\python\alta.dll"
# Update the ENVIROMNENT # Update the ENVIROMNENT
WriteRegStr HKCU "Environment" "ALTA_DIR" '$INSTDIR' WriteRegStr HKCU "Environment" "ALTA_DIR" '$INSTDIR'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment