I want to add a custom action to my visual studio installer project to delete some files that are created by my app during runtime. These files are dynamically created and not deleted as part of the normal uninstall.
My question is: what happens when you upgrade or update the application by installing a newer version? Does the installer run the Uninstall
custom action?
I do have RemovePreviousVersions
set to True
in the deployment project properties. I'd actually like to delete the files only if it's a true removal not an upgrade.