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

InstallShield giving ISEXP : error : -5008 when building setup project in VS 2012

I have .net project which I converted from VS 2010 to VS 2012. I am building a setup for the project through InstallShield Limited Edition but I get following error. ISEXP : error : -5008: This 32-bit package cannot include 64-bit data. The 64-bit…
6
votes
3 answers

VS Setup Project: Uninstall other component on install

I am creating a Visual Studio Setup project. I want to un-install another component from the system from the install of my component. The other component is installed from my own setup created using Visual Studio. Currently when I am calling the…
Ramesh Soni
  • 15,867
  • 28
  • 93
  • 113
6
votes
2 answers

VS Setup Project

I am creating a Visual Studio Setup project. I want to un-install another component from the system from the install of my component. The other component is installed from my own setup created using Visual Studio. Currently when I am calling the…
user1931083
6
votes
1 answer

In a Visual Studio Setup Project, How do I make update of the Registry conditional on a Checkbox dialog?

Currently I use Registry Settings within the Setup Project to set the file associations and the icon for the associated files for my application. In the generic VS Setup project, the update to the registry is done always. How can I make the…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
6
votes
3 answers

Invalid or unspecified target for shortcut in Setup Project

Pretty much every time I go to build the setup project in my solution, I get the following error: "Invalid or unspecified target for shortcut". MSDN provides the following useless help. When I go to the dialog to (re-)select the target for the…
Jonathon Reinhart
  • 132,704
  • 33
  • 254
  • 328
6
votes
2 answers

How to include dependencies in Setup and Deployment Project?

I have a solution that consists of 3 projects. I've created a deployment project it is only including the dependencies from one of the projects in my solution. What I've done so far is in my Setup and Deployment project, I right-clicked…
5
votes
1 answer

COM Interop, isolation and excluding duplicate references

We are using a COM DLL provided by Microsoft (dsofile.dll) in a C# dll written by us (Assembly A). In order to avoid having to register the COM dll, I have switched the Isolated property on the reference to dsofile.dll to true. This means that when…
Rob_TT
5
votes
2 answers

Visual Studio 2010 setup project - one project for both 64 and 32

I have an installer that uses 3rd party dependency DLL files. Those DLLs comes as 32-bit and 64-bit. Is it possible to create a project that takes the 32-bit version when compiled for x86 and the 64-bit version when compiled for x64? For now I have…
eddyuk
  • 4,110
  • 5
  • 37
  • 65
5
votes
1 answer

What is the simplest way to reboot after a Setup Project installation completes?

I hate to ask this question as I am aware that there are plenty of questions about it already, some coming very close to what I am wanting to do: Reboot system from Setup project prompt to reboot computer after installation completed The first one…
identitycrisisuk
  • 906
  • 1
  • 9
  • 15
5
votes
1 answer

Have Visual Studio Setup Project retain registry key on uninstall?

How do I get a Visual Studio Setup Project to: create a registry key only if it doesn't exist not remove the key on uninstall
DaveO
  • 1,909
  • 4
  • 33
  • 63
5
votes
3 answers

Creating folders in a Visual Studio Installer Setup project

I've built a Visual Studio (2010) Installer Setup project to deploy a basic WinForms app and I need my installer to create a couple of directories based on the OS that its running on. For example, when the installer is run on Windows XP (and…
bmt22033
  • 6,880
  • 14
  • 69
  • 98
5
votes
10 answers

Visual Studio Setup Project with all files from a folder

We have a setup project that currently adds Project Output's from different visual studio projects. We want to change the packaging system and use a folder with a bunch of deploy files that are prepared for deployment in the setup. But this means…
pauloya
  • 2,535
  • 3
  • 30
  • 50
5
votes
4 answers

How to get my VS2010 setup projects to NOT have errors when I open the solution?

I have a solution with a couple of projects. Some(2) of these projects are setup projects. Whenever I open the solution I get errors like the following: Error 16 Unable to find source file 'Z:...\Remotion.Data.Linq.dll' for assembly…
Johan
  • 1,189
  • 3
  • 15
  • 28
5
votes
1 answer

Setup Project is not correctly registering assembly in GAC

I have created a custom Rewrite Provider for IIS 7 following instructions in this article: Developing a Custom Rewrite Provider for URL Rewrite Module To simplify deployment, I have created a VS2010 Setup Project and configured it to deploy my…
Arnold Zokas
  • 8,306
  • 6
  • 50
  • 76
5
votes
1 answer

how to start an application after setup wizard (visual studio 2010) completes

i am using visual studio 2010 (C#, .NET 4) to create a setup wizard project. i need to make sure the application (a windows form application) starts after it installs. towards this goal, i have specified a custom action. in particular, what i do is…
jake
  • 1,405
  • 3
  • 19
  • 33