closeapplication

Wix's util:CloseApplication extension doesn't seem to work

I'm trying to close a process before uninstallation using Wix. I've confirmed that it works as long as there's a visible window, but if there isn't a visible window (which is the case most of the time with this app since it's a system tray app), the uninstaller just hangs, and eventually continues with the uninstallation, leaving the pro...

Blackberry java app running in background

Hi, I would like to exit the application with 2 different ways: - When key "escape" pressed, the application exit but still run in background. - When the user select "Close" in the menu to close the application totally. This is already working as it is the default behavior. In my MainScreen class, I have overwritten the close() method ...

WiX CloseApplication for exe and dll

I've created a WiX setup project based on the article WiX 3 Tutorial: Understanding main WXS and WXI file mainly because it gives the WiX needed to do an application shutdown. However, I'm puzzled by the outcome. Here's the situation: We have an executable which uses a dll and create a setup which installs the executable and the dll. W...

Right way to close WPF GUI application: GetCurrentProcess().Kill(), Environment.Exit(0) or this.Shutdown()

My GUI desktop-based WPF 4.0 (C# .Net 4.0) program works with SQL Server database. Each time when I run my application it creates connection to SQL Server via ADO.NET Entity Framework and if SQL Server is not reachable it throws exception and shows MessageBox with notification. Now I want that after user read this message application wi...