I've created c# program for which I created with the Microsoft Visual Studio Installer Projects. Now I have an updated version of my program and I want to create a setup which either (if the program isn't installed) completely installs my program(lokal DB etc.) or (if it is already installed) just updates the exe so the user doesn't lose his settings and data in the DB.
How do I do that?