Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
MDANSE
Commits
3e14894d
Commit
3e14894d
authored
Jun 05, 2018
by
eric pellegrini
Browse files
Advances in debugging nsis installer
parent
192c15e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
BuildServer/Windows/Windows_resources/nsis/MDANSE_installer.nsi
View file @
3e14894d
...
...
@@ -32,7 +32,7 @@ ShowInstDetails show
ShowUnInstDetails show
!define PUBLISHER "Institut Laue-Langevin"
!define WEB_SITE "http
s
://
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"
...
...
BuildServer/Windows/deploy.bat
View file @
3e14894d
...
...
@@ -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%
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment