How to close WPF system tray application from another app?

I have a windowless WPF application using great NotifyIcon by Philipp Sumi. I’m gladly replacing my old WinForms based version, however, I have one problem. My app has uninstaller that closes the tray application before removing the executable files. The closing thing is done with sending WM_CLOSE message to the tray application process. It’s relatively […]