Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 02, 2013 07:56 AM by zeeshanfawad
Dec 18, 2012 12:50 PM|LINK
I want to create a setup project, which creates Databases in SQL server 2008,
deploy wcf web service in IIS7.0, Windows service and
Website. Can anybody help me that how i can create a deployment package for all of them in a single exe file. Waiting for you quick response. Thanks in advance.
Dec 22, 2012 09:27 AM|LINK
First your need to take both the service and Web Folders(aspx Pages) for deployment.
Step 1: Take WCF Services deployed folder, and create the Virtual Directory in IIS7.0, then root the WCF services folder with this directory then convert it into as applcation.
Step 2: Now, add the service file(.svc extension file) in the Default document for Virtual Directory. and then go Manage application-> then Browse. Now you will get the Service URL, Copy this URL
Step 3: Then you need to createt he virtual directory for your web folder and Default document, add your Login page or starting page of your web page
Step 4: Then open the webconfig(Web Folder) file and paste the URL in Endpoint address, like which is given below, and save
<endpoint address="ENTER THE COPIED URL HERE"
contract="Inspace_CRM_ServiceReference.IInspaceCRMService" name="BasicHttpBinding_IInspaceCRMService" />
Step 5: Then Browse the page, Now your application will work
Please follow the above steps and let me know if you have any questions
Jan 02, 2013 07:56 AM|LINK
Thanks for your response. Yes we can deploy them manually. But my question is that how i can deploy them using setup project? I want all of them in one setup projects.