Hi Dan!Dan wrote:Hello,
Please note that during the uninstall process, Windows Installer removes all the data registered into the MSI file.
If you want to prevent a file from being uninstalled, you can set the Permanent flag from the component properties of the related files. This way, Windows Installer will not remove the related files, the related files being removed by the Uninstall Cleanup operation.
Let me know if that helped.
Best regards,
Dan
What If I want the user to have a choice? if they want to remove the file then check a checkbox if not delete them? I'm assuming you can't do this when the program is uninstalling from control panel? and the only way maybe to do this is to set some kind of operation such as mark a registry within the application so that when the uninstaller is running it will read the value and keep or delete files depending on the value correct?Dan wrote:Hello,
If you want to prevent a file from being removed, you can follow the steps from the How do I prevent a file or registry entry from being uninstalled or repaired? article.
If there is anything else I can help you with, please let me know.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging