This seems a config issue: be sure to not include any configuration file that might overwrite your application settings.
I had probably the same problem in my very early update projects, let my known if this is the case
In the past I used Inno Setup. But been testing AutomaticUpdater for my c# application.
I'm not quite sure what's going on so I apologize for the lack of the details. 😳
Basically my application has a ConnectionString setup to connect to a MySQL DB. After the application updates, and restarts, I am no longer able to connect to my database. There are 5 different connectionStrings I'm able to select within the application but none of them will connect if it updated from wyUpdate. It will only work again if I run my setup from the Inno Setup.
Not sure what I'm missing.
This seems a config issue: be sure to not include any configuration file that might overwrite your application settings.
I had probably the same problem in my very early update projects, let my known if this is the case
All I'm sending through the autoUpdater is the app.exe file. I'm not using a config file.
in my application I update the connectionString with:
Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
AppSettingsSection appsettings = (AppSettingsSection)config.GetSection("appSettings"); appsettings.Settings["MySQLConnectionString"].Value = connValue; config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
wyBuild doesn't do anything with configuration files unless you tell it to. This is a bug in your app.