Hi. I need to deploy a custom configuration file to the WSS 3.0. As I have read, there are 2 approaches:
Deploy the configuration file to the 12/CONFIG folder and then use stsadm -o copyappbincontent command. Adv: Suitable for large files. Disadv: All web applications deployed on the server will receive the merged web.config.
Use SPWebConfigModification class and using c# code add the required elements. Adv: We have the control over the web application where we want to deploy the configuration data. Disadv: Cumbersome in case we have large configuration data.
In my case, I have a large block of data that has to be deployed. I want it to be deployed to a certain web application, NOT TO ALL of them. How can I do this using the first approach?