I am new to sharepoint. I have to deploy an application from one server to another server (Test Server). Now I am using solution package to deploy the application. I have one problem in Deploying. In the web.config of the application there are entries like appsetting entries, safe control entries, endpoint entries for our own services and lot others. Currently I am doing it manually. Only safe control entries are updated in web.config file through manifest.xml, but I don't know how to update for other entries. Please help me on this problem.
I have one more problem too. I have to make something like click once deployment. How can I do it? Can I deploy the application with changed web.config like an installer?
Thanks in advance.