The Mattermost desktop application opens using the configuration file provided
Observed behavior
The Mattermost files are being created with the first execution of the application, rather than with the installation, so the configuration file provided is overwritten with a default one.
Additional info
It seems that this doc is outdated, it also indicates that the silent flag is --silent instead of /S (version 4.3.1)
It would be nice to avoid the creation of the configuration file if it already exists. This would solve this issue and also allow us to keep the user configuration during the upgrade of a previous version.
This issue happens with both, .exe and .msi installer.
I have shared your observation in regards to the desktop app deployment to the apps team and I would recommend you to join the Desktop App discussion to keep yourself on top of any updates from them. Feel free to share any additional thoughts that you have there. Thanks.
Since we added URL validation, that also might fail on the teams configuration.
Since that is specific to user configuration, may I know if we can get access to your config.json file to see if it’s covered by one of the two options above or if it is indeed a bug because it’s not covered by the above options? Please remove any sensitive information such as password from it before sharing it here. Else, you can do it directly to the thread I made here. Thanks.