Visual Studio Setup project should not delete file during uninstall
I created Visual Studio 2005 Setup project for my application. Windows Installer during installation put one xml file i开发者_如何学编程nto AppData/myCustomFolder. I used File System Editor and added special folder - user's app data folder, then included that xml there.
When I uninstall application from Control Panel folder from Program Files is deleted, but also my xml file from AppData is deleted too. I need to leave this xml file in the AppData always, even when user re-install application.
How I could do it?
Set the Permanent property to True
Permanent Property
精彩评论