Commit 79b6b49f authored by Ghislain MARY's avatar Ghislain MARY

Also check the window manager class for running Linphone detection when uninstalling on Windows.

parent 953abcf2
......@@ -903,7 +903,7 @@ SectionEnd
; "Program Files" for AllUsers, "My Documents" for JustMe...
Function .onInit
FindWindow $0 "" "Linphone"
FindWindow $0 "gdkWindowToplevel" "Linphone"
StrCmp $0 0 notRunning
MessageBox MB_OK|MB_ICONEXCLAMATION "Linphone is running. Please close it first and restart the installation." /SD IDOK
Abort
......
FindWindow $0 "" "Linphone"
FindWindow $0 "gdkWindowToplevel" "Linphone"
StrCmp $0 0 notRunningInUninstall
MessageBox MB_OK|MB_ICONEXCLAMATION "Linphone is running. Please close it first and restart the uninstall program." /SD IDOK
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