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
0
votes
2 answers

How to create a msi file for a Visual Studio 2010 solution w/o Visual Studio 2010?

We have an old Visual Studio 2010 windows forms application, inside it has a Setup project to create the msi file. This is the command we call in Jenkins: "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.com"…
0
votes
0 answers

VS Setup project in VS2015 + git

I've got an old project and solution which I've figured out how to build in VS 2015 while using our old TFS version control. Since then we've moved all of our projects to Git. These setup projects require that the project be checked out (which I…
0
votes
1 answer

unable to add a radio button dialog to the Administrative Install sequence in a Visual studio Installer project

I can add a dialog to the normal install sequence with Radio buttons that can be used to control custom install behavior. However when I go to the Administrative install sequence, the radio button dialogs (along with a number of other dialogs that…
0
votes
1 answer

msi Installer Uninstall

I have an msi installer (VS2008 set-up project). What I would like to happen, is for the installer to initially detect if the software is already installed on the machine. If it is, then to uninstall that software and then continue the…
0
votes
0 answers

upgrade winform application not overwriting XML file even when "Always Copy"

I have an winform application say StackOverflow.exe. When I upgrade the latest release from StackOverflow.exe version 1.1 to version 1.2, its not overwriting XML file(say plugin.xml) from output content folder. Note: plugin.xml is overwriten…
0
votes
0 answers

How to get the property value of a combobox in a setup project?

I have included a combobox replacing a textbox in a setup project using orca changing the property table, control table and including entries in combobox table. Now, I'm getting two comboboxes in my setup project but how do i get the value from the…
0
votes
1 answer

MSI to show uninstalling of old project

I have an Installer project for my application in Visual studio 2010. I was successfully able to make it uninstall the older version of the application before installing the new one by 1. Setting RemovePreviousVersion to false 2. Setting…
user2564824
0
votes
1 answer

How to provide an option in a Setup project dialog box where the user can choose the instance names from the local machine or a server?

Suppose I have a dialog box for giving an instance name and I want to see what are the other instances available in the local machine or the server and what if the user has both SQL Server 2005 and SQL Server 2008 installed in his system and I want…
0
votes
1 answer

How to change Windows 8.1 Group Policy programmatically in c#?

I am developing a Windows 8.1 kiosk-type application,and I need to set the group policy custom user interface setting to the .exe of the application. This, of course, can be accomplished by hand, but I would like to be able to change it via c#, or…
Giallo
  • 785
  • 2
  • 10
  • 26
0
votes
1 answer

Visual Studio Setup Package Upgrade

I have created an installer package using VS 2010. The setup is working fine. It includes a msi package file and an external config file. When I run the installer, and if the software is previously installed, instead of upgrading it, can we just…
0
votes
0 answers

How to prompt user to input mysql connection strings in a setup

I created a system from visual studio where it works with a mysql database. I wants to create a deployment project where the user can input mysql connection strings in the setup where the program will use them when ever it wants to connect to the…
0
votes
2 answers

How to connect mssql from msi installer through windows authentication

I am trying to create a web application set-up through visual studio set-up project. The database required for the application also being installed within the set-up as a custom action. The user is not providing any user name and password to connect…
0
votes
1 answer

In a visual studio setup project, how do I prevent a conditional custom action to run?

I have a very simple Visual Studio 2010 setup project. In this project I have a simple custom action, running a thirdy part executable. Nothing really complicated so far. Now, I want to add a parameter, so, when running the installer, I have the…
0
votes
0 answers

Selectable components in Visual Studio 2013 Setup Project

I have created a Visual Studio 2013 Setup Project that installs a Windows Service. Everything works fine up to now, but I need to add an additional component to the installation. This component should install if the user wishes, so, I need something…
0
votes
1 answer

Windows Form Project(C#) is moving file to User's Directory

I have a Windows Form project and created a Setup Wizard Project so I users can install it in Next Next Finish way. This project uses Microsoft Access as database and I properly added the database file to SetupWizard and everything was ok. HOWEVER,…