Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Utils::CloseApplication should send WM_QUERYENDSESSION and WM_ENDSESSION #3778

wixbot opened this Issue Sep 19, 2012 · 1 comment


None yet
1 participant

wixbot commented Sep 19, 2012

Utils::CloseApplication is nice, but it should follow Restart Manager guidelines for closing applications. E.g., it should send WM_QUERYENDSESSION to determine if application supports closing, then WM_ENDSESSION in case it does and WM_CLOSE only as a fallback method.
This is described here: http://msdn.microsoft.com/en-us/library/aa373651%28v=vs.85%29.aspx

Currently, the custom action only sends WM_CLOSE message. This causes applications with "close to tray" ability to stay opened.

Originally opened by daear from http://sourceforge.net/p/wix/feature-requests/703/


wixbot commented Oct 22, 2013


Originally posted by barnson
Area changed from CloseApplication WM_QUERYENDSESSION RestartManager to extensions
Release changed from Future to v3.8
Resolution set to fixed
Status changed from Untriaged to Resolved

@wixbot wixbot added this to the v3.8 milestone Dec 20, 2015

@wixbot wixbot closed this Dec 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment