Revision c97cdf1f
Added by Andreas Kohlbecker over 13 years ago
src/main/installer/win32/setup.nsi | ||
---|---|---|
1 | 1 |
# Auto-generated by EclipseNSIS Script Wizard |
2 | 2 |
# 28.10.2010 13:58:54 |
3 | 3 |
|
4 |
# TODO : preserve $INSTDIR/.cdmLibrary from being deleted if the user desides to keep it, or just warn the user. |
|
5 |
|
|
4 | 6 |
Name "EDIT CDM-Server" |
5 | 7 |
|
6 | 8 |
# General Symbol Definitions |
... | ... | |
18 | 20 |
!define OUT_FOLDER "..\..\..\..\dist" |
19 | 21 |
!define JAR_FILE_NAME "cdm-server-${VERSION}.jar" |
20 | 22 |
!define JAR_FILE "..\..\..\..\target\${JAR_FILE_NAME}" |
23 |
!define CDMLIBRARY_TEMPLATE "..\templates\.cdmLibrary" |
|
21 | 24 |
|
22 | 25 |
# Reserved Files |
23 | 26 |
ReserveFile "${NSISDIR}\Plugins\StartMenu.dll" |
... | ... | |
57 | 60 |
SetOutPath $INSTDIR |
58 | 61 |
SetOverwrite on |
59 | 62 |
File /r /x .svn /x *.log /x *.jar program-folder\* |
60 |
SetOutPath "$INSTDIR\lib"
|
|
63 |
File /r /x .svn ${CDMLIBRARY_TEMPLATE}
|
|
61 | 64 |
File ${JAR_FILE} |
65 |
SetOverwrite off |
|
66 |
SetOutPath "$INSTDIR\lib" |
|
62 | 67 |
WriteRegStr HKLM "${REGKEY}\Components" Main 1 |
63 | 68 |
SectionEnd |
64 | 69 |
|
Also available in: Unified diff
CDM Server as win32 service - installer improvements