How to Create Setup .exe in Visual Studio 2022 Step By Step

  Рет қаралды 198,367

Coding Jackpot

Coding Jackpot

2 жыл бұрын

How to create setup file in visual studio 2022 for windows application step by step.
In this video tutorial you will learn:
create an installer from visual studio
microsoft visual studio 2022 installer projects tutorial
create simple c# application using visual studio
How do you create an installer?
how do i setup an exe file?
how do i create a setup file in visual studio?
setup project deployment of a windows forms application
how do i create a project in visual studio 2022
create setup/msi installer in Visual Studio 2022

Пікірлер: 241
@mohamednaji6850
@mohamednaji6850 2 жыл бұрын
For the people who cant find "Publish Items", I chose "Primary Output", followed the rest of this tutorial and it worked well!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Thanks for sharing and helping others
@sonjastojanovic5218
@sonjastojanovic5218 Жыл бұрын
Same here 😃
@usr829
@usr829 Жыл бұрын
Your comment saved my time thanks
@EnglishMediumMathsOL
@EnglishMediumMathsOL Жыл бұрын
I also have a doubt on that
@fingercross4313
@fingercross4313 7 ай бұрын
My app has been built well but when i installed my app icon not showing? Please help
@jimbobwylie
@jimbobwylie Жыл бұрын
This is incredible! Thank you so much for this!
@ManojYadwad2
@ManojYadwad2 Жыл бұрын
5 year back I use to do the same in VS 2015. But then I started using ClickOnce and forgot these steps. I thank You to post this tutorial video. I intencely needed this as I have to provide support to my old client.
@ephemera777
@ephemera777 Жыл бұрын
mind to share
@AndrewKwabula
@AndrewKwabula Жыл бұрын
You are a legend bro. It cannot be any clearer than this.
@nmarks
@nmarks Жыл бұрын
Beautifully well explained. Sir, you are doing the world a great service.
@amyputnam1316
@amyputnam1316 Жыл бұрын
Excellent video! I was able to walk through this process while I watched your video and created my first EXE file with a desktop shortcut using Visual Studio. Thank you!
@shaunduzstuffs
@shaunduzstuffs 6 ай бұрын
I wish I could be as successful as you and others, but despite following the tutorial EXACTLY as it's shown, when I get to 6:58, nothing appears in the add project groups part. I can't find any help anywhere for this
@arajamgochian2372
@arajamgochian2372 Жыл бұрын
Excellent and clear tutorial. Thank you.
@emirkaancati5218
@emirkaancati5218 Жыл бұрын
Thanks to you I got my first setup ever :D
@KidToyz
@KidToyz Жыл бұрын
Thanks was able to create my first exe the steps explained were clear and to the point thanks a lot
@Airsoftshowoffs
@Airsoftshowoffs Жыл бұрын
Thank you for posting this, it is a great guide !
@belfordmcpimface3482
@belfordmcpimface3482 5 ай бұрын
Useful and current two years later. Subscribed.
@orltokata9208
@orltokata9208 Жыл бұрын
Thanks so much for making the video, it is so great help.❤❤
@rodgdl4482
@rodgdl4482 Жыл бұрын
Thank you very much, I'm from México and it was very useful.👌👋
@mikeshaw964
@mikeshaw964 Жыл бұрын
Very good. If i wish to have two (or more) apps installed at once with the 2 icons in start menu group how is it done?
@DulakshiHansika-kj1jd
@DulakshiHansika-kj1jd Жыл бұрын
Excellent sir. Well understood. Thank you very much 😊❤
@araradsarkissian2859
@araradsarkissian2859 Ай бұрын
Works fine! Thank you for your time! :)
@mujeebrahman8173
@mujeebrahman8173 5 ай бұрын
Good. If I want to install it another pc , what are all the files I want to copy in USB Flash drive. Under the Debug 2 files I can see. These 2 enough or any other required
@UPBear
@UPBear Жыл бұрын
Excellent job! In my project using C# WPF when generating the installer the dependencies are not being found, any tips?
@markdevlin653
@markdevlin653 Жыл бұрын
Thanks for making the video, I’m new to visual studio and this was a great help 👍👍
@CodingJackpot
@CodingJackpot Жыл бұрын
Thanks for watching.. subscribe for more such videos
@klemenbrecko9755
@klemenbrecko9755 Жыл бұрын
Nice video!!! Thank you! I also made my first exe file!!!
@hoshi2592
@hoshi2592 23 күн бұрын
Thank you forda clear tutorial :>
@RahulSharmaOfficial
@RahulSharmaOfficial 7 ай бұрын
Excellent and easy to understand... Well explained Sir. Thank you.
@manavpatel7281
@manavpatel7281 5 ай бұрын
In my visual studio Publish Items menu is not show can you suggest me ? i have vs22 and i will create this setup in my windows form application
@thesituation5315
@thesituation5315 2 жыл бұрын
Thank you! This is very helpful, frickin awesome.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Welcome ! I am glad that you liked the video tutorials to create exe file
@prashanttippimath1706
@prashanttippimath1706 Жыл бұрын
One of the best video for desktop app creation ,thanks
@kiddmahobele8373
@kiddmahobele8373 Жыл бұрын
Great Tutorial and great desktop background
@bohdankovalevich1770
@bohdankovalevich1770 Жыл бұрын
How to set icon for "installed apps" sections? Because in my case I used wpf app, and it was the default icon
@DjSashaWaksOfficial
@DjSashaWaksOfficial 11 күн бұрын
Striaght to the Point - Thank you :)
@sophiayu4506
@sophiayu4506 Жыл бұрын
What’s the difference between this way and ClickOne publish? How to add desktop icon when using ClickOne? Thanks.
@MichaelToumie
@MichaelToumie Жыл бұрын
Well done! thank you
@igorgasparik1944
@igorgasparik1944 6 ай бұрын
Can you please advise? I don't have an option in the menu : Create Shortcut to Publish Items...
@gmqazi06
@gmqazi06 10 ай бұрын
sir if i have database file where can i put that in these folder application folder or program folder
@carlossantamaria1820
@carlossantamaria1820 5 ай бұрын
Does this work with a MAUI app as well?
@vishnupranay6698
@vishnupranay6698 6 ай бұрын
Thank you soo much for the solution
@sifatrecy1093
@sifatrecy1093 Жыл бұрын
I want to move some of my files to AppData Folder. How can I create an installer that will automatically install the app, create a folder in the AppData folder, and store those files in the app data? We cannot access the database file in the program file folder. So I need to keep my database file in AppData Folder. Can you help me?
@PulkitsoftLLP
@PulkitsoftLLP 2 ай бұрын
Question: during visual setup creation add launch conditions if the specified file exists.
@jdhirhe
@jdhirhe 5 ай бұрын
Thank you very much
@acoolhuman1953
@acoolhuman1953 Жыл бұрын
Hello, my project has music in it and the music doesn't work when I open the game like the tutorial said. What can I do to fix it?
@nelsonrivers8546
@nelsonrivers8546 7 ай бұрын
How would you deploy a WinForm application that uses EF Core ? Can you create a separate video for that ?
@cinematicsensations219
@cinematicsensations219 16 күн бұрын
I completed your instructions but the desktop shortcut doesnt show the icon I added, it only shows up on the form. Can you tell me how to make a "release" installer because this is only debug version?
@atulmahankal
@atulmahankal Жыл бұрын
How to create multip platform setup (x64, x86) in a single setup project as the target platform gives the single option.
@abdelfattahkhatab760
@abdelfattahkhatab760 8 ай бұрын
hello, how can i do if i want to add a custom action to this installer?
@ismaeljunior99
@ismaeljunior99 2 жыл бұрын
Good explanation. Thank you!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Thanks for watching! Please subscribe for upcoming videos
@krzychoo7373
@krzychoo7373 8 ай бұрын
I have a problem. I hope you can help me solve it. Namely: In Visual Studio I write the simplest adding program in the Console, everything is fine, it does not show any errors. As soon as I publish it and try to run the program correctly, it asks me for the first number and then for the second, and when it is supposed to perform the calculation, it hangs and minimizes itself. This is the case with all my console programs that I write. After publication, whenever they are about to perform any operation, they hang. I tried to find the cause and I can't find anything. I sent the codes to my friend to run them on his own, and they don't work for him either, even though they show absolutely no errors. Do you know what could be wrong? Maybe I'm missing something from Visual Studio add-ons
@izanagiml5187
@izanagiml5187 Жыл бұрын
Thanks a lot!
@manvicreaters1690
@manvicreaters1690 Жыл бұрын
I did not get the browse button to set the icon in vs 2022 , please guide me how I can resolve this issue
@tracylamb6145
@tracylamb6145 2 жыл бұрын
Thank you for the video. I, too, had to select Project Output as I didn't have a Publish item. I installed the app, and it runs fine until I press my Print button. I'm printing to a Brother PTouch label printer. Nothing prints. In VS2022 debug it prints fine. Also, if I build the release and run the project from the bin\Release folder, it prints fine. I'm wondering why it won't work from the installed app?
@CodingJackpot
@CodingJackpot Жыл бұрын
You can try adding try catch block to see if there is any dependency or run time error which is blocking your printer code to execute
@robertmccully2792
@robertmccully2792 6 ай бұрын
Good video. You can do most anything from most any program if you practice enough.
@mintheinwin4959
@mintheinwin4959 Жыл бұрын
I'm not found "Publish Item" from under add->Project Output-> .... Any have other way?
@hachimassoumani5854
@hachimassoumani5854 Жыл бұрын
Thx you !
@cmcotrading
@cmcotrading 2 ай бұрын
I successfully created setups on my programs. However on my desktop appeared a number of files not sure if i did well. The program is working but when i remove some shortcuts files on desktop(.json, .ico) the program wont open
@nikunj17484
@nikunj17484 2 жыл бұрын
It's superb video. Thank you🙏🙏🙏
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Glad that you liked the video .. please subscribe for more videos
@muhammadjibrilmuqoddas2235
@muhammadjibrilmuqoddas2235 8 ай бұрын
Can everyone use the app? In different device
@Yxncooo
@Yxncooo 4 ай бұрын
Great Video!
@jeffry144
@jeffry144 5 ай бұрын
Thank You
@fiestafan95
@fiestafan95 Жыл бұрын
worked like a charm, but how do I go from here? i.e. make a file (or folder) i can take to another computer to install my program...
@MahadeoPaighan
@MahadeoPaighan Жыл бұрын
An attempt to attach An autonamed database for file C/administration/desktop /acmd.mdf failed . Database with the same name exist , or specified can not be opened .or it located on unc share. This error show when I am installed th setup and try to entry in form
@ap_channel4090
@ap_channel4090 Жыл бұрын
excellent work
@legendaryrababa
@legendaryrababa Жыл бұрын
i dont have publish item in add project output group, I am trying to create .exe file for simple wfp app
@sudiptamodak5840
@sudiptamodak5840 2 ай бұрын
I am using a cefsharp to create a browser. It run well within Visual Studio. But when I am creating a Setup file for distribute the software the process does not work. Can you help me?
@TheoM.-mv8ri
@TheoM.-mv8ri Жыл бұрын
Thanks!
@hipockt4
@hipockt4 Жыл бұрын
How to get the shortcut icon to show on the desktop. I only get the generic icon
@sumithraece5422
@sumithraece5422 10 ай бұрын
Thank you sir
@simonbaxter8001
@simonbaxter8001 Жыл бұрын
For the shortcut Icon, why don't you just select the target .exe and get the icon from that, as you already have the applications icon embedded in the exe!
@surya.banerjee
@surya.banerjee Жыл бұрын
It's very helpful 👍😀
@keshvalabhavesh4344
@keshvalabhavesh4344 Жыл бұрын
Great explain sir 🔥
@user-hy1cb3js3k
@user-hy1cb3js3k 9 ай бұрын
Thanks it works
@tzgardner
@tzgardner 10 ай бұрын
11:55 Curious if you know how to update the version number showing here?
@lighton9451
@lighton9451 3 ай бұрын
Thanks, can i to generat serial nember or lesence ....
@shubhamjain703
@shubhamjain703 Жыл бұрын
I want to create exe file such that if run that exe file on the desktop on which .net is not preinstalled then also that exe file can run on and user can install that desktop app
@clemencedelmas970
@clemencedelmas970 Жыл бұрын
Hello everyone, I'm a beginner in coding and I was seaking for this kind of solution. I realize that VB6 has been replaced by visual studio which require others coding skills. How did you access to VB6 those who posted comments just 1 month ago ? Many thanks in advance for your advises.
@jibsbadung8332
@jibsbadung8332 Жыл бұрын
Thanks for that. I tried my but it tels no connection to database. What can I do.
@lucasferreira8229
@lucasferreira8229 Жыл бұрын
Is there anything like this in VS Code?
@ariazapata5279
@ariazapata5279 10 ай бұрын
Thanku brooo
@angelukpongprogramanalyst.8942
@angelukpongprogramanalyst.8942 Жыл бұрын
you are a great teacher. made it so easy. i love you. Please, can you do a video on how to time the app to have expiry date and activation code? Thanks sir.
@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!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Hi ....All other layers will get added automatically as .dll files as they are referenced in main project as projet reference
@SheikhMuhammadNawaz
@SheikhMuhammadNawaz 2 жыл бұрын
Making single exe from multiple files or Project files is very easy. I have mentioned it in Urdu language. Link is below: kzfaq.info/get/bejne/l6eBi8J6xJ-mc6s.html
@Yogesh-Powar
@Yogesh-Powar 10 ай бұрын
Thanks
@MinhTri-mh7bh
@MinhTri-mh7bh Жыл бұрын
I should I do now because I can see the publish item button
@YTtopPAULO
@YTtopPAULO Жыл бұрын
Wow bro thanks
@frankkoslowski6917
@frankkoslowski6917 Жыл бұрын
Very nice. Just don't see the point of introducing the convoluted icon addition process in Visual Studio when one can use the standard method of creating a shortcut directly from where the executable is situated, and then simply embellish the standard icon of the executable on the desktop with an icon of choice from anywhere on the computer. The point being that Visual Studio, as seen over a period of several years, seems to somewhat complicate simple manipulation in the name of Visual Studio platform centralization of all processes. Am I overlooking something in the general procedure of creating apps?
@lohoma
@lohoma 11 ай бұрын
dank yu bro
@mohamednaji6850
@mohamednaji6850 2 жыл бұрын
Thank you very much kind sir! :)
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Welcome 😀
@hungchip
@hungchip 6 ай бұрын
How to change Icon Installer/Uninstaller in Control Panel?
@etcast1559
@etcast1559 Ай бұрын
how to add .net runtime dependency to the setup.exe?
@maduravineetha9683
@maduravineetha9683 Жыл бұрын
please make a video about how to make customized setup file with terms and conditions,...etc.
@matyimartinak3331
@matyimartinak3331 Жыл бұрын
Hello! Can I change the installation path in the setup project? For example: My program will be installed to ProgramFiles but I want it to be on Desktop.
@geoff7534
@geoff7534 Күн бұрын
bruh desktop stuff are only shortcuts
@mrbond1074
@mrbond1074 2 жыл бұрын
At the finish point is it ready to share with other machines and will it work same over there ?
@CodingJackpot
@CodingJackpot Жыл бұрын
Yes if the exe is properly installed on the other machine it should work
@learnwithme395
@learnwithme395 2 жыл бұрын
hi, Please help me, My I have the python project file here, so I'm having hard time following your steps, please help me how to do everything, I need to submit this project for my school task
@zombie4847
@zombie4847 Жыл бұрын
i love your videos
@muhammetibrahimkaya
@muhammetibrahimkaya Жыл бұрын
incredibe,awesome
@XushboqovAxliddin
@XushboqovAxliddin 4 ай бұрын
nice👍👍👍👍👍👍👍👍
@kemalkaratas9785
@kemalkaratas9785 Жыл бұрын
Teşekkür Ederim
@user-no6bf2iv9m
@user-no6bf2iv9m 11 ай бұрын
very helpful bro😊😊😊
@jeffdn1
@jeffdn1 Жыл бұрын
I can't get this to work with Python code. Is it possible?
@user-bq5iz1wj3q
@user-bq5iz1wj3q Жыл бұрын
how to make msi call a shortcut with the ability to open from the administrator?
@arindampaul4190
@arindampaul4190 6 ай бұрын
on my end Publish Item is not coming, what to do?
@letuslearn8433
@letuslearn8433 Жыл бұрын
Thank you bro. it is an interesting video.
@CodingJackpot
@CodingJackpot Жыл бұрын
Thanks for watching
@mrtien2510
@mrtien2510 2 жыл бұрын
Thank you.
@CodingJackpot
@CodingJackpot 2 жыл бұрын
You're welcome! like share and subscribe for more videos
@vishprabhum
@vishprabhum Жыл бұрын
How do i create setup.exe which installs without admin rights required for installation
@chiyungtang8051
@chiyungtang8051 2 жыл бұрын
Just a tips here, at the Solution Explorer, click the Setup project, then press F4 to change the properties such as Author , Product Name, Manufacturer, Target Platform and etc. Oh btw, thank you very much for this video. 2 thumbs up for you!!!
@CodingJackpot
@CodingJackpot 2 жыл бұрын
Thanks for the tip!
@angelukpongprogramanalyst.8942
@angelukpongprogramanalyst.8942 Жыл бұрын
thanks sir, for the tips.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 84 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 11 МЛН
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 45 МЛН
How to Create Setup MSI EXE File in Visual Studio 2019, 2022
8:59
C# Exercises
Рет қаралды 13 М.
Cool features in Visual Studio 2022
38:24
Microsoft Visual Studio
Рет қаралды 64 М.
How to create a Setup.exe file in Visual Studio 2022
4:35
Advanced Installer Powers PacKit FREE
Рет қаралды 17 М.
How To Create Windows Installer MSI - .Net Core Wix
2:12:47
AngelSix
Рет қаралды 148 М.
Спутниковый телефон #обзор #товары
0:35
Product show
Рет қаралды 2 МЛН
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,9 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 15 МЛН