| 1 |
; Script generated by the HM NIS Edit Script Wizard. |
| 2 |
|
| 3 |
; HM NIS Edit Wizard helper defines |
| 4 |
!define PRODUCT_NAME "ECL" |
| 5 |
!define PRODUCT_VERSION "@ECLVERSION@" |
| 6 |
!define PRODUCT_PUBLISHER "Daniel Kochmanski" |
| 7 |
!define PRODUCT_WEB_SITE "https://common-lisp.net/project/ecl" |
| 8 |
!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\ecl.exe" |
| 9 |
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}" |
| 10 |
!define PRODUCT_UNINST_ROOT_KEY "HKLM" |
| 11 |
!define ECLDIR "@ECLDIR@" |
| 12 |
|
| 13 |
; MUI 1.67 compatible ------ |
| 14 |
!include "MUI.nsh" |
| 15 |
|
| 16 |
; MUI Settings |
| 17 |
!define MUI_ABORTWARNING |
| 18 |
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" |
| 19 |
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico" |
| 20 |
|
| 21 |
; Welcome page |
| 22 |
!insertmacro MUI_PAGE_WELCOME |
| 23 |
; Directory page |
| 24 |
!insertmacro MUI_PAGE_DIRECTORY |
| 25 |
; Instfiles page |
| 26 |
!insertmacro MUI_PAGE_INSTFILES |
| 27 |
; Finish page |
| 28 |
!define MUI_FINISHPAGE_RUN "$INSTDIR\ecl.exe" |
| 29 |
!insertmacro MUI_PAGE_FINISH |
| 30 |
|
| 31 |
; Uninstaller pages |
| 32 |
!insertmacro MUI_UNPAGE_INSTFILES |
| 33 |
|
| 34 |
; Language files |
| 35 |
!insertmacro MUI_LANGUAGE "English" |
| 36 |
|
| 37 |
; MUI end ------ |
| 38 |
|
| 39 |
Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" |
| 40 |
OutFile "Setup.exe" |
| 41 |
InstallDir "$PROGRAMFILES\ECL" |
| 42 |
InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" "" |
| 43 |
ShowInstDetails show |
| 44 |
ShowUnInstDetails show |
| 45 |
|
| 46 |
Section "Hauptgruppe" SEC01 |
| 47 |
SetOutPath "$INSTDIR" |
| 48 |
SetOverwrite ifnewer |
| 49 |
File "${ECLDIR}\ecl.exe" |
| 50 |
CreateDirectory "$SMPROGRAMS\ECL" |
| 51 |
CreateShortCut "$SMPROGRAMS\ECL\ECL.lnk" "$INSTDIR\ecl.exe" |
| 52 |
CreateShortCut "$DESKTOP\ECL.lnk" "$INSTDIR\ecl.exe" |