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
4
votes
1 answer

Why does Visual Studio 2008 always build a setup project even when it is up to date?

For normal source code projects, when you ask Visual Studio to build the project it will only build it if it is considered out of date. (The documentation for the /build command line switch confirms this.) However, for setup projects it seems that…
Holistic Developer
  • 2,458
  • 1
  • 18
  • 27
4
votes
4 answers

visual studio 2010 setup project - why can't create empty folder?

Im trying to create empty folder in application folder. I created a folder in Setup project, but when im installing, the folder is not being created. I assume its because its empty. Is there a way to create it still/
eddyuk
  • 4,110
  • 5
  • 37
  • 65
4
votes
1 answer

How to create a Visual Studio Setup Project registry value with the application install path?

I have a very simple application installer that needs to add an action to the shell menu of all files (HKCR*\shell), and I've run into a brick wall: how do I insert the installed path of the application into a registry value? I've tried everything…
Alex Lyman
  • 15,637
  • 3
  • 38
  • 42
4
votes
1 answer

Visual Studio Setup Project MSI without Add/Remove entry

I am using a Visual Studio Setup Project for deployment. This may sound like a no-no but I have a specific requirement for the uninstaller not to register in the Add/Remove Programs. Is there something I can do to prevent Setup from registering its…
wpfwannabe
  • 14,587
  • 16
  • 78
  • 129
4
votes
2 answers

Visual Studio Setup Project - exclude web.config file if exist

How can I exclude web.config (or app.config) file in visual studio installer if it already exist on target machine (and folder)? Normally, web.config and app.config file contains configuration information related to the particular customer. If they…
4
votes
5 answers

Getting Content Files and Primary Output programmatically

For some reason, we have a script that creates batch files to XCOPY our compiled assemblies, config files, and various other files to a network share for our beta testers. We do have an installer, but some don't have the permissions required to run…
Chris Doggett
  • 19,959
  • 4
  • 61
  • 86
4
votes
1 answer

InnoSetup MsiQueryProductState

I want to replace the VS setup by the Inno Setup. Do check if an old version is installed i found the 'MsiQueryProductState' method. I found several examples looking like this: function MsiQueryProductState(ProductCode: string): integer; external…
Freddy
  • 693
  • 2
  • 6
  • 12
4
votes
3 answers

Ensure required install actions for a dll are executed without duplicating code

I have a c# solution with two regular projects and a setup project. One of the regular projects is an executable, while the other is a dll, that I also use in other solutions. The dll project relies on there being a certain event log source, that it…
Boris
  • 5,094
  • 4
  • 45
  • 71
4
votes
1 answer

VS Web Setup Project alternatives?

Can anyone recommend a better installer for web-applications? What do you use to deploy/install your web-apps? PS. What I personally dislike about "Web Setup Project" is that it requires the "IIS 6.0 Management Capability Feature" to be present on…
Alex from Jitbit
  • 53,710
  • 19
  • 160
  • 149
4
votes
2 answers

How to setup i18next with Next.js 13^ for server and client components

Next community, I am having trouble configuring my internationalization with the brand new Next.js13 I am also using i18next. I kindly ask for your assistance and may be few examples of a working setup. This is what I have tried so far (I am using…
4
votes
3 answers

Netbeans 7: How to create Java project from existing source correctly?

Starting with the following file structure: doc/ lib/ src/%java-like structure% test/%java-like structure% build.xml I want to create a new Netbeans project (inside this structure), using the existing build file sources libraries other files With…
user905686
  • 4,491
  • 8
  • 39
  • 60
4
votes
2 answers

Copying files to remote server with a Setup Project

I am trying to create a setup package that not only installs our app but also copies files to a remote app server and installs a service there. I thought that I would just override the install method in a custom action to have it kick off a…
Rob Brenan
  • 85
  • 2
  • 7
4
votes
5 answers

Force remove the user.config during uninstall?

how do i code the custom action during the uninstall? Would it require a batch file? thanks!
Martin Ongtangco
  • 22,657
  • 16
  • 58
  • 84
4
votes
0 answers

How to install WorkerService in C# and .Net 5

Previously (before .net 5) we could add a custom Installer which inherit System.Configuration.Install.Installer to our project, and then the Setup packet used it to install Service to windows. Now, there is no System.Configuration.Install DLL until…
Imran Sh
  • 1,623
  • 4
  • 27
  • 50
4
votes
4 answers

is not an App Engine project when attempting to deploy

I'm getting this error when I attempt to deploy my python project for the first time. I could have sworn that I set everything up correctly. Is there something I need to set in the configuration? I have not idea where to start looking, any help…
Chris Dutrow
  • 48,402
  • 65
  • 188
  • 258