added findprocdll for NSIS installer

This commit is contained in:
Volker Fischer 2017-08-11 16:26:23 +00:00
parent 9e9beaf349
commit e3ad24373c
2 changed files with 123 additions and 122 deletions

BIN
windows/FindProcDLL.dll Normal file

Binary file not shown.

View file

@ -30,6 +30,7 @@ Page instfiles
Section Section
; check if software is currently running ; check if software is currently running
!addplugindir ..\windows
FindProcDLL::FindProc "${APP_EXE}" FindProcDLL::FindProc "${APP_EXE}"
IntCmp $R0 1 0 notRunning IntCmp $R0 1 0 notRunning
MessageBox MB_OK|MB_ICONEXCLAMATION "${APP_NAME} is running. Please close it and run the setup again." /SD IDOK MessageBox MB_OK|MB_ICONEXCLAMATION "${APP_NAME} is running. Please close it and run the setup again." /SD IDOK