I'm working on an installer for a website. The Installer will prompt the user for the web settings such as as various AppSettings. How would you recommend implementing this? Below I describe my initial thoughts but they seem over complicated !!!!
My first idea is to created the Web Deployment Project and create a web.config section overwrite file, and then using it in the usual manner to overwrite the web.config appSettings section at installation time.
Property Pages->Deployment section to "appsettings=appsettings.config"
Then to make this appsettings.config file editable by a Custom Action, create a Custom Action and add some TextFields and apply user data to the appsettings.config file.
Then add this Custom Action to the Setup Project.
this should result in the following scenario, the insaller appears, user enters data for the appSettings Values, these are written to the appsettings.config file, this file is then applied to the websites web.config and overwrites the appSettings.
This does seem like alot of work for something so small.. Is there another way???