WndProc -- msg value for Uninstall?

  • Thread starter Thread starter Rob R. Ainscough
  • Start date Start date
R

Rob R. Ainscough

I'm using WM_QUERYENDSESSION (&H11) but need to also close my app when the
Uninstall is initiated -- what message value do I need to check?

Thanks, Rob.
 
Hi Rob,

I'd say it's rather the uninstaller's task to check whether a running
instance of your app is present, and if that's the case, ask it to close.
You can use the named mutex technique to detect whether an instance of your
app is running in a pre-uninstall custom action.

I understand I am being quite succinct, please don't hesitate to ask me to
elaborate should you need more detail.
 
Back
Top