I have got a scenario :
There is a config file which the installer installs and configures the values in the files based on property variables.
Now after installation the User might configure some settings in the config file. And it gets encrypted with few new values in the complete section.
The issue im facing right now is during upgrade. The config file might change (New settings included in the config file) but the installer has to retain the old values in the config file and include in the new file.
Suppose my installed file looks like :
<add name="test" connectionString="test" providerName="test" />
And after installation the user configurations changes the connectionstring and it gets encrypted and it looks like this:
So I need to update the new web.config file which is modified during next release version with these values.
Any help would be appreciated.