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

Checking MVC.net is installed from Web Setup Project

Does anyone know of an elegant way to check form a web setup project (as a pre condition maybe?) that MVC.net is installed on the target machine? Is the registry the best way? Or a windows installer search? Many Thanks,
3
votes
3 answers

Will a VS2008 setup project update Net 3.5 SP1?

I just started using the WPF WebBrowser that is included in Net 3.5 SP1. I built my setup project (which I have been using prior to moving to 3.5 SP1) and installed it on a test machine but the WebBrowser was not available. What must I do to be…
Charley Rathkopf
  • 4,720
  • 7
  • 38
  • 57
3
votes
1 answer

VS2010 Setup Project Upgrade and Shortcuts

I have a VS2010 Setup project for a C# Winforms solution. Deployment of updates using incremental assembly versions and incremental setup version works great. The problem lies within the msi launch (from within the app), overwriting shortcuts, which…
Jan de Jager
  • 870
  • 2
  • 13
  • 35
3
votes
1 answer

Set app.config parameters from a Visual Studio 2008 Setup project

I have a WinForms application that uses a config file to specify where it's external files will be created. Is it possible to use the installer to question the user where the files should be located and add this value to the config file? It would…
TeamWild
  • 2,460
  • 8
  • 43
  • 53
3
votes
4 answers

Web Setup Project - Getting the Current Machine Name

I've got a web setup project with a custom screen in it that asks for a machine name. Is there anyway to prepopulate this field with the current machines name? For the case that I need it for just including "Localhost" does not meet my…
Shane K
  • 521
  • 5
  • 11
3
votes
1 answer

.Net Setup Project/Upgrades and maintaining separate versioned folders

I've seen several articles online where people show how to create windows setup projects, and then subsequently use the same setup project to deploy updates as in: Updates to setup projects. When performing this sort of install though, the previous…
mservidio
  • 12,817
  • 9
  • 58
  • 84
3
votes
2 answers

Setup/Deployment project: Prevent modified files from being removed when uninstalling

I have a setup project. If the user modifies one of the installed files and then un-installs the application, I'd like the file to NOT get deleted by the uninstall (so that when the user re-installs later, the modified file is used rather than the…
Jeb
  • 3,689
  • 5
  • 28
  • 45
3
votes
1 answer

How to create a folder under %allusersprofile% during Setup with VS 2003 Setup Project?

I need to create a folder under "%allusersprofile%/Program Data" during the install process. The Setup file is created with VS 2003 setup project, and in it you can use several Known Folders... but as I see none maps to %allusersprofile% or…
Romias
  • 13,783
  • 7
  • 56
  • 85
3
votes
3 answers

New MVC project

I just need some guidance. I'm fairly new to MVC3 and to web development in general. I want to create my own project that will involve data storage/access (SQL server db) and user log in functionality. I'm not sure were to start, there seem to be so…
mishap
  • 8,176
  • 14
  • 61
  • 92
3
votes
2 answers

Setup project wants to install .NET 4 twice

I have a simple setup project made in VS2010. One executable, a few dlls, very plain. I move my setup.exe and .msi to a clean test machine, and after starting setup.exe, I get a EULA for .NET 4, then ".Net Framework 4 Client Profile (x86 and x64)"…
MPelletier
  • 16,256
  • 15
  • 86
  • 137
3
votes
1 answer

C#, wpf, Visual Studio 2010, Windows XP/7, standard setup project

I have created a installtion Setup project in my main project in orderto create a .msi file which could be download and installed but I have the following questions. How do I make the installtion process remove the old installation, as it works now…
Stefan Olsson
  • 617
  • 3
  • 16
  • 32
3
votes
1 answer

Why does .NET Framework prerequisite not run from same location of my setup file?

I have created a setup project in c# and i had choose dot net framework 3.5 as it's prerequisites and i set the option "Download from the same location as my application". But while it assumed to be run from local when i run the Setup.msi it goes…
m-abdi
  • 540
  • 1
  • 7
  • 30
3
votes
1 answer

Visual Studio 2010 update registry in setup application

I've recently created an application for my brother to use, it has several entries stored in the registry that it uses. I created a Setup Application in VS2010 so he can install the application to his PC with ease and set the entries to some default…
3
votes
1 answer

Visual Studio setup project prebuild event

I have a Visual Studio Setup project where some of the deployed files are created by a pre-build event. However, when I build the project Visual Studio first does pre-build validation and then runs the pre-build event. Thus pre-build validation…
Johan Råde
  • 20,480
  • 21
  • 73
  • 110
3
votes
1 answer

where to put framework 6 desktop runtime for the setup project

Whe building a setup project for a .net 6 console application when trying to make an offline installer I get: ERROR: To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file…
Jester
  • 3,069
  • 5
  • 30
  • 44