I need to add a dialog box that will appear during a complete uninstall (not a major update) immediately after confirmation ("Are you sure you want to uninstall this product?"). In this dialog box, you will be asked to answer the question and, based on the answer, configure the property that will be used in the condition for the RemoveRegistryKey element (i.e., it will delete the registry key only if the user chooses the option to delete the key).
I have an idea how to add a dialog to the installation sequence (I use the modified WixUI_InstalLDir sequence, to which I added a special dialog that I need during installation), but I can not find links that could explain how to add a custom dialogue in the delete sequence. It would be even better if I could change the delete confirmation dialog so that the user sees one dialog instead of two. The key point would be to set a property that could be used in the state of the component.
Is it possible? Are there any examples of how to do this?
source share