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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top