How to Create a Setup file in Visual Studio 2019 | C# VB.Net installer creation | MSI EXE
Вставка
- Опубліковано 6 жов 2024
- 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 - Навчання та стиль
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
This was the best tutorial I could find. So simple and easy. Love it!
Thanks for such a straightforward and clear guide - it just made this morning's task easier and quicker!
You are very welcome!
Thank you, thank you, thank you.!! This saved me days and days of anguish.
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
simply best tutorial i can imagine
this was the best, the most complete and easy tutorial to understand ever. it helped me a lot !! Thanks
No problem, thank you!
Excellent walkthrough - thanks! Still relevant / works with Visual Studio 2022
Just used this to deploy an application to 90 users. Thanks.
Glad I could help!! Good luck with your project!
What kind of app is it?
@@DarrenG it was an old app that was updated to use RBA and a webapi. It handles pictures of exported cargo.
This was the absolutely best tutorial that I have viewed!! Bravo!
Perfect tutorial! This is exactly what I was looking for. Great job, Darren!!!
Thanks for this. Installer works and creates program shortcut. Funny thing when I double click on icon, program does not run, lol.
Appreciated sir for your sharing. Im learning C sharp and found your channel. It's really helpful for me. I have subscribed.
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.
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!
Thanks! Glad to help!
Thanks you. It is on the target video. Thanks again.
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
Yep! I know that struggle
Great video Darren. There was nothing different in creating a setup project in VS 2022, almost word for word 😀
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!
best tutorial EVER
Thanks Darren. This topic is needlessly complicated elsewhere but you made it a snap. Thanks!
Very good tutorial. It has been a while since I created a setup.exe e.g. Installer in Visual Studios.THANKS
Straight to the point, and helpful. Thank you!
Thank you very much, very simple video, very clear to hear and see too, keep up 👌👌
Thank you!!
Nice video! An idea for a follow up video on this would be how to create update installer packages for your application.
best, simple and easy. am I forgetting something!!!
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).
Wonderful, slight differences in VS2022 but still workable! Thanks
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!!
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.
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
Thank! Very useful!!
You are very welcome! Thanks for watching!
Great video! I hadn’t set this up in so long I had forgotten how. Thanks for the video!
Thanks. Nice walkthrough.
Np! Thanks for watching!
Nice..." The BESTEST" guidance and Thank you👍
Thanks for your valuable advice
Bro awesome tutorial thanks so much
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.
Thank you for this video, you explained it very well!
Perfect, thanks dude!
No problem!
Thanks!
Perfectly explained and easy to follow. Yes.
This was extremely helpful!!!
Thank you a lot bro youre awesome!
np, glad it helped!
Thansk bro, its working fine
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?
Great tutorial. Thanks for sharing.
No problem, thanks for the comment!
Nice one, thanks.
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.
Amazing Bro loved it :)
Thank you so much!!!!!!
Thanks man. Great video
Great help!
Love u brother
Thanks You Are The Best!
Super!
very helpful video thank you 😍😍
Best Video
Thanks buddy
hey thanks for this, if i just want my installer to put some files into a certain directory, what should I do?
Thank you.
Thanks a lot.
thank you Sir
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..
That's cool. Thanks. What are you using for your start menu?
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!
Good!!!
Thanks very much bro
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.
Oh, good point! Sorry about that. Hopefully it helps and I'll try to slow down in future videos
very good video - but when create the primary output under the application folder, i dont get all of the DL's being added. What am i doing wrong?
Thank you Darren! Hit you with a like and a sub!🙂
Thanks so much!! We are so close to 1k subs!!!
@@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."
I managed to fix it
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
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?
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)
Great
Thanks!
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?
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?
How to add sqlserver 2014 prerequisite to my project. Thanks
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?
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!
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.
Can you tell how to put updates to the app?
How can i share this to others? should i send the zip file of packages and the release, debug, filename.vdproj included?
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
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.
@@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
How can I grant folder permission while install the app using Installer Project? Please
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?
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 ....
why do i get "System.Net.WebException: An exception occured during a WebClient request." how do u fix this?
How to fix that warning in the setup ????
but how to setup full project with many files it's helpful for me 😢
Can I send my app to people who don't have Visual Studio installed?
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
Is it only used to build VB and C# projects?
I want to build a C++ Winform app with MySQL database but always failing. What’s the problem bro?!
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% ?
How do you change the default installation location?
The only problem is, when u install, u cant update from clickonce...
What's the .msi file for then? I've used them before as installers when no .exe is around, but why are both created?
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.
It installs as an .dll file is there any way i can fix this
My project Aint showing Dll files
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
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?
How to export to macos file
when downloading will the download be flagged?
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 ?
I don't think so. I think it just scales. Just make a shortcut and test it out before packaging it