Last article we have seen Setup creation for Windows App with creating connection string now
We are going to see same concept in Web Application,which has WCF service.
Steps to Proceed
Step1: We need to create setup file for WCF service project with dynamic Connection string framing.
Step2: Creating another setup for Web Application which need to consume Service url of WCF for Communication between WCF service and Web App
Setup creation for WCF project
Preliminary Information for Setup creation
- For basic information regarding Adding setup project,Input rendering ,Connection string framing refer this article
Customizing Installer to Create Connection String
With this we will take Instance name and Database name from user during Installation.
Adding Primary Output file
Here we need to select both primary out file and content files,set all copy to local property to true for all dlls.
Adding Custom Action Data
In this step we are passing the input connection string parameters