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

Utils::CloseApplication should send WM_QUERYENDSESSION and WM_ENDSESSION #3778

wixbot opened this issue Sep 19, 2012 · 1 comment

Comments

@wixbot
Copy link
Collaborator

@wixbot 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
Collaborator Author

@wixbot 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

Loading

@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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant