uninstall.nsi 292 Bytes
Newer Older
1 2 3 4 5 6 7
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

notRunningInUninstall:

8 9
DeleteRegKey HKCR "sip"
DeleteRegKey HKCR "sip-linphone"