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

How to remove repair option from msi setup

I have created a setup project in visual studio 2010 which contains windows service & wpf exe. Installer is working good and without any issue. The issue occurs when user try to install application again using MSI. Currently, it come up with…
1
vote
2 answers

Cancelling a Windows service installation/Uninstallation with the Windows Installer causes service to be incompletely installed/uninstalled

I have created a Windows Installer for a windows service with VS 2017. The windows service has a project installer and service installer class inside it. When I cancel the uninstallation process midway, the process removes the windows service but…
1
vote
1 answer

Changing the Installation Path (Application Folder) in Visual studio installer

I want to add a dialog which will be a Text-box, user will write something in that (like client Name - Nike) which will mandatory to fill and then i want to use that value in Application Folder . Ex - default Application Folder path is -…
Vishal Mittal
  • 336
  • 6
  • 18
1
vote
2 answers

Microsoft Visual Studio 2015 Installer custom button

I need to create an installer for a web project in VS with Microsoft Visual Studio 2015 Installer Projects where the user who performs the installation the installer asked for the data of connection to the database with two textbox, in these 2…
1
vote
1 answer

Prerequisites button disabled - MSI installer

I have created an .msi installer. I want to further add prerequisites (such as .Net) but when I go to Setup Project properties, the Prerequisites button is disabled. How do I enable it? Other details: I'm using VS 2015, SQL Server 2008 R2, .Net…
1
vote
3 answers

No such interface supported error

I am using VS 2017 (version 15.5.2) on Microsoft .NET Framework version 4.7.02556. I have also installed the 'Microsoft Visual Studio 2017 Installer Projects' extension (version 0.8.4). Then, I added a new setup project and added the Primary…
1
vote
1 answer

How to add Project Dependency DLL's when adding Project output in the Visual Studio installer?

I'm using visual studio 2015, Microsoft Visual Studio 2015 Installer. I'm creating the sample project for demonstrate my issue. Step1: I'm creating the SampleSetUpProject in wpf Application. Step2: Creating the ClassLibrary1 Project and adding the…
1
vote
1 answer

BadImageFormatException when trying to install msi

I am using VS 2015 and .net framework 4.6. I have one solution with multiple projects. When i build the solutions it works fine. I build solution and all the projects for Release x64. I have one installer project as well which contains dll of all…
1
vote
2 answers

c# Visual Studio Project Installer save data from Textbox into Textfile

After a lot of research I have to ask you guys in order to get my project finally running. I want to save data which the user puts into a TextBox of the Visual Studio Project Installer to a text file. I have read different articles, also this…
1
vote
1 answer

Visual Studio Setup Project: How to delete all legacy files and folders in target folder before install my application?

I'm creating a Windows Installer (.msi) files by Visual Studio Setup Project. When run .msi file, if target folder already existed and had some files and subfolders then how can i delete them before install my application ? I have already searched…
1
vote
2 answers

windows service uninstallation

I created a simple windows service. And added setup project to this solution. I could build service and setup project successfully. Also after build I could use the MSI file created successfully. I could install windows service successfully and…
1
vote
2 answers

Visual Studio Installer Project Extension running in VS 2017 Pro thinks it's running in VS 2013 Pro

Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in…
1
vote
1 answer

c# setup project get radio buttons value

I've started to create installer for my application using Setup Project in Visual Studio, I've made User Interface with two radio buttons. There it is what i'm talking about I want to get access to values of these radiobuttons in c#, but I…
d3st1ny
  • 75
  • 1
  • 13
1
vote
3 answers

How to create an installer than runs a file after install?

I'm currently using Setup Project in visual studio 2015. It works well except I'm having an issue with a particular necessity. After the installer finishes I need to run my .js file that registers my server on my application. Currently with Setup…
1
vote
0 answers

Missing References in Excel-VBA workbook

I've got an Excel-VBA spreadsheet that is installed with a Visual Studios Setup Project... I made a changes to the VBA code, tested the change, plugged the new spreadsheet into the setup project, built the setup project and sent it to Q/A. I got a…
Jmnstr
  • 80
  • 13