I need to achieve the following: The uninstallation of an MSI should present a user dialog based on which Windows Installer knows how exactly to remove the software (in this case: The user must choose whether or not to remove databases as well).
While running, the uninstall process will also trigger custom actions. All of these actions need administrative privileges.
So I need to get "Program and Features" to present either full UI on "Remove" or the authenticate for administrative privileges dialog when hitting "Change" and then remove.
How do I do this?