How to check for cancel button in custom action without doing anything else.
Posted
by Curtis J
on Stack Overflow
See other posts from Stack Overflow
or by Curtis J
Published on 2010-05-15T01:55:34Z
Indexed on
2010/05/15
2:04 UTC
Read the original article
Hit count: 396
I know when I put something in the log using ::MsiProcessMessage(hModule, INSTALLMESSAGE(INSTALLMESSAGE_INFO), ...);
that I can check if the return value is IDCANCEL and return ERROR_INSTALL_USEREXIT to Windows installer.
How do I do that without having to put something in the log or alter the progress bar?
© Stack Overflow or respective owner