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
16
votes
3 answers

What is the standard way to organize Android code in project

I'm new in android, I want to know what is the right way to write a code in an android project or which architecture or model should we use in our project example n-tire, MVC or other?
Mobi
  • 645
  • 3
  • 6
  • 14
15
votes
3 answers

Visual Studio 2010 - RemovePreviousVersions

I have a Visual Studio 2010 Deployment Project with the following settings: DetectNewerInstalledVersion = True InstallAllUsers = True RemovePreviousVersions = True The project I am building has several DLLs that due to the legacy way that…
Seph
  • 8,472
  • 10
  • 63
  • 94
15
votes
4 answers

Setup App.Config As Custom Action in Setup Project

I have a custom application with a simple app.config specifying SQL Server name and Database, I want to prompt the user on application install for application configuration items and then update the app.config file. I admit I'm totally new to setup…
Mark Koops
15
votes
1 answer

Visual Studio 2010 "Setup Project" registry editor doesn't work

I have an installation project that needs to add 1 simple string to the registry, and the built in Registry Editor in the Setup Project doesn't seem to work at all. It puts a base key HKEY_LOCAL_MACHINE\Software\[Manufacturer] by default into the…
Ultratrunks
  • 2,464
  • 5
  • 28
  • 48
14
votes
5 answers

Visual Studio Setup Project conditional if File Exists

I have a Setup/Deployment Project for my Application and it outputs certain files (*.dll, *.dat) to the Application Folder. I would like a condition to be set to check if a file currently exists or not. If it doesn't, write it but if it does, don't…
mastofact
  • 540
  • 1
  • 6
  • 23
14
votes
3 answers

Correct way to uninstall a Windows service?

I've got a windows service, built using C#, that is installed via a VS2008 setup project, and am having a couple of problems occurring with the uninstall process: Service is not stopped prior to uninstalling When the uninstall routine runs, it…
Mun
  • 14,098
  • 11
  • 59
  • 83
14
votes
2 answers

What is the difference between setup project and setup wizard?

For a winform application I have to create an installer project, here is what I have as choice: What is the difference between Setup Project and Setup Wizard ?
Giu
  • 1,832
  • 2
  • 16
  • 31
13
votes
1 answer

.net Setup Project: How to pass multiple CustomActionData fields

In a .net "Setup Project", it is possible to add one or more custom screens in the setup wizard, with fields (e.g. text boxes) where the user can enter additional installation parameters. A custom field can then be passed to a "Custom Action" class…
byneri
  • 4,050
  • 5
  • 27
  • 28
13
votes
1 answer

difference between windows installer 3.1 and 4.5 While creating SetUP Project, which one to select when

I am Creating SetUp Project for Win App. in VS2010 Framework 4.0 Now While selecting Prerequisites ( from Project properties win ) I have Microsoft .NET Framework 4 (x86 and x64) as per my project Requirement. Now I am confused with Wind Installer…
BJ Patel
  • 6,148
  • 11
  • 47
  • 81
13
votes
1 answer

Specify Windows Service Name on install with Setup Project

Objective: In support of a Windows Service that may have multiple instances on a single machine, use a Setup Project to create an MSI capable of: Receiving user input for Service Name Installing service Serializing Service Name from 1 (so that the…
sympatric greg
  • 2,969
  • 2
  • 24
  • 29
12
votes
2 answers

How can I create a windows installer MSI that does not require admin access

I've created an MSI windows installer that installs a plug-in which I wrote for a piece of software used at my office. However, a number of users here don't have admin rights to their computers, and IT is getting frustrated having to install the…
Eric Anastas
  • 21,675
  • 38
  • 142
  • 236
12
votes
1 answer

How do I add a EULA to a VS2008 setup project?

This is a very simple question with a simple answer, but it is not quite so simple to find the answer on the internet. I have a simple Setup (deployment) project in Visual Studio 2008, and I have the EULA text. What do I need to do in the project…
Chris Ammerman
  • 14,978
  • 8
  • 41
  • 41
11
votes
5 answers

How Add a COM-Exposed .NET Project to the VB6 (or VBA) References Dialog?

I have created a .NET assembly that is exposed to COM according to the exceptional article Build and Deploy a .NET COM Assembly by Phil Wilson. And everything works fine in the sense that the .NET assembly is properly registered for COM, and…
Mike Rosenblum
  • 12,027
  • 6
  • 48
  • 64
11
votes
1 answer

Setup projects on Visual Studio 2022

In Visual studio 2019 and earlier versions Setup projects were part of the project templates I could add to any solution. Now I've tried to open an old solution in VS 2022 and it says there is no compatibility for this kind of project. Is that so,…
Antonio Rodríguez
  • 976
  • 2
  • 11
  • 25
11
votes
2 answers

node: should package.json be in the src folder or in the parent folder?

I don't know if there's a recommended or standard approach, but I saw examples like this: my-project package.json src index.js [...] and like this: my-project src package.json index.js [...] What is the recommend way to…
opensas
  • 60,462
  • 79
  • 252
  • 386