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

How to add powershell script as custom action in visual studio setup project

I have written one powershell(IPConfiguration.ps1) script to change the static IP address , subnet address and for disabling the IPV6 option in the ethernet network Interface. PowerShell script working well without any issue. When launching in my…
2
votes
1 answer

Visual Studio Setup Project - can you configure projects to install transitive dependencies in the correct order?

I'm using Visual Studio 2010 to create an installer for my project. My installer includes my dependencies, such as .NET 3.5, and the 2007 Microsoft Office Primary Interop Assemblies (PIA). Additionally, PIA depends on .NET 3.5. I'm encountering a…
piepera
  • 2,033
  • 1
  • 20
  • 21
2
votes
1 answer

How do I force a Visual Studio setup project generated msi installer to only run in administrative mode?

I have a Visual Studio setup project that generates an msi installer. The installer works fine if I run it as an administrator. If it is not run as an administrator my updates to HKEY_CURRENT_USER\Software\Microsoft\Office fail. I have looked at…
Frank
  • 3,029
  • 5
  • 34
  • 43
2
votes
1 answer

Change the fields and field names in Visual Studio Setup Project

I have an old project at work built in Visual Studio 2015 which I'm updating. There are eight text fields in the setup project. They all have names like FOOBAR and QWERTY which are available in ProjectInstaller.cs. If I change the default value for…
CJ Dennis
  • 4,226
  • 2
  • 40
  • 69
2
votes
1 answer

Deploying .NET 5 WPF application using MSI installer

Has anyone used Visual Studio Setup Project to deploy a .NET 5 WPF desktop application? I have been doing this stuff for years, but with .NET 5, things seem to have changed a bit. I tried to follow the steps provided by MS in this article, which…
dotNET
  • 33,414
  • 24
  • 162
  • 251
2
votes
1 answer

VS2010 Setup Project force overwrite of files

Looked everywhere and it seems like in VS2010 all options have been removed to do this. I have a Setup Project that has Application Files that get copied over to the Application folder. What I want is to be able to overwrite any existing files…
2
votes
2 answers

How do I create an .msi or setup.exe from VS 2017

I am trying to create an installation package for a WPF desktop application. I have installed the Visual Studio Installer and wanted to use the Setup Wizard. It only seems to create MSM or CAB installations. I really want an .msi or setup.exe as the…
Intensivist
  • 767
  • 2
  • 7
  • 19
2
votes
2 answers

Create a setup for windows form application Without Administrator password while install

I have developed a windows form application in visual studio. Now, I would like to install that windows application on my PC without administrator privilege. How can I create a setup. (I already installed Photo Pad image editor application on my PC …
Ram
  • 41
  • 1
  • 9
2
votes
2 answers

Create MSI and Enforce All Users with Visual Studio

I have created an installer using Visual Studio 2015 (with the Visual Studio installer addon). The goal is to always run the APP with the same local resources, regardless of who is logged on, therefore we target [CommonAppDataFolder]…
2
votes
2 answers

Additional Setup in Visual Studio Installer Projects

I am trying to create an installation for my project. I am using MS Access DataBase and for it to work Access DataBase Engine is required. If i download that engine https://www.microsoft.com/en-us/download/details.aspx?id=54920 from here and install…
2
votes
1 answer

Visual Studio Installer Setup Project

I'm wondering how to use Setup Project in Visual Studio 15, which was in Solution -> Add -> New Project -> .../installed -> Other Project -> Types -> Visual Studio Installer ->Setup Project but this disappeared. To create an .EXE file for a…
user9356108
2
votes
4 answers

Visual Studio 2017 Setup Project error 2727

Hey guys I am trying to build a setup for my application but it does not seem to want to work. I ran it with -l switch to get the install log, it looks like it is looking for a folder called "_8D5342EDA5924BABBF19E5682639F820" but that folder…
2
votes
1 answer

How to downgrade program by visual studio setup project?

I have program on C#. I create VS Setup for this project. First of all i create setup for version 1.0.0, then i create for 1.0.1. In Setup Properties I check DetectNewerInstalledVersion to false, and RemovePreviousVersion to true. After install…
2
votes
0 answers

Setup project prompting for .NET Framework 4.6.1 when installing

I have a solution that contains 4 projects (3 are class libraries build on .NET 4.5.1 and the other is a Windows application also built on 4.5.1. I've added a setup project to the solution and when I build the solution and execute the installer on…
RaKer
  • 279
  • 1
  • 5
  • 18
2
votes
1 answer

How can I configure what .NET version should be installed by windows installer in VS 2017

Currently I am working on a project that needs .NET 4.0 to work properly but when I configure the windows installer and try to install it is trying to install the latest version of .NET. So how can I configure the windows installer to install the…
1 2
3
15 16