Commit 3e14894d authored by eric pellegrini's avatar eric pellegrini

Advances in debugging nsis installer

parent 192c15e0
......@@ -32,7 +32,7 @@ ShowInstDetails show
ShowUnInstDetails show
!define PUBLISHER "Institut Laue-Langevin"
!define WEB_SITE "https://github.com/eurydyce/MDANSE"
!define WEB_SITE "http://www.mdanse.org"
!define UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\MDANSE"
!define UNINST_ROOT_KEY "HKLM"
......@@ -60,7 +60,7 @@ and time correlation functions."
!insertmacro MUI_PAGE_WELCOME
; Insert a "License" page in the installer
!insertmacro MUI_PAGE_LICENSE "${TARGET_DIR}\LICENSE"
!insertmacro MUI_PAGE_LICENSE "LICENSE"
; Insert a page to browse for the installation directory
!insertmacro MUI_PAGE_DIRECTORY
......@@ -100,8 +100,8 @@ Section "MDANSE ${VERSION}" SEC01
SetOutPath "$INSTDIR"
SetOverwrite on
File /r /x *.pyc /x *.pyo /x *.log /x *.egg-info "${TARGET_DIR}\*"
File "${TARGET_DIR}\CHANGELOG"
File "${TARGET_DIR}\LICENSE"
File "CHANGELOG"
File "LICENSE"
File "MDANSE_launcher.bat"
File "MDANSE_command_shell.bat"
CreateDirectory "${ICONS_DIR}"
......@@ -145,6 +145,7 @@ Section uninstall
SetShellVarContext all
Delete "$INSTDIR\MDANSE.url"
Delete "$INSTDIR\uninst.exe"
Delete "$INSTDIR\LICENSE"
Delete "$INSTDIR\CHANGELOG"
Delete "$INSTDIR\MDANSE_launcher.bat"
Delete "$INSTDIR\MDANSE_command_shell.bat"
......
......@@ -7,6 +7,9 @@ rem MDANSE_TEMPORARY_INSTALLATION_DIR
cd "%MDANSE_SOURCE_DIR%\\BuildServer\\Windows"
rem copy LICENSE
copy %MDANSE_SOURCE_DIR%\\LICENSE %MDANSE_SOURCE_DIR%\\BuildServer\\Windows\\Windows_resources\\nsis\\
rem copy CHANGELOG
copy %MDANSE_SOURCE_DIR%\\CHANGELOG %MDANSE_SOURCE_DIR%\\BuildServer\\Windows\\Windows_resources\\nsis\\
......@@ -30,4 +33,4 @@ if %STATUS% neq 0 (
move %MDANSE_TEMPORARY_INSTALLATION_DIR%\\MDANSE*.exe %MDANSE_SOURCE_DIR%\\BuildServer\\
rem Remove NSIS log file
del NSISlog.txt
cd %MDANSE_SOURCE_DIR%
\ No newline at end of file
cd %MDANSE_SOURCE_DIR%
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