Commit 1f1651d4 authored by Ghislain MARY's avatar Ghislain MARY

Detect if linphone-qt is already running when launching the installer.

parent 1e9431bf
...@@ -904,7 +904,8 @@ SectionEnd ...@@ -904,7 +904,8 @@ SectionEnd
Function .onInit Function .onInit
FindWindow $0 "gdkWindowToplevel" "Linphone" FindWindow $0 "gdkWindowToplevel" "Linphone"
StrCmp $0 0 notRunning FindWindow $1 "Qt5QWindowOwnDCIcon" "Linphone"
StrCmp "$0$1" "00" notRunning
MessageBox MB_OK|MB_ICONEXCLAMATION "Linphone is running. Please close it first and restart the installation." /SD IDOK MessageBox MB_OK|MB_ICONEXCLAMATION "Linphone is running. Please close it first and restart the installation." /SD IDOK
Abort Abort
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment