setup-project

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...

Patching an MSI created with Visual Studio 2005 Setup projects .vdproj

Folks, What should be the process of patching an MSI file that was created by VS 2005 using the setup projects ? I need to create an MSP file that will replace a few files only; is this doable via VS or any other tools ? ...

VS 2008 MSI Installer: Context.Parameters["TARGETSITE"] empty when repairing

Hey folks, i created a web setup project in vs 2008 and added some custom actions. While installing i get the default forms (apppool, appname, website), some pre-defined custom forms and some selfmade custom forms. Now while installation i add some data in the registry. I have only one problem: TARGETSITE property. This property is fil...

Creating One MSI for multiple project

I have 2 projects. I want to create ONE single MSI setup package that will install both of those projects. In My Application Folder I have created 2 subfolders (Project A and Project B folder). So after the install, the project ouputs will be in Program Files\MyProduct\Project A Program Files\MyProduct\Project B The problem I am havi...

Visual Studio Build Fails on Configuring SQL Server 2005

I'm trying to build a setup project in Visual Studio 2005, and it is failing every time, after opening a dialog box labeled Microsoft SQL Server 2005 Tools and configuring for a few minutes. The Microsoft SQL Server 2005 Tools dialog then launches a dialog with the text Failure creating local group SQLServer2005NotificationServices$COMP...

How to move all referenced DLLs into seperate folder in c#?

Hello, I have a solution with 3 projects in it. 2 of the projects are referencing log4net, and a couple of others DLLs. When I create the install package and add project output for each of the projects - it drops the DLLs into the main "Application Folder". If I drag these DLLs into a seperate folder I've created in the Setup Project,...

.NET Setup Project Remove Installtion Folder On Uninstall

I have a .NET setup project that installs and uninstalls my application fine but on uninstall it leaves the installation directory behind. How can I delete this folder during/after the uninstall? UPDATE: My application creates a cahce file in this directory when it runs which looks like the reason the folder is not removed during the u...

How to make a System.Configuration.Install.Installer to get a variable from the Setup project?

I have 2 projects in my solution A Windows service Its Setup project I need that my ProjectInstaller : System.Configuration.Install.Installer's method called OnAfterInstall to get the ProductName from the Setup Project. How do I do that? ...

How a System.Configuration.Install.Installer instance can get the destination folder?

When my ProjectInstaller : System.Configuration.Install.Installer is called by the Setup project the current path is c:\windows\system32. How can I get the path where the application is being installed without hard coding this to the project ? (the destination path is something like c:\program files\[manufacturer]\[service name]) ...

Customize setup wizard

How can I customize the setup installer with my custom dialogs? I am using the Setup Wizard Project. ...

Customizing the VS 2008 Setup Project Uninstaller

Hi, I have a setup project for my .NET application, and both install/uninstall are working just fine, if they are left alone while they work. However, if someone cancels the uninstall while it is processing, the rollback doesn't seem to be handled correctly, and upon trying to uninstall again at a later time, the user is greeted with a...

How rallback in Setup Project

I created Custom Dialog in Setup Project and want rallback installation when user click on the Cancel button of my Dialog, but RollBack(stateSave) function don't affect. Have you any idea about this? ...

.NET Setup Project - Changing Registry Settings

I have a class that modifies the ProxyEnable and ProxyServer registry keys of Internet Settings. If I use this class in a Console App and run it the value are changed and I can see the changes using regedit. Now the part that doesn't work is I am trying to use this class in an Installer class so that the registry keys are changed duri...

DLLs not being found in .NET project

I have a project that uses a few 3rd party DLLs, and am working on the setup project for deployment. The program runs fine when running (debugging) from within Visual Studio 2005, but does not when "installed". The DLLs get copied to the application folder correctly. My understanding is that the DLLs are not being registered by the in...

Setup/Install project checks for a previously installed project before installing?

Is there a way for my setup/installer poject to check that another program is installed on the machine before proceeding with the install process? I am using Visual Studio 2008. ...

how to include FrameWork & sqlCE in my program installation ?

hi i build C# program for Windows CE how i can make that the FramWork 3.2 & sqlCE will combine to the Setup of my program ? thank's in advance ...

How can I lift the requirement to uninstall before installation of a .NET application built with Visual Studio?

Is it possible to build an installer in Visual Studio that will not require the application to be uninstalled prior to installation? (Assuming the application was already installed.) I use a Setup project in Visual Studio to create an installer for my Windows Forms (.NET) application. If the application has already been installed then t...

Can a Visual Studio Installer remove a program installed by a non Visual Studio Installer?

I released a beta version of a dll driver a while ago that used a script based installer called Inno Setup, which did three things. 1) copied the dll file to a specific directory on the target file system 2) performed COM registration 3) executed a custom registration method that is contained in the dll For the next release of this s...

Automatically Start Windows Service on Install

I have a Windows service and an MSI installer (setup project) for it. The setup project has custom actions for install and uninstall with args of /install and /uninstall respectively. I would like the service to start immediately after the install. All my service does is starts a process. When the service is stopped, it does process.Clo...

.Net: Adding files and folders to SETUP Project programmatically

So, here is the scenario: I want to create a installer which would just dump few files and folders at a location specified by user. But the problem is these files are required to be picked up from a fixed source folder and then the installer is build. Also, these files may change any time and then again a new version of t...