.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Creating a Web Setup Project

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Hi all,

I have a sample Web Application Project and using Web Deployment Project i'm generating the precompiled version of that.

Now i want to create a WebSetup project in my solution using the Output generated by the WebDeployment project.

Please let me know how to achieve this.



View Complete Post

More Related Resource Links

Creating setup for VSTO 2008 project

Hi, I have developed an AddIn for Powerpoint 2003 using Visual Studio 2008, Now when I am creating the setup of the project and testing the deployment in other system this AddIn is not appearing, while the same is working fine in my computer, the values are also appearing fine in Registry Editors as in my computer for other computers. Also I am having an issue with PIA 2003, Please help me to workout for this issue

Creating Setup Project For Web Application Using VS.Net


I did all the steps needed in order to create a setup project for my web application :


File / New / Project' in Microsoft Visual Studio 2008. ----->'Other Project Types / Setup and Deployment' ---> 'Web Setup  Project'to the right.

assigned a name to the project ---> click ok ---> right clicked on the named assigned ---> add----> Project Output ---> the project output window openend but is empty !!!!! ???


help please !!!!!

Best Way to Upgrade Using Web Setup Project


Hi there,

I am using VS2005.

I don't have much experience with web setup projects, but I now need to create a decent windows installer in order to allow customers to install one of our web applications. I have created a simple web setup project and it works fine, but not when it comes to upgrades of the application.

If for instance I install version 1.0 on a machine, and then later I try to install version 2.0, I don't seem to have the control that I would like... I can specify in the web setup project that the installer must enforce an uninstall of previous version, but then all application files and logs are uninstalled as well. If I let the application just install itself over the older version, it seems to leave some old DLL's there - it then causes issues in the application because DLL version conflicts.

My basic requirement is that I would like th installer to upgrade the old version with all the files required, but leave any application and log files in tact - this way the customer won't have to reconfigure the application after install.

What is the best way to handle this?

Specify [TARGETDIR] in Setup project (msi) runtime


I am not sure if here is a proper place to ask this question. I look for other forums, and don't feel this question can fit in any. If this is not a correct place to post, I appologize. Please let me know where I can get answer for this question. Thanks.

Here is my question.

I wrote a website, and not I am trying package it with a setup program (msi), so I created a "Web Setup Project" and specify outputs as the standard tutorial on this. And then I'd add custom action to msi which modify Web.config file during msi installation. Output looks ok, but msi install the website under "C:\Inetpub\wwwroot" folder, and I don't have control on it. I followed an example (http://www.codeproject.com/KB/install/ChangeVDirWebSetupProject.aspx) use orca.exe to remove WEBCA_EvaluateURLsMB, WEBCA_EvaluateURLs and WEBCA_EvaluateURLsNoFail from corresponding tables in msi and provides TARGETDIR value while calling the msi file. And then I fall in a problem, either the custom action is not called any more or I get a error "Configuration file cannot be created".

How to launch EULA.rtf for the end user agreement before the winforms setup project (installer) actu

Hi, I am using Setup Project to create installer for my windows applcation. I need to have the user read and accept to the terms in EULA document. So this has to be displayed BEFORE the installer installs the applciaiton. I tried adding the EULA file via Setup Project-> Application Folder -> Add -> File -> EULA.rtf assuming that installer will identify the license file by default and display it before installing the app, but it did not. Please Help.   Thanks

Visual Studio Hangs when Creating a New Website or Project

Greetings, Just as the subject says, my VS'05 installation hangs when trying to create a new website.  I even installed a fresh version of VS08 along side '05 and '08 is doing the same.  Any ideas on a fix or where to look? Thank you in advance. 

how to attach sql database file to creating .exe setup in c#

I create a Setup file and put data folder, in data folder i put database file , but the problem is i have to mannualy attach database file in sql server 2005. I have to automatically attach database file when installing setup file.

web setup project failing

I am trying to create a web setup project for a web service.  When I run the installer, I get an "Installation Incomplete" dialog that says: "The installer was interrupted before ... could be installed.  You need to restart the installer to try again."  Any ideas on what is causing this or how to fix it? Thanks!

how to make a .exe file execute after installation of project using setup and depoyment project in c

hi all,   i am trying to execute a .exe file included in application folder of my setup and deployment project, such that it executes after installation of main project is complete.How to do this. plz help. thank u in advance. Raghu

VS 2010 - How can I integrate .NET 4.0 setup into my MSI project?

The main idea is to invoke & setup it in unattended mode. How is this done?

Search server 2010 setup - error creating search service application

I am running in a very similar siutation as this post:

I am configuring a new Search Server 2010 production environment.

I used the search setup account to run the setup and run the SharePoint Products Configuration Wizard.

During the first run of the SharePoint configuration wizard (where the farm account and service applications are setup), the process failed because the search service application could not be created.  

Errors were encountered during the configuration of the Search Service Application.
System.Data.SqlClient.SqlException: User does not have permissiont to perform this action.

I was under the assumption that the setup account had securityadmin and dbcreator SQL Server roles.  However, this was not the case and I had them added.  My original thought was the setup failed because of this.  After those roles were added, I tried to recreate the search service application and I still get a failure.

I am pretty sure I have followed the prerequisites as prescribed by Microsoft in terms of account setup (

Using WCF WF Service in a Web Project without creating a host



I have created a WCF Workflow Service Application which contains multiple WCF Workflow Services in it. And some of these services contain multiple Send-Receive activities in a flowchart/sequence.

In the same solution, I have created a Asp.Net Web project in which I have to use these WCF WF Services. In this Web Project, I added the Service Reference of the all the WCF Workflow Services that I have, but however when I try to invoke these WF services, it gives errors.

I went thru various samples and in every sample there is ServiceHost created which makes available an endpoint, and consuming the service using this endpoint makes everything working. Now my questions are:

1. Is there no way to make WF services work properly in a Web project without creating a WF Service Host??

2. I am also having problems in persisting a workflow. As I mentioned earlier, I have some services which have multiple send-receive activities in it so I need to persist the workflow instance until the complete workflow is complete. Again, I was able to do this using the Service Host, but how to do it without using a service host?


The problem is I have to host web application (and hence also the WF Services) on my Web hosting (GoDaddy) and on Azure Cloud and in both the cases I cannot create a separate Workflow Console Application that will work

Creating a new project



i am using VS 2008 profesional and   i am following this walkthourgh in VS2003


after create an asp.ent web service tells me to put in the  location  box http://ServerName/AuthorsWebService, but VS2008 does not allow me to do that i guess is because the walkthourgh is  VS2003, but there must  be a way to do it in this version of VS 2008

Thank you in advance

Luis Martin

Visual studio 2010 missing ajax and no web.config when creating new project



when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.

Then i noticed even that when i create new website, there is no web.config in it and it should be.


please help, this is urgent (can't do nothing without ajax)

.MDF file's Security permision is get changed after creation of Setup project - it become read only


To All


I have generated a windows application. I have used .MDF file. The project is working fine but when I have attached setup project to it and installed it.

The security permissions of .mdf file get changed and become read only not able to write/update.(When Setup project copying the .MDF file that time the permission of the .MDF file is get changed and become read only)

I am able to change the permission of .MDF file manually then after working fine.

But is not correct way of deployment So please guide me what should I do now so I can read, write and update properly. What code should i use/ technique should i use so I can do so.


I am using :

Visual Studio 2008,

C#.net 9,

dot net framwork 3.5 sp1

MDF FILE of Microsoft Sql server 2008 Express RC2

Missing "Include Content" checkbox when creating Project Workspace template.

I'm trying to use an existing project workspace to create a custom template. This workspace includes standard content that I'd like to include in the template for use in future project workspaces. However, when I go to "Save site as template" I don't get the option to "Include Content" like I see when creating a template for a site or sub-site. Any clue why I can't include content for a project workspace template? MOSS 2007.

Help deploying Windows Service to 64bit Server usinf Visual Studio 2008 Setup Project?

I have a Windows Service I created a while back for our Win2003/2008 32bit Servers, written in Visual Studio 2008, deployed via a VS2k8 Setup Project.  Everything works great, installs fine, and runs as it should.  There is no platform dependent code, it's all straight-up .Net Framework stuff, so we thought it should deploy to a Win2008 64bit Server just fine.  But this seems not to be the case.

When I try to install the Service as is on the 64bit machine, the service and associated DLL's are installed to the "C:\Windows\SysWOW64" folder, but when you right click the Service itself and look at the properties, it is trying to find the .exe file in the "C:\Windows\System32" folder. This difference prevents the service from running, obviously.

If I change the Setup Project settings, set the Target Platform to "x64" and change in the File System screen to use the "System (64-bit) Folder" placing the files in there and re-run the setup.exe on the server.... now the files are correctly installed to the "C:\Windows\System32" folder, but the Service itself is not 'installed', that is it *does not* show up in the Services Manager.

Just for the giggles of it I tried to manually install the service using 'installutil.exe' in the .Net Fra
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend