How to Create a Setup file in Visual Studio 2019 | C# VB.Net installer creation | MSI EXE

  Рет қаралды 68,927

Darren Does Everything

Darren Does Everything

3 жыл бұрын

Quick video showing How to Create a Setup file in Visual Studio 2019 for your project. In this video we look at exactly how to create an MSI & EXE setup file for your C# or VB.Net project in Visual Studio 2019.
If you have been handing out .exe files and would like an installer file (MSI or EXE) then this is the video for you! We walk through the whole process to create the installer by using the Microsoft installer project extension for Visual Studio.
After downloading the required extension, we make a new installer project inside of our solution and setup everything so that the user will have a desktop icon and everything else once they install our project.
Thanks for checking my video out! If you have any questions, please ask in the comments, I would love to help!
Thanks again!
Tags: how to create setup file in visual studio,c#,.net,how to create setup.exe in visual studio 2019,visual studio setup project,how do i create a setup file in visual studio,how to create msi package in visual studio 2019,create an msi file,create setup application c#,create installation setup file,how to create msi installer in visual studio,visual studio installer project,how to create setup file,CodAffection,FoxLearn,Visual Studio 2019,VS2019,VB.Net

Пікірлер: 131
@tannerensign513
@tannerensign513 2 жыл бұрын
This was the best tutorial I could find. So simple and easy. Love it!
@Ghost-gc7bz
@Ghost-gc7bz Жыл бұрын
the best tutorial on youtube, searched thrue 20 video couldn't find the one that works and you explained it so simply and quickly thank you still works on visual 2022
@jimissel3997
@jimissel3997 Жыл бұрын
Perfect tutorial! This is exactly what I was looking for. Great job, Darren!!!
@andytodd4555
@andytodd4555 2 жыл бұрын
Thanks for such a straightforward and clear guide - it just made this morning's task easier and quicker!
@DarrenG
@DarrenG 2 жыл бұрын
You are very welcome!
@leonardegray1769
@leonardegray1769 11 ай бұрын
This was the absolutely best tutorial that I have viewed!! Bravo!
@danlynch6584
@danlynch6584 2 жыл бұрын
Darren - thanks for sharing the informative and succinct video. It saved me a ton of time trying to find all the documentation to put together my setup package. Good video!
@DarrenG
@DarrenG 2 жыл бұрын
Thanks! Glad to help!
@DougForce
@DougForce 2 жыл бұрын
Great video! I hadn’t set this up in so long I had forgotten how. Thanks for the video!
@Orgastics
@Orgastics Жыл бұрын
Straight to the point, and helpful. Thank you!
@ttwistedyt
@ttwistedyt Жыл бұрын
Thanks Darren. This topic is needlessly complicated elsewhere but you made it a snap. Thanks!
@mahmoudnajah2507
@mahmoudnajah2507 2 жыл бұрын
this was the best, the most complete and easy tutorial to understand ever. it helped me a lot !! Thanks
@DarrenG
@DarrenG 2 жыл бұрын
No problem, thank you!
@meloysmusicstudio
@meloysmusicstudio 7 ай бұрын
Excellent walkthrough - thanks! Still relevant / works with Visual Studio 2022
@Scratchfan321
@Scratchfan321 2 жыл бұрын
Perfectly explained and easy to follow. Yes.
@abeyuassefa7861
@abeyuassefa7861 5 күн бұрын
Thanks you. It is on the target video. Thanks again.
@federicosalvetti4286
@federicosalvetti4286 4 ай бұрын
This was extremely helpful!!!
@alanlowe9716
@alanlowe9716 Жыл бұрын
Great video Darren. There was nothing different in creating a setup project in VS 2022, almost word for word 😀
@michellenelson5454
@michellenelson5454 2 жыл бұрын
Very good tutorial. It has been a while since I created a setup.exe e.g. Installer in Visual Studios.THANKS
@chriswinter48
@chriswinter48 4 ай бұрын
Thank you, thank you, thank you.!! This saved me days and days of anguish.
@XEnoN41
@XEnoN41 Жыл бұрын
Thank you for this video, you explained it very well!
@nayaktel
@nayaktel 2 жыл бұрын
Dear You are nothing but a practical fantastic Person dude, I heartily thanking you for the tutorial and it is very much useful for me
@maheswariganapathy
@maheswariganapathy Жыл бұрын
Nice..." The BESTEST" guidance and Thank you👍
@praktykienjoyer750
@praktykienjoyer750 2 жыл бұрын
simply best tutorial i can imagine
@mattkurt555
@mattkurt555 3 жыл бұрын
Nice video! An idea for a follow up video on this would be how to create update installer packages for your application.
@shahbaksh2915
@shahbaksh2915 2 жыл бұрын
Thanks man. Great video
@ctwinin
@ctwinin 2 жыл бұрын
Bro awesome tutorial thanks so much
@jaspreetkambo9254
@jaspreetkambo9254 Жыл бұрын
best, simple and easy. am I forgetting something!!!
@HaTran-bc1ly
@HaTran-bc1ly 2 жыл бұрын
Thank you very much, very simple video, very clear to hear and see too, keep up 👌👌
@DarrenG
@DarrenG 2 жыл бұрын
Thank you!!
@gautamsaha9397
@gautamsaha9397 2 жыл бұрын
Thanks for your valuable advice
@johnnyvcrow
@johnnyvcrow 5 ай бұрын
Great tutorial on a topic that (suprisingly enough) does not have much coverage. Much simpler than the other tutorials I've found. Also, the "Evil Storage" made me chuckle. I assume that would be a reference to Darren Kitchen at HAK5, and the legendary "Evil Server"? . :) Take care!
@bsh7390
@bsh7390 3 жыл бұрын
Appreciated sir for your sharing. Im learning C sharp and found your channel. It's really helpful for me. I have subscribed.
@DarrenG
@DarrenG 3 жыл бұрын
Thank you! Glad to help! I will definitely be putting out more programming videos, I plan to finish off the beginners guide series I have going and post some fun project builds and random guides like this one.
@brettmarshalltweaksource
@brettmarshalltweaksource 3 жыл бұрын
Thanks. Nice walkthrough.
@DarrenG
@DarrenG 3 жыл бұрын
Np! Thanks for watching!
@danayow
@danayow 2 жыл бұрын
very helpful video thank you 😍😍
@bagrox
@bagrox Жыл бұрын
Nice one, thanks.
@NTKM-om9vn
@NTKM-om9vn Жыл бұрын
Great help!
@youcefhemdane6017
@youcefhemdane6017 Жыл бұрын
best tutorial EVER
@ehansytaxian
@ehansytaxian 2 жыл бұрын
Thanks You Are The Best!
@shivamupadhyay6196
@shivamupadhyay6196 2 жыл бұрын
Amazing Bro loved it :)
@dharmendharjarwani3951
@dharmendharjarwani3951 Жыл бұрын
Thansk bro, its working fine
@vulcan20
@vulcan20 3 жыл бұрын
Thank! Very useful!!
@DarrenG
@DarrenG 3 жыл бұрын
You are very welcome! Thanks for watching!
@RobertLenior
@RobertLenior 11 ай бұрын
Wonderful, slight differences in VS2022 but still workable! Thanks
@sylascoker1483
@sylascoker1483 2 жыл бұрын
Perfect, thanks dude!
@DarrenG
@DarrenG 2 жыл бұрын
No problem!
@jakezepeda1267
@jakezepeda1267 Жыл бұрын
Awesome video, not over-complicated like some others i have come across. Not sure if your'e still interested in this, but i think a 2 good follow ups would be updating said application and installing drivers/extra requirements (such as Acces DB Engine).
@dwightarroyo1784
@dwightarroyo1784 Жыл бұрын
Thanks!
@milones7495
@milones7495 11 ай бұрын
Thank you so much!!!!!!
@FrankCatry
@FrankCatry 2 жыл бұрын
Great tutorial. Thanks for sharing.
@DarrenG
@DarrenG 2 жыл бұрын
No problem, thanks for the comment!
@davidibanga8980
@davidibanga8980 2 жыл бұрын
Thanks very much bro
@aaronberducido2584
@aaronberducido2584 2 жыл бұрын
Thank you a lot bro youre awesome!
@DarrenG
@DarrenG 2 жыл бұрын
np, glad it helped!
@metekaba6532
@metekaba6532 2 жыл бұрын
Hi there! Thanks for the video. I have a question that how can we add the other layers of the project? I have BLL, CUL, and DAL beside the main GUI project which has the windows. Thanks in advance!
@alexle5690
@alexle5690 Ай бұрын
Tanks, that was very complette, but also i have a question. If i work with a database like MySql and y want to create the DB with a .sql file at the time the installer is running, How can i do it?
@osanbrazil999
@osanbrazil999 Жыл бұрын
Thanks for the tutorial. So easy to understand and right to the point. I'm experiencing a problem though. When I install a new version, I change the version number and upgrade key, set "Remove previous versions" to true, but after I run the installer (which gives no error message whatsoever), the executable in the folder is STILL the previous version.
@aaronhill3443
@aaronhill3443 2 жыл бұрын
Dude thank you so much !!
@DarrenG
@DarrenG 2 жыл бұрын
Thanks for watching! I hope it helps!
@adamschneider868
@adamschneider868 2 жыл бұрын
Just used this to deploy an application to 90 users. Thanks.
@DarrenG
@DarrenG 2 жыл бұрын
Glad I could help!! Good luck with your project! What kind of app is it?
@adamschneider868
@adamschneider868 2 жыл бұрын
@@DarrenG it was an old app that was updated to use RBA and a webapi. It handles pictures of exported cargo.
@mrrcomp
@mrrcomp 10 ай бұрын
Great tutorial .. thanks..One question is there any way to add a prerequsite to the list? i.e i need to check and install Access Database Engine .. Looking forward to your suggestions..
@libran114
@libran114 Жыл бұрын
Thanks a lot.
@edo170570
@edo170570 2 жыл бұрын
Super!
@karthikkankalapati3599
@karthikkankalapati3599 5 күн бұрын
Thanks buddy
@yeshuaexcel3407
@yeshuaexcel3407 Жыл бұрын
Thank you.
@DarrenG
@DarrenG 3 жыл бұрын
Thanks for watching! If you have any programming-related how-to video requests, I would love to hear them for more content ideas! I also would welcome any kind of feedback on how I can improve! Thanks!!
@steejayk
@steejayk 2 жыл бұрын
Hi Darren, I would suggest this: no need to show yourself for the entire video. It only distracts from actual content. I would suggest you show yourself in first half minute -minute in the intro, and once tutorial starts only show the screen. But tutorial is good.
@bishri88
@bishri88 Жыл бұрын
how to handel database here should we mannualy setup the same database in client machine than copy its connection string then after setup project make it clear bro
@TheKarmaIdiot
@TheKarmaIdiot 2 жыл бұрын
Nice, dropped a like. Is it possible to customize the look of the installer itself, like custom UI when the user is moving through the installer?
@Mardiana-qb5ms
@Mardiana-qb5ms Жыл бұрын
thank you Sir
@marcosmelendez09
@marcosmelendez09 2 жыл бұрын
Hi. Great content. I am new to your web Could you explain how to create a set up file with a licence key that you have to input for the installer to work along with the license terms? I would love to watch more
@KinyanjuiKamaukkjay
@KinyanjuiKamaukkjay 2 жыл бұрын
Thanks for this. Installer works and creates program shortcut. Funny thing when I double click on icon, program does not run, lol.
@tharindu63r
@tharindu63r 2 жыл бұрын
Love u brother
@lukenukem8028
@lukenukem8028 3 жыл бұрын
Best Video
@esemmoc
@esemmoc 2 жыл бұрын
Thank you. So to send out the program via an email would you include any other files other than setup.exe and I suppose you would put it in a zip file.
@khabbazz89
@khabbazz89 2 жыл бұрын
Thanks for video,after create exe file and setup it , I tried run tha app but it does not run , nothing happen, how can fix it that?
@newchannel1106
@newchannel1106 2 жыл бұрын
Wew. My problem solved just from watching a 7.41 min video. I tried to use WIX but it rubbish because it is not for a dumb man like me to use it. I tried to use Advanced Installer also rubbish because I cannot use or i'd like to say i pretty damn sure i was too dumb and cannot use it and some useful part of my program is missing. Thanks for sharing.
@interworld6227
@interworld6227 2 жыл бұрын
Great
@imdrogon
@imdrogon 2 жыл бұрын
Thanks! Helpful for my screen recorder app I've been working on to find every install.exe maker I find is pay only when I'm a poor college student trying to make a buck
@DarrenG
@DarrenG 2 жыл бұрын
Yep! I know that struggle
@cr0wsky
@cr0wsky 3 жыл бұрын
That's cool. Thanks. What are you using for your start menu?
@DarrenG
@DarrenG 3 жыл бұрын
www.classicshell.net/ Which the site says development was picked up as open shell: github.com/Open-Shell/Open-Shell-Menu I really enjoy it!
@KrakenZYT
@KrakenZYT Жыл бұрын
Can you tell how to put updates to the app?
@lucasferreira8229
@lucasferreira8229 Жыл бұрын
What if I copy and past only the "setup.exe" file to the desktop, for example, will I be able to install it anyway or it also needs the "StorageSetupe.msi" file to be in the same directory?
@Ekramul-Haque
@Ekramul-Haque 7 ай бұрын
How can i share this to others? should i send the zip file of packages and the release, debug, filename.vdproj included?
@duchyofducklings
@duchyofducklings 10 ай бұрын
I have question about where we can change the icon that is appeared in the control panel when you try to uninstall your application there is no icon for my app where can I set that too?
@tedoconnor9
@tedoconnor9 2 жыл бұрын
This was a great intro to creating an install package. Thank you! One thing though: Could you go slower when accessing things like menu items? I had to stop the video several times to catch what you were accessing.
@DarrenG
@DarrenG 2 жыл бұрын
Oh, good point! Sorry about that. Hopefully it helps and I'll try to slow down in future videos
@ohranimamovic2105
@ohranimamovic2105 2 жыл бұрын
Hello there, I did this step by step and my app works just fine on my pc where I created my app but when I install the app on my laptop the app wont start at all no errors ... I use same netFramework but it wont start on any other device ....
@parisaghafari883
@parisaghafari883 2 жыл бұрын
How to add sqlserver 2014 prerequisite to my project. Thanks
@abderrahimerraji6180
@abderrahimerraji6180 Жыл бұрын
and the setup.exe will work on the others laptop ? i mean if i put it in another laptop and download it, the application will work 100% ?
@DanaRayIT
@DanaRayIT 2 жыл бұрын
hi please describe how to add sap crystal reports runtime in setup project i have c# .net 2019 project with sap crystal reports file but when i make setup file and run it in target computer crystal report not work thank you
@duongchinhngu2407
@duongchinhngu2407 11 ай бұрын
How can I grant folder permission while install the app using Installer Project? Please
@Mightraptyle
@Mightraptyle 2 жыл бұрын
Hey broh, that was a great tutorial but, my program is always stop working when I try to open, after installing, (I'm stalling to test in other pc)
@im1in260m
@im1in260m Жыл бұрын
How do you change the default installation location?
@operatorblackbird
@operatorblackbird 2 жыл бұрын
Thank you Darren! Hit you with a like and a sub!🙂
@DarrenG
@DarrenG 2 жыл бұрын
Thanks so much!! We are so close to 1k subs!!!
@operatorblackbird
@operatorblackbird 2 жыл бұрын
@@DarrenG Hey, I'm having a error while trying to open my C# console app project it says that it can't find where my .NET SDK is I have it installed on my computer, do you know of any fixes? The error is; "The project file cannot be opened. Unable to locate the .NET SDK. Check that it is installed and that the version specified in global.json (if any) matches the installed version."
@operatorblackbird
@operatorblackbird 2 жыл бұрын
I managed to fix it
@pizzalover-69
@pizzalover-69 2 жыл бұрын
Really helpful video! If my projected relied on wav files, how would I ensure they installed on another machine when using the installer?
@DarrenG
@DarrenG 2 жыл бұрын
If you look at the application folder (#3:38 in the video) you can see that I included a bunch of DLL's in there. Those are all copied to the application's output directory during the install. You should be able to include your .wav files here and they would be copied over. To have them included here automatically, they need to be copied to your applications debug folder when you build it. For them to be automatically copied to your build folder, make sure they are included in your application (they should appear in your solution inside of visual studio) Then right click on the file in your solution explorer and choose Build Action: "copy always" This is kind of a lot to try and explain without any visual aids but hopefully that helps! Thanks for watching and subscribing!
@pizzalover-69
@pizzalover-69 2 жыл бұрын
@@DarrenG You have just solved alot of head scratching! Thank you and keep up the good work
@sergeyshchelkunov5762
@sergeyshchelkunov5762 2 жыл бұрын
does your icon (that is "attached" to shortcuts) has to be of a specific size to be shown on the desktop, or in user's prog. menu ?
@DarrenG
@DarrenG 2 жыл бұрын
I don't think so. I think it just scales. Just make a shortcut and test it out before packaging it
@vladostema
@vladostema Жыл бұрын
I did exactly same steps as you did, but when i click this Icon dropdown in 3:32 i have just emptiness, there is just empty field with no elements, i dont have (None) and i don't have (Browse...) why is that so?
@DvashView
@DvashView Жыл бұрын
Can I send my app to people who don't have Visual Studio installed?
@karamalab
@karamalab 2 жыл бұрын
Hi, thank u for this usefull tutorial, I started learning VS a few days ago, I made an easy and simple form just for test, how can I make a single excutable file for this project, I mean not a setup file but a portable single file the can be excuted directly with no need to setup.. thank you in advanced
@DarrenG
@DarrenG 2 жыл бұрын
Compile your project and look in the debug folder. There should be an exe there with a couple of dependencies (.dll files) that can be copied to another box and ran.
@karamalab
@karamalab 2 жыл бұрын
@@DarrenG yes I noticed this but what I mean is creating sigle file like a package that is excutable and include all the dll files inside it
@TeamPu1s3
@TeamPu1s3 2 жыл бұрын
can you make a video for when the application is installed to my pc how do i update it with out having to reinstall it can anyone help?
@lukenukem8028
@lukenukem8028 3 жыл бұрын
What's the .msi file for then? I've used them before as installers when no .exe is around, but why are both created?
@DarrenG
@DarrenG 3 жыл бұрын
I'm not sure why it creates both honestly. The .msi file is microsoft's installer. The .exe is a setup file, I think if you run the msi without the exe it won't be as "fancy" or customized. I think the MSI will be a more generic installer window but I can't remember off hand. good question/point though.
@andreas789
@andreas789 2 жыл бұрын
It installs as an .dll file is there any way i can fix this
@ozu7779
@ozu7779 4 ай бұрын
How to fix that warning in the setup ????
@HolaManGruy
@HolaManGruy 2 жыл бұрын
why do i get "System.Net.WebException: An exception occured during a WebClient request." how do u fix this?
@Conversion108
@Conversion108 Жыл бұрын
when downloading will the download be flagged?
@jeffersoneener9071
@jeffersoneener9071 2 жыл бұрын
Is it only used to build VB and C# projects?
@jeffersoneener9071
@jeffersoneener9071 2 жыл бұрын
I want to build a C++ Winform app with MySQL database but always failing. What’s the problem bro?!
@ifthikhanmohamed1681
@ifthikhanmohamed1681 2 жыл бұрын
How to export to macos file
@alexislm793
@alexislm793 2 жыл бұрын
I can't open my program windows say : "You are attempting to open a System file (dll)" any ideas ?
@prodeveloper1796
@prodeveloper1796 2 жыл бұрын
same problem
@TaherRatlam
@TaherRatlam 3 жыл бұрын
Help me creating a setup file using database files
@alimohamadi7256
@alimohamadi7256 Жыл бұрын
I got same problem
@FidelCoelho
@FidelCoelho 10 ай бұрын
The only problem is, when u install, u cant update from clickonce...
@maurirom92
@maurirom92 Жыл бұрын
This does not work, I have done the same steps, and when I install with the installer file that is created, and a shortcut is generated on the desktop, the program does not run, instead of running the program it gives me a list of programs to open the file
@ubuntuservertest7847
@ubuntuservertest7847 2 жыл бұрын
Great
@DarrenG
@DarrenG 2 жыл бұрын
Thanks!
Should You Install Software Using .EXE or .MSI ?
10:15
ThioJoe
Рет қаралды 526 М.
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 18 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 47 МЛН
How to Create Setup MSI EXE File in Visual Studio 2019, 2022
8:59
C# Exercises
Рет қаралды 13 М.
How to Create Setup .exe in Visual Studio 2022 Step By Step
12:58
Coding Jackpot
Рет қаралды 198 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 106 М.
How to Create Setup.exe in Visual Studio 2019 | FoxLearn
7:04
Fox Learn
Рет қаралды 602 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 73 М.
Was ist im Eis versteckt? 🧊 Coole Winter-Gadgets von Amazon
0:37
SMOL German
Рет қаралды 32 МЛН
Покатались на сноубордах😂
0:10
FERMACHI
Рет қаралды 6 МЛН
Мужик психанул и купил 200 Ленд Роверов
0:19
Сергей Милушкин
Рет қаралды 3,2 МЛН
good-natured puppy #viral #trending #dog
0:27
Kẹo cute
Рет қаралды 7 МЛН