How to Create a Web Setup for Your Published Web Service
You can create an installation package to facilitate setting up your Web service in a production environment. This produces an .MSI file.
To create an installation package to produce an .MSI file using Visual Studio
Open your published ASP.NET Web service project.
In Solution Explorer, right-click the solution node, click Add, and then click New Project.
In the Add New Project dialog box, in the Project Types area, expand Other Project Types, expand Setup and Deployment Projects, and then select Visual Studio Installer. In the Templates area, select Web Setup Project.
In the Name text box, type a name for the Web Setup Project. You can use the same name as the ASP.NET Web Service project and add "_Setup" as a suffix and then click OK.
In Solution Explorer, right-click the newly created Web setup project node, and point to View, and then click File System.
In the File System window, right-click the Web Application Folder node and point to Add, then click Project Output.
In the Add Project Output Group dialog box, select Primary Output and Content Files from the ASP.NET Web Service project and then click OK.
In Solution Explorer, expand the Detected Dependencies node under the Web setup project.
Select all dependencies. In the Properties window, set the Exclude property to True.
Build your Web setup project.
Note
For more information about creating Web setup projects, see "How to Create or Add a Web Setup Project" in the Visual Studio Help Collection at https://go.microsoft.com/fwlink/?LinkId=62268.
See Also
Deploying Published Web Services on a Non-Visual Studio Computer