The fact that it works when used from the MSI instead of the bootstrapper means that "application contexts" are not the problem. In the meantime I found a conversation on wix-devs which implies that this won't be implemented any time soon. Fine.
What I ended up doing for now is writing a bafunctions.dll which uses ProcFindAllIdsFromExeName to set a burn variable which enables a warning message within a custom theme. That way we at least get a warning when the user tries to uninstall while the application is running. All that is missing is the option to close the application, but I think we can live without that for now. Cheers ! Phill Hogland wrote > I use a bundle to drive my msi packages. Generally I use > util:RestartResource but some time ago I used util:CloseApplication. I do > not recall observing the scenario that you described, however I do know > that the underlying API used in either case, util:RestartResource or > util:CloseApplication, depends on the ability to send a Widows Message > from one application context to another. IF the targeted application is > running in a different user context then there can be issues with passing > any Windows Message from one Winstation/Desktop to another. (With regard > to this issue related to util:RestartResource there is more info > here <http://wixtoolset.org/issues/4592/> > .) -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-does-not-show-close-application-warning-during-uninstall-tp7593156p7600375.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users