I know there's a way to prompt to cleanup settings on uninstall, but is there a way that the same prompt can be done on install? The reason is we want to give the user option to clean up settings made by previous installer (which do not have the cleanup prompt on uninstall). This will ensure that the prompt is shown on upgrade.
I have tried setting "Remove On" to "Component install and uninstall" on Remove tab, but this does not prompt on install, it only prompts on uninstall. If not possible via the remove tab, then perhaps there's a way to do this via custom action where a message box is shown and a property will be set depending on answer. The property can then be used to trigger another custom action that does the clean up (registry, files, etc)
FOLLOW US
Get the latest news in Application Packaging