Questions tagged [visual-studio-setup-proje]

Use this tag if you are creating Visual Studio Setup projects. Most likely there'll be a version of Visual Studio to which you've added the installer project add-in. These projects create MSI-based setups and ClickOnce setups.

Visual Studio Setup Projects were introduced in Visual Studio.NET and developers can create such projects to compile their binaries (and various settings) into MSI packages.

Since 2011 this project type has been considered obsolete. Microsoft initially announced its death in a blog post and later revived it as a separate Visual Studio extension.

It is recommended that users of this project migrate to other technologies (from Microsoft or not), such as the open source WiX Toolkit.

227 questions
1
vote
2 answers

Why is this DLL ignored in a VS 2015 Installer Projects Extension setup project?

I have a Setup Project created with VS 2015 Installer Projects Extension that contains a DLL, which I added to the Application Folder in the File System Editor. All properties are default except Register, which equals "vsdraCOM". The DLL is stored…
1
vote
1 answer

How to set DefaultLocation of Setup Project to the Path msi is being executed in VS 2010?

I have used setup project of VS 2010 to build setup (msi) of one of my application. I want to install application to the exact location where my msi is. If my msi is in D:\Application folder and someone executes it, it should install the application…
1
vote
2 answers

Why is my service install project installing to Program Files (x86) when I select Program Files?

I am using VS2015 to build an install solution for my service. I want the program to run as 64 bit. In the solution configuration properties I have all the projects as configuration Debug, Platform Any CPU, Deploy blank. The msi installer asks me to…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
1
vote
1 answer

Different ProductName and Title for Visual Studio Setup project

I am creating an installer using Visual Studio Setup Project (2010). I need the string that is displayed in the title bar of the installation wizard be different from the Product name, but there seems to be no option for that. There is an option…
1
vote
2 answers

C# setup doesn't t start in Windows Xp

i've created a Visual Studio Installer in .NET 4.0 for my Windows Service. The installer works on my computer (Windows 10 64 bit), on Windows 7(32 bit) but it doesn't work on Windows Xp 32 bit, the installer doesn't start and appears a window with…
user1785210
1
vote
3 answers

Run WinForms application without administrator rights?

I have created a windows forms application does some function. The problem is when I deploy the application: If i deploy with ClickOnce then everything works fine. After installation the winforms application runs without asking for admin…
Sunny
  • 932
  • 8
  • 22
1
vote
1 answer

How to skip action defined in Installer's BeforeUninstall function when upgrading to WiX

Our current setup project created using vdproj needs to be migrated to WiX. During the process, we are facing problem while upgrading existing vdproj msi to WiX msi. The existing implementation performs some action on 'BeforeUninstall' event of…
Yash
  • 214
  • 4
  • 16
1
vote
2 answers

MSI Installer not running on XP

I have created a Windows Installer Project for the deployment of a WPF executable application (using the Visual Studio Installer Projects extension). The install package (MSI) works perfect on my development PC (Windows 8.1). When running this on a…
Dave New
  • 38,496
  • 59
  • 215
  • 394
1
vote
1 answer

How to include .net framework 4.5.1 in VS 2013

I want to create an installer for Windows application, and to include .NET Framework into that installation (I have selected * Download from the same site as my application). But in compilation of Setup project I get an error, saying that there is…
v.chjen
  • 615
  • 1
  • 8
  • 20
1
vote
1 answer

Visual Studio Setup Project Asking For MSI On Each User Logon

I have a Windows Application that's installed using a Visual Studio Setup project (VS 2010). The application is intended to be installed for all users. I can install this application fine on a test VM (Windows 7). I'm installing it as a user with…
RMD
  • 3,421
  • 7
  • 39
  • 85
1
vote
3 answers

Visual Studio Web Setup Project - deploy outside of web root (wwwroot)

I am working with Visual Studio setup projects to install web application. I am looking for a way to change the default physical file installation path. The end result I would like is a Virtual Directory called "MySite" that points to a local path…
1
vote
1 answer

Logs creation for Visual Studio Setup Project

I am trying to create a installer for my application using the VS setup project. Now I want that in the event of any failure I should be able to track what went wrong with the help of a log file. So my question is, how do i get a hook into the…
1
vote
0 answers

Add Published Web application to Setup Project?

I have a Solution with two projects 1. WCF Service application 2. Setup project I want to add published output of the WCF service application to some folder mentioned in Setup project at each build. So, that when I install the msi generated by Setup…
1
vote
2 answers

Customizing Repair option in MSI

I have a Visual Studio Setup Project that is very basic except for one modification. I have two different libraries that I would like installed based on the user's selection. I added a checkbox screen and conditions to the files. They can install…
0
votes
1 answer

Send parameters to Windows Service Installer Visual Studio

I am new to C# and I just created a Windows Service that writes some logs in the event log. In order to install it I created a Visual Studio Setup Project and it all works. I would like this service to have a configuration file that may be created…