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

Rename project output before being included into Setup project

I have an exe that is built and placed into a Setup project for deployment. I want to rename the exe that is produced (to a .scr file - it is a screensaver) before inclusion in the setup project. How do I do this? I know I could rename the file in…
Chris
  • 26,744
  • 48
  • 193
  • 345
4
votes
3 answers

InstallShield LE for Visual Studio 2013 - Installation Error ##IDS_ERROR_7## - ##IDS_ERROR_1####IDS_ERROR_2803##

This is the first time I've tried to use Install Shield LE in Visual Studio. I went through the Project Assistant and basically just turned off almost all of the bells and whistles. No Installation Requirements, no Application Registry entries, and…
4
votes
0 answers

Weak framework linking in Mac OS X not working?

I am building an application for Mac OS X in which I want to use AVFoundation and CoreMedia framework. Problem is these frameworks are not available in Mac OS X 10.6. There are different projects in our application and some of the projects are using…
Bharat Sharma
  • 3,926
  • 2
  • 17
  • 29
4
votes
1 answer

New IsWiX Setup Project fails to build - undefined preprocessor variable

I am attempting to use WiX Toolset to create a deployment project. I am using Visual Studio.NET 2010 SP1, WiX 3.7, and IsWix 2.0.13013.4. I am using .NET framework 4.0. I created the directory structure provided…
Lee Z
  • 802
  • 2
  • 13
  • 39
4
votes
3 answers

Adding version number to Application Folder in Visual Studio Setup project

I have a Visual Studio Setup project which has a Application Folder DefaultLocation set to[ProgramFilesFolder][Manufacturer]\[ProductName]. I would like to change this to include the software's version number, like…
sourcenouveau
  • 29,356
  • 35
  • 146
  • 243
4
votes
4 answers

How To make setup file that contains C# application and sql server

I want to build a setup file that contain windows form application that is connected to sql server how can I do that? I want to put the .net framework and sql server in the setup package how can I do that? do I need sql server or sql express in this…
alaa fateh
  • 41
  • 1
  • 2
4
votes
1 answer

Visual Studio setup for C++: .NET Framework warning

I have a native C++ application developed in Visual Studio 2010. There's also a setup project as a part of the solution. When the setup is being build, the warning pops up: WARNING: The target version of the .NET Framework in the project does not…
Aros
  • 157
  • 1
  • 13
4
votes
1 answer

How to include third party exe in visual studio 2010 setup and deployment project?

Let's say A.exe is the my exe project which runs fine at windows system. Let's say B.exe is the external third party driver which is required for A.exe. Currently I am installing both projects separately. Now, I want to include the driver into my…
Amit Pal
  • 10,604
  • 26
  • 80
  • 160
4
votes
5 answers

Build Issue in Visual Studio 2010

I cannot build my solution in Visual Studio 2010 without checking out my setup project. Is there something that I can do to rectify this? Here's the error message: The command you are attempting cannot be completed because the file…
jmac
  • 245
  • 5
  • 21
4
votes
2 answers

VS Setup project: install files in different directories

I have Visual Studio Setup project. And I want to install one of my file to some directory on drive C. How am I supposed to do it? An example: I'm installing my app in C:\MyApp. And one file, settings.ini, to C:\Settings\MyAppSettings\
Ksice
  • 3,277
  • 9
  • 43
  • 67
4
votes
2 answers

Deploying a desktop application with SQL Server Express

I have developed a C# 4.0 desktop application that uses a SQL Server Express 2005 database. I have built a Setup and Deployment (msi) package that installs the application and all it's depenedencies, including the mdb database file, into a working…
Merlin
  • 157
  • 2
  • 12
4
votes
2 answers

Start service with Visual Studio Setup Project installer

I have a Visual Studio Setup Project used to install a Windows service. The service is set to run automatically and it is installing fine at this point by adding my service as a custom action. However, I would like the installer to start the…
3
votes
2 answers

Install Shortcut from VS2010 setup

VS2010 contains a ‘setup’ project that creates an installation package. I need a short cut to the app that will be installed on the user’s desktop. The shortcut I know how to create with the setup/Install is a ‘special’ shortcut and I can’t use it…
furd
  • 71
  • 3
  • 5
3
votes
1 answer

Always install to "Program Files" (also on x64)?

I am using a default Visual Studio Setup Project to create an installer for my application. The application is built as "Any CPU" and runs as a 64bit process on x64 OSes, but the installer always uses "Program Files (x86)" as the default directory. …
Christoph Fink
  • 22,727
  • 9
  • 68
  • 113
3
votes
1 answer

How I can create installer which can run ONLY with administrative rights? (Visual Studio 2010)

I have project written in C#. I create install project for this project, and I really want that this setup can run only if user has administrative rights. How I can do this? I tried to add "Launch Condition" with condition = AdminUser, then I build…