Currently, when I uninstall an installed program (that I built with Advance Installer) through the Control Panel, the uninstallation occurs immediately. If I uninstall it using the uninstall shortcut, only the standard message "Are you sure you want to uninstall?" appears. But I need to provide a custom message to the user before uninstalling - for example, asking for feedback, etc.
I tried using VerifyRemoveDlg, but it only appears when "Override Windows Installer - Modify" is enabled, and this dialog doesn't appear when uninstalling via the shortcut. I need a Message Box to appear during uninstallation, regardless of method.
The message box window should have OK and Cancel buttons. OK continues the uninstallation. Cancel cancels the uninstallation. The window displays my custom text.
As far as I understand, I need to use a Custom Action - MessageBox. But I don't understand how to enable it before the uninstallation process begins. Please help.
Also I'll be happy to know how to make the Message text localizable for different languages. Thanks in advance.