How to Create Setup.exe in Visual Studio 2019 | FoxLearn

Fox Learn · 618K views · 2019 · 7:04

Open on YouTube

Software practice, open source & careersTesting, debugging & developer toolstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as a basic walkthrough of adding a Visual Studio Setup Project and primary output, both as a starting point in answers and as the tutorial they followed when their installer misbehaves.

Recommended by 1 people across 1 different months, 2020 to 2021.

What it is

A short beginner tutorial from FoxLearn on packaging a C# Windows Forms app in Visual Studio 2019. It shows how to build the EXE, add a Setup Project, and produce an MSI installer for other computers.

What people said

Recommends Rllyyy · 2021-05 · Stack Overflow · on “Create Custom Action to Start Application and Exit Installer”

This is a step by step guide to answer the Question and clean up all files on an uninstall Event. I hope this can help people who are new to Visual Studio Installer Projects. In your solution (.sln) you should have at least 2 projects. One being your program and the other one the setup. Given the Question this guide does not include basics on how to add a setup or the primary output( Here [this video] is a video if you need to catch up). Follow these steps: Right click on the main project (not the setup) -> Add -> Component -> Installer Class Name the Component and click Add Open the file click on switch to code view (or select ComponentName.cs -> ComponentName.Desinger.cs -> ComponentName -> Com

Cites phantomsnake · 2020-04 · Stack Overflow · on “Visual studio setup project - problem with the generated installer”

im having trouble making an installer for my project, i followed this tutorial [this video] , when i build the setup project in the output console i only get this ------ Starting pre-build validation for project 'Setup' ------ ------ Pre-build validation for project 'Setup' completed ------ 1>------ Build started: Project: Setup, Configuration: Debug ------ Building file 'C:\Users\Juan Finol\source\repos\Win-cloudmetadrive\Setup\Debug\Setup.msi'... WARNING: Including primary output of project 'CloudMetaPrinter.csproj' with target framework '.NETCoreApp v3.1' may result in incomplete content. See here: [LINK] Packaging file 'CloudMetaPrinter.runtimeconfig.json'... Packaging file 'CloudMetaPrinter.

Cites Thomas · 2020-08 · Stack Overflow · on “Visual Studio Setup Project: Run the msi installer without administrator rights”

@Neil Here in the video it seems to be possible. yes, only one application should be installed for one user, for that you don't need any admin rights? [this video]

Cites AutomationNeeded · 2021-05 · Stack Overflow · on “Trying to obtain the exe for a c# form Application, getting .dll file”

i've already searched and seen almost all in the web and in the forum, but i can't deal with that. What I'm trying to do is to obtain an installer and then an exe of my form application by using c# in visual studio 2019. So, i've followed that tutorial: [this video] so i correctly obtain the setup file. Then, when i launch it, it installs and if i try to run it i get that error: "You're trying to open a file type system .dll" What i'm doing wrong? I also structured my main class as in that response: Changing a source file to compile Main() method in a project, in VS c# console application [LINK] I also used that suggested setting (sorry for non english language but it's quite understandable): [LI