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

Comments

Projects
None yet
1 participant
@wixbot
Collaborator

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

This comment has been minimized.

Show comment
Hide comment
@wixbot

wixbot Oct 22, 2013

Collaborator

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

Collaborator

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 Dec 20, 2015

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