I have the following requirements:
- On install, copy web.config from the installer to the filesystem.
- If the web.config file already exists do not copy the file from the installer
- search for connection strings (there are 3) and update them using XML edit
I did this by adding the web.config as a normal file but to not overwrite if it already exists.
Then I added the web.config file again as an XML file.
However, the existing file never gets updated.
FOLLOW US
Get the latest news in Application Packaging