Search code examples
c#visual-studioadvanced-installer

How to update the version of my app without deleting client database using advanced installer


I have an application on a client machine and I have to fix some bugs. When I'm trying to update using the advanced installer my app loses all of localdb data on the client (the update replaces the database file).

I want to know how to make my update version project replace all files except localdb files.

My files: enter image description here


Solution

  • The is a Do not overwrite existing file option available in Files and Folders view for the related file. You can try to use it and this should work.