Questions tagged [deployment-project]
50 questions
25
votes
5 answers
Installing a new version of a deployment project over old version
I have a deployment project which will not let me install over an older version. The msi file says to uninstall the program first from Add/Remove programs. This is not a good user experience. How can I do it so that the installer will simply remove…

sbenderli
- 3,654
- 9
- 35
- 48
14
votes
3 answers
how to manually remove MSI installation?
I am learning VS 2008 setup project to create install for our C# application. I made a mistake trying to delete the exe itself during the uninstall. Now I manually deleted the exe file but the entry still in Add Remove Program list. I try to install…

5YrsLaterDBA
- 33,370
- 43
- 136
- 210
12
votes
8 answers
Project dependency missing in deployment project
I've got a VS2008 deployment project that builds an installer for a couple of Windows services.
Each service references several different projects:
CustomerName.MailSendingService
-> CustomerName.Network
-> CustomerName.Data
->…

Joseph Anderson
- 2,838
- 2
- 26
- 26
10
votes
2 answers
Deploying a Web Application using Microsoft.Web.Deployment
I've been able to place files on my IIS server using Microsoft.Web.Deployment code:
DeploymentSyncOptions syncOptions = new DeploymentSyncOptions();
DeploymentBaseOptions sourceBaseOptions = new…

agrippa
- 379
- 5
- 19
6
votes
1 answer
Building Visual Studio Deployment Project (.vdproj) through the command line
I have a deployment project deployment.vdproj to which I have added the project output of project.csproj. I want to build deployment.vdproj through the command line. But while doing so I need to specify a property (/p:) for project.csproj. How do I…

Poulo
- 1,551
- 3
- 14
- 22
5
votes
4 answers
.Net Deployment Project's Detected Dependencies magically un-excluded
I have a Visual Studio 2005 .NET solution that has 20+ sub projects including a deployment project. The VS2005 .NET deployment project has a number of detected dependences, that have been manually excluded and corrected values manually added…

BrianH
- 1,082
- 1
- 16
- 23
5
votes
4 answers
HRESULT = '80004005' in Visual Studio 2008 Setup Project
When I try to build my setup project, I get the following error: "An error occurred while validating. HRESULT = '80004005'" (And Microsoft wins an award to clarity.)
I Google to find that a small army of developers have had the same problem. …

Yerg
- 277
- 1
- 3
- 8
5
votes
2 answers
How to show application version in VS.NET Deployment Project?
I have set up a Deployment Project for my application. The problem is that I want to show application version (eg. MyApplication 1.2.3.1) during installation so the user can see the version before installing.
The only way I can think of is to…

Zefo
- 217
- 1
- 3
- 7
4
votes
2 answers
Install directory from deployment projects
I'm developing an application and I'm going to deploy it with the help of a deployment project (which is gonna create an installer).
At one step in the installer, it will allow the user to change the installation folder for the application.
I need…

Alex
- 7,432
- 20
- 75
- 118
4
votes
1 answer
Deployment Setup (.Net) - Search target machine -> Registry search (64 bit)
I have a windows installer project which installs some software (winform, service, mce addin). During the installation I need to search the machine for a registry key. This is done with with the "Launch Condition" -> "Add Registry Search"…

Joonas Kirsebom
- 109
- 1
- 10
4
votes
5 answers
Dynamically add files to visual studio deployment project
I've been desperately looking for the answer to this and I feel I'm missing something obvious.
I need to copy a folder full of data files into the TARGETDIR of my deployment project at compile time. I can see how I would add individual files (ie.…
Graeme Yeo
3
votes
2 answers
Inline script task Powershell/ batch in bamboo deployment project does not fail the deployment project when errored out or during any exceptions
I am using below script to connect to remote server and shut the cluster service and then deploy packages.
This is cluster service shut down script.
$SvcName = '${bamboo.ServiceName}'
$SvrNames = '${bamboo.deploy.hostname}'
#$SvcName = "'" +…

rambok
- 49
- 1
- 5
3
votes
1 answer
Can a ClickOnce deployed app be silently mass installed?
I have a smart client app (WinForms/WPF) currently deployed using ClickOnce.
A particular client has expressed the desire to silently deploy the app to it's intranet network users as part of its nightly/weekly client PC update service - presumably…

Reddog
- 15,219
- 3
- 51
- 63
3
votes
1 answer
How can I centralize an entire website engine?
Prefer responses via php or ROR if possible!
Example:
The slide widget at www.slide.com can
be deployed anywhere on the web. But
the slide developers have
centralized edit capabilities to these
widgets. A change to the widget core,
will…
Jade
3
votes
1 answer
Get the name of the current msi installation file from an Installer class
It is possible to get the name of the current installation file (.msi) from the Installer class of custom action ?
I need something like this:
[RunInstaller(true)]
public partial class ProjectInstaller : Installer
{
public ProjectInstaller()
…

Riccardo Bassilichi
- 939
- 12
- 21