I have an WPF application which also has an system tray icon. I am currently working on a WiX Installer solution to upgrade my WPF application. The installer should close the running application without message popup asking the user to that manually. I started using the tag "CloseApplication" in my main wix wxs file:
<util:CloseApplication Id ="myapp" Target="MyApp.exe" CloseMessage="yes" RebootPrompt="no" ></util:CloseApplication>
It closes the main application and the icon in the system tray, but the process gets converted to a background process. The WiX Installer reacts again with a popup asking for closing the application. This popup asking the user to close the application manually needs to be avoided. I also had a look in the history of asked question here in stackoverflow but none of them is providing a proper solution or at least workaround. The research in the internet was also poor on working solutions. Is this still an issue ? How to get rid of the popup to close the application?