Create a MSI/Setup package for C# with WiX Toolset

Mesta Automation · 145K views · 2016 · 28:05

Open on YouTube

Testing, debugging & developer toolsSoftware practice, open source & careerstutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it as a beginner-friendly walkthrough when someone needs to build an installer with WiX instead of the old Visual Studio setup projects.

Recommended by 3 people across 3 different months, 2014 to 2021.

What it is

A roughly 28-minute tutorial from Mesta Automation on building an MSI installer package for a C# application with the WiX Toolset. It walks through a sample app (available on GitHub) and is paired with a written article.

What people said

Recommends Vkl125 · 2018-01 · Stack Overflow · on “VS 2017 Setup Project wouldn't install in C:\DestFolder\”

I have found the answer from this article [LINK] : "[ProgramFilesFolder] is built in, and correctly leads to the Program Files directory on the target machine, no matter how customized the setup of Window is..." There might be tools out there that allow installing outside of Program Files. [Edit] Infact I've found out this great extension for VS 2017 community called Wix. There's a guy who did a fabulous tutorial [this video] on it.

Recommends Usman Ali · 2018-06 · Stack Overflow · on “Add third party SDK in prerequisites of WPF Setup Project”

i think you should use wix toolset to create exe file. visual studio 2015 setup file is also made with wix toolset. here is a starting tutorial [this video]

Recommends tombobadil · 2021-01 · Stack Overflow · on “Really struggling to get how WiX works”

This YT video helped me a lot, when I wanted to include a WiX installer to my VS Solution... I hope it helps you too... [this video]

Cites Stein Åsmul · 2014-07 · Stack Overflow · on “MSI vs nuget packages: which are is better for continuous delivery?”

Ad-Hoc : How do I avoid common design flaws in my WiX / MSI deployment solution? [LINK] a very messy and less-than-ideal ad-hoc summary of common problems found in MSI files. Not great. Better than nothing? The stuff that is not in the books (too messy). Important Topic : How do I avoid distributing sensitive information in my MSI by accident? [LINK] Need For Speed : WiX Quick Start Short Version [LINK] WiX & MSI : MSI is the accepted corporate application standard. It has some major corporate benefits [LINK] ( and the short, concise version [LINK] ) compared to legacy deployment techniques. WiX is the new open source way to create MSI files. Wix Toolset Download [LINK] ( 1) Main WiX setup,

Cites Stein Åsmul · 2020-02 · Stack Overflow · on “How do I add C# methods to an existing large wix script”

WiX videos: Painter [LINK] . Mesta Automation [this video] (whatever that is). Keith Reichert [LINK] . Angel Six [LINK] . Neither seems to deal with custom action projects.