Visual Studio Installer order of component uninstallation

Go To StackoverFlow.com

0

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?

2012-04-04 18:26
by srs


3

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.

2012-04-05 06:21
by user527987
Thank you, I will give this a tr - srs 2012-04-07 07:22
Ads