Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils::CloseApplication should send WM_QUERYENDSESSION and WM_ENDSESSION #3778

Closed
wixbot opened this issue Sep 19, 2012 · 1 comment
Closed

Comments

@wixbot
Copy link

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
Copy link
Author

wixbot commented Oct 22, 2013

v3.8

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 as completed Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant