From 202a4fd7ee3ed58db16ddad8bad485ab2eafa0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien.villemot@ens.fr> Date: Mon, 11 Jun 2012 13:55:56 +0200 Subject: [PATCH] Windows installer: adapt for the new scripts directory (cherry picked from commit eb4fcb2cd71b81d32834a6ff41563a4a30b92d2d) --- windows/dynare.nsi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/windows/dynare.nsi b/windows/dynare.nsi index 6b08d66e1..c281d82af 100644 --- a/windows/dynare.nsi +++ b/windows/dynare.nsi @@ -54,7 +54,7 @@ Section "Dynare core (preprocessor and M-files)" SectionIn RO !insertmacro DETERMINE_CONTEXT SetOutPath $INSTDIR - File README.txt ..\NEWS mexopts-win32.bat mexopts-win64.bat ..\license.txt ..\dynare.el + File README.txt ..\NEWS mexopts-win32.bat mexopts-win64.bat ..\license.txt SetOutPath $INSTDIR\matlab File /r ..\matlab\*.m @@ -63,6 +63,9 @@ Section "Dynare core (preprocessor and M-files)" SetOutPath $INSTDIR\contrib File /r ..\contrib\*.m + SetOutPath $INSTDIR\scripts + File /r ..\scripts\* + WriteUninstaller $INSTDIR\uninstall.exe # Create start menu entries @@ -157,13 +160,13 @@ Section "Uninstall" Delete $INSTDIR\license.txt Delete $INSTDIR\mexopts-win32.bat Delete $INSTDIR\mexopts-win64.bat - Delete $INSTDIR\dynare.el Rmdir /r $INSTDIR\matlab Rmdir /r $INSTDIR\contrib Rmdir /r $INSTDIR\mex Rmdir /r $INSTDIR\dynare++ Rmdir /r $INSTDIR\doc Rmdir /r $INSTDIR\examples + Rmdir /r $INSTDIR\scripts # We don't force deletion of installation directory (with /r), to avoid deleting important files Rmdir $INSTDIR -- GitLab