Hello,
So if I check "Preserve folder content" the folder won't get deleted on an upgrade? How do I get it to delete on an uninstall?
To execute this operation during an upgrade only, you can try conditioning it using the following FAQ:
How do I determine if an Upgrade is being performed?
The folder contains data created by the app, not just installed files.
If the above doesn't clear all your files on uninstall you can try using the "Uninstall Cleanup" wizard in the target version's installer project. This wizard will allow you to specify what files and folders created by your application will be removed upon uninstall. In order to run this wizard select the parent folder, the directory from where you want to delete files and folder, and from the context menu select “Uninstall Cleanup...”. After the wizard launches, simply follow to on-screen instructions to choose the files you want to delete.
All the best,
Mihai
FOLLOW US
Get the latest news in Application Packaging