Questions tagged [setup-project]

Programs used to create installers are generically called setup projects. In most cases you are probably using a tool (on Windows examples are Visual Studio, InnoSetup, WiX, Advanced Installer, Wise, InstallShield) to create the setup, so a more accurate and useful tag would be one for that specific tool.

Because the requisite process varies for each program and each computer, many programs (including operating systems) come with a general-purpose or dedicated installation program called an installer–a specialized program which automates most of the work required for their installation.

The program which create installer are setup project.

1630 questions
88
votes
14 answers

"Unable to update dependencies of the project" after committing to Subversion

I have a setup project in .NET. When I save the project and the other projects to subversion, the setup project no longer compiles. I get the error "Unable to update dependencies of the project."
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95
83
votes
10 answers

How to install a windows service programmatically in C#?

I have 3 projects in my VS solution. One of them is a Web app, the second one is a Windows Service and the last one a Setup project for my Web app. What I want is by the end of the installation of the web app in my setup project, within my custom…
61
votes
8 answers

Visual Studio Installer > How To Launch App at End of Installer

This is probably a stupid question and my Googling just is not functioning today. I have an application I added a Visual Studio Installer > Setup Wizard project to. I am wondering how to add a button or check box that would launch the application…
ThaKidd KG5ORD
  • 1,535
  • 3
  • 24
  • 38
56
votes
8 answers

Run exe after msi installation?

Using Visual Studio 2008 to create an msi to deploy my program with a setup project. I need to know how to make the msi run the exe it just installed. A custom action? If so please explain where/how. Thanks.
42
votes
3 answers

Advertised shortcuts vs. non-advertised shortcuts in windows setup project

I cannot understand what is exact consequences of using attribute Advertise in Shortcut attribute. What is the diffirence?
fakir314
  • 592
  • 1
  • 4
  • 12
40
votes
10 answers

IntelliJ IDEA not showing my module/project

Suddenly, IntelliJ IDEA is showing the following module view with a strange yellow colour in the background. I don't know how to get my module back, because it is not being shown: Do you know how can I see my project folder back? Thanks
39
votes
4 answers

How to run a ".bat" file during installation?

In a Setup project the executable files such as ".exe , .dll , .js , .vbs" are acceptable but there is no way to run a .bat file in a Custom Action. The question is how to run the *.bat files during installation?
33
votes
5 answers

DragDrop registration did not succeed in Setup Project

We have some installation project in Visual Studio solution (Other project types -> Setup and deployment -> Setup project). This project has another library type project with Installation class named InstallationCore like project output. In user…
rodnower
  • 1,365
  • 3
  • 22
  • 30
32
votes
9 answers

Installer won't overwrite existing app

I have a Visual Studio 2010 solution with 8 projects. It also has a Setup project which I build to create the installation. It works fine when it's the first installation on a client PC. However, I then modify my project, and build a new Setup, and…
Craig
  • 18,074
  • 38
  • 147
  • 248
29
votes
7 answers

How to include version number in VS Setup Project output filename

Is there a way to include the version number as part of the output.msi filename in a VS2008 Setup Project? I'd like for example an output file called: "myinstaller-1.0.13.msi" where the version part is automatically set based on the version number…
chardy
  • 1,233
  • 1
  • 10
  • 18
28
votes
1 answer

How to add Licence agreement in the setup project

I wish to add a licence agreement to my setup files (using setup project) If the user does not accept it, the setup should be cancelled. How to do it?
Furqan Sehgal
  • 4,917
  • 33
  • 108
  • 167
28
votes
8 answers

In a Visual Studio setup project, How do I generate an uninstall script?

I have a Visual Studio setup project. Upon installation, it creates an uninstall batch file in the application folder. IF the user wants to uninstall the product, he can go to "Add/Remove Programs", or he can just double-click the uninstall.cmd. …
Cheeso
  • 189,189
  • 101
  • 473
  • 713
27
votes
1 answer

Use Visual Studio Setup Project to automatically register and GAC a COM Interop DLL

I've created a .NET assembly for COM interop and it is working well on my development machine. I'm currently trying to figure out how to deploy the DLL to a target machine using Visual Studio's "Setup Project." How can I use the VIsual Studio…
Ben McCormack
  • 32,086
  • 48
  • 148
  • 223
27
votes
3 answers

Duplicate messages in output when building VS 2013 setup project

I have a VS2013 setup project that builds the setup that installs the exes produced by two C# projects. When I build the setup project I get duplicate messages as if there are two build processes. I removed one of the two exes from the output of the…
boggy
  • 3,674
  • 3
  • 33
  • 56
26
votes
2 answers

WiX SetProperty - What are the possible values for Before/After attributes

Don't know why but I'm finding it difficult to track down what standard values could be used for the Before or After attributes of a WiX SetProperty declaration. I'm aware of the following two, but I'm looking for a much more exhaustive…
Jaans
  • 4,598
  • 4
  • 39
  • 49
1
2 3
99 100