; Version numbers should be integers
!define VERSIONMAJOR 0
!define VERSIONMINOR 1
-!define VERSIONBUILD 3
+!define VERSIONBUILD 5
!define FULLVERSION "${VERSIONMAJOR}.${VERSIONMINOR}.${VERSIONBUILD}"
;---------------------------
; Add Remove info
!include ReplaceInFile.nsh
;---------------------------------------------------------------
+; Add local copy of AccessControl plugin
+!addplugindir .
+
; Installer's filename
-Outfile "${APPNAME} Installer.exe"
+Outfile "${APPNAME} Installer ${FULLVERSION}.exe"
RequestExecutionLevel admin
; Set path variable in org.ils_evergreen.hatch.json to $INSTDIR\hatch.bat
${StrRep} '$0' '$INSTDIR' '\' '\\'
!insertmacro _ReplaceInFile "$INSTDIR\extension\host\org.evergreen_ils.hatch.json" "/path/to/hatch.sh" "$0\\hatch.bat"
+ AccessControl::EnableFileInheritance "$INSTDIR\extension\host\org.evergreen_ils.hatch.json"
; Uninstaller
writeUninstaller "$INSTDIR\Uninstall ${APPNAME}.exe"