Ideally, when updating versions, the installer should not overwrite the existing appsettings.json file unless there's a specific reason to, such as when new configuration settings are added to the application or when the structure of the configuration file changes. If possible, add intelligence for tracking a "configuration version" of the file to WiX and dynamic behavior to only overwrite the file when it changes.