AutoUpdater.NET
AutoUpdater.NET copied to clipboard
Keep user's settings after updating
Hello, at every update, my application lose the saved settings, how I keep user.config's settings after updating? And is possible update also if I have renamed the file.exe? The updater enter in loop mode. Thank you
Do you include user.config in the update zip file? If yes, then it will overwrite the file on the user's PC.
No, If you are using ZIP file then it is necessary to keep the same filename otherwise it won't work. You can create an installer for an update if you like to change the exe name.
I don't include user.config in the zip.
You may need to upgrade it as suggested in this answer.
Would it be possible to integrate that into the package?
@AshotN It will be better to call it when your application starts.