Our project has a windows service and UI components. On un-installation the Windows installer tries to kill the processes automatically. I would like installer to kill the UI first and service later so that UI doesn't raise exceptions when service goes out.
How do we change the order which process goes out first in Visual Studio Installer project?
You cannot change this order because it's generated automatically by Windows Installer.
However, you can try using custom actions to stop your application processes before InstallValidate action. This way Windows Installer will no longer try to stop the processes and will simply perform the uninstall.