web-setup-project

Where has my user installed my web setup project?

I have a web setup project, and a web service project in visual studio 08 In my web setup project i allow the user to choose his virtual directory name and by the end of the installation i have an installer class in my web service project that "wants" to do some stuff such as opening a web page with the web service home page installed. ...

Virtual Directory in Web Setup Project

I have a web setup project which by default shows the virtual directory in the textbox installer screen. I wish that the virtual directory name cannot be edited by the user and always defaults to the one I have setup in my msi. How can this be achieved? ...

Checking MVC.net is installed from Web Setup Project

Hi, Does anyone know of an elegant way to check form a web setup project (as a pre condition maybe?) that MVC.net is installed on the target machine? Is the registry the best way? Or a windows installer search? Many Thanks, ...

desktop shortcut icon not showing in web setup project

i've created a web setup project and i wanted it to create a desktop shortcut to the web application (ex: http://localhost/xx/yy.aspx). up to this point it was pretty easy: i created a shortcut (doesnt matter where), gave it the url i wanted, added this to the User's Desktop special folder of my web setup project, and it was placed on th...

Installer class apparently not being called

I'm following this tutorial for customizing a web setup project. http://msdn.microsoft.com/en-us/library/aa289522%28VS.71%29.aspx However, I'm working with a web application I already have in visual studio. So part of their solution is to create an installer class in my own web project. When i choose "add new item" I actually don't see ...

How to affect configuration of IIS properties using Web Setup Project in Visual Studio 2005

I just built a setup.msi file using the Web Setup Project template within Visual Studio 2005 to deploy my web application to another web server. While it works OK, it results in a new virtual directory on the target webserver that requires a fair bit of custom (i.e. manual) configuration steps using INETMGR on the target webserver. I'...

Production application referencing development directories

I am building a web application with .NET 3.5. I have several class library projects being referenced by my web forms. I am deploying using a web setup installer. When I install the application and hit the opening page, I get null pointer exceptions to some (not all) of the objects in my class library. Looking at the stack trace re...

How do I use my login rather that my machine name with Windows Authentication to a SQL Server under Web Setup?

I've got a Web Setup project installing a web app. In a Custom Action, I'm executing a SQL script to build a database. Simple, mostly MS sample code. Works fine. private void ExecuteSql(string serverName, string dbName, string Sql) { System.Data.SqlClient.SqlConnection masterConnection = new System.Data.SqlClient.SqlConnection();...

Create Simple Web Setup

Hi, i want to create a setup which Install dll files from server to client machine and register it. thanks, prabhat ...

How to modify folder permissions in a web setup project?

I am using a web setup project to install my ASP.NET app which needs to write to a folder that exists under the main virtual directory folder. How do I configure the setup project to grant the ASPNET user permissions to that folder? ...

Web Setup Project - Repair to overwrite files

Hi, I have a web setup project that creates an MSI. After first installation, my web site has some config files that can be modify manually. When triggering that MSI again, I am offered to repair the installation, when I select to do so, the installation runs, but the config files that were modified previously are no replaced with def...

Visual Studio MSI Installers

I have an Web Setup Project Installer and I would like to default the site and the Application Pool that is selected during the install process. Also I would like to have the name of the product append the current version number during the build process of the installer. Any help would be greatly appreciated! Thank you ...

ASP.NET project installer registry key ?

I have a asp.net project, and wrote a web installer. The setup exe/msi copies that project in directory chosen by the installing user, and creates an application for it. How can I get the path my asp.net application got installed to (in the installer)? I want to write the physical path of my ASP.net application into the registry, becaus...

Setup project not registering in registry

I have a VS Web setup project. I want to register the physical path of the application. In the setup project, I created a new key in HKLM, named Software, then I created a new key named "MyCompany", then in the mycompany key, I add the key Installation Folder with value [TARGETDIR]. But when I try my installer, and go to regedit after...

Visual Studio Setup project sequence control

Can I run several installers from one installer in a defined succession? I have a webproject which requires a windows service, which requires a 3rd party converter product. So I have a WebProject installer which should run itself first (the webproject), then it should run a 3rd party installer and after that the windows service install...

How to create new website in IIS using Web Setup Project in Visual Studio 2008 SP1

Hi I have a Web Application Project and a Web Setup Project in my Solution. When I run the MSI created by the Web Setup Project it only gives me the option to use an already existing website in the IIS on the local machine. How can I get the installer to give me the option to create a new website in IIS? Thanks ...

Creating a "merge module" for a web project.

My group uses merge modules on various projects which is then added to a setup project. This simplifies deployment by having only one .msi for our entire suite of functionality and allows us to have one entry under Add/Remove Programs. I cannot find a way to do this with a web setup project given there is no "Web Setup Merge Module" pr...

Using the Microsoft Ajax Minifier with Web Setup project & Source Control

I've just started investigating the Microsoft Ajax Minifer 4.0 for use with a Visual Studio 2008 Web Application I work on. It's proven easy enough to hook it into the .csproj file so it produced .min.js files for all scripts, however I'm stumped as to how to integrate this with the Web Setup project & Source Control. Essentially what I...

Selecting the App Pool for a web custom folder in a Web Setup Project (Visual Studio)

I've got a Web Setup Project in VS2008 that is taking the files for two web applications and turning them into a single setup package. This works and I have got it asking for the user to select the application pool but the application pool is only being applied to the project sat in the Web Application Folder and not the one in the Web C...

How to package website and database projects

I am using Visual Studio 2010. I have a solution that has 2 SqlServer Database projects and Web application projects. When I build each of these projects they generate SQL scripts and zip files for websites that can then be imported in IIS with MSDeploy. I want to create a setup project of some sort that will package these sql and zip f...