How to Create a Setup File in Visual Studio 2022 | Create Installer for C#, VB and C++ Applications

How to Create a Setup file in Microsoft Visual Studio 2022. How to Create Installer for C#, VB and C++ Applications .
***********************************
🔥 Complete Udemy Courses :
Build E-commerce Web Application using ASP.NET Core : www.udemy.com/course/aspnet-c...
Build E-commerce Web API using ASP.NET Core : www.udemy.com/course/build-as...
Build E-commerce Web Application using React JS : www.udemy.com/course/build-co...
⬇️ Free Document Proofreading ⬇️
► Grammarly : grammarly.go2cloud.org/SH3YB

Пікірлер: 161

  • @BoostMyTool
    @BoostMyTool Жыл бұрын

    If you don't find "publish items", you can select the option "Primary Output" instead

  • @mintheinwin4959

    @mintheinwin4959

    Жыл бұрын

    Thank you so much

  • @abbtech

    @abbtech

    Жыл бұрын

    Same issue here

  • @legionsman7476

    @legionsman7476

    Жыл бұрын

    Thank you

  • @TheYouTubeStoryTeller2024

    @TheYouTubeStoryTeller2024

    Жыл бұрын

    Thank you so much!

  • @jackmandelbeatz1043

    @jackmandelbeatz1043

    10 ай бұрын

    but how do you add icons and shortcuts if you don't have publish items?!? and why don't we have it

  • @plasticelephant1969
    @plasticelephant1969 Жыл бұрын

    This is how tutorials must be, no extras, straight to point, clear.

  • @suleymanseyfullahcirgaoglu1496

    @suleymanseyfullahcirgaoglu1496

    Жыл бұрын

    İ want to thıs 😢

  • @GigsRam
    @GigsRam Жыл бұрын

    For the people who cant find "Publish Items", I chose "Primary Output", followed the rest of this tutorial and it worked well!

  • @jafetsalo
    @jafetsalo7 ай бұрын

    I have to stop my way to thank you for this to-the-point explanation, as I needed to complete an assignment right away, and my only concern was to build an installer for the class project. Indeed, this proved to be the fastet and simpler way, yet, your tone and teaching went beyond with a structured, instructive and actually great to follow speech. Not to mention, this saved me a day of work.

  • @MarkSmith-zf1qk
    @MarkSmith-zf1qk Жыл бұрын

    So happy I came across your video. I have been struggling with the shortcuts, and as mentioned by others most documentation on the web about this is really confusing. Thanks for getting me straightened out.

  • @GeraldHoff
    @GeraldHoff Жыл бұрын

    This video helped me understand the process of creating an install package. Other documentation was so convoluted nobody can understand it, and it keeps looping you back to topics you already read. This is great, thanks.

  • @MarkSmith-zf1qk

    @MarkSmith-zf1qk

    Жыл бұрын

    I Agree!

  • @Wanderlust073
    @Wanderlust0734 ай бұрын

    Thanks - to the point, no wasted time, no bs. Perfect.

  • @stavroscho7798
    @stavroscho7798 Жыл бұрын

    You help a lot and you explain things in so much detail that i cant stop watching

  • @Faisall.k.j
    @Faisall.k.j10 ай бұрын

    One of the clearfull and easiest tutorial I have watch..!! You make it so simple you are awesome..!

  • @kumarapush2221
    @kumarapush2221 Жыл бұрын

    The explanation is so much good. Its very clean and informative. I searched for lot of videos to install one of my Outlook VSTO add-in. Your video helped so much. Thanks for such a clear tutorial

  • @fuqw0t499
    @fuqw0t4992 ай бұрын

    Это лучшее видео по созданию установщика👍 спасибо вам огромное! И ваш английский просто супер👍

  • @gabriella8722
    @gabriella8722 Жыл бұрын

    Thank you so much sir. I really love your tutorials, detailed and beginner friendly❤

  • @johnnythematrix
    @johnnythematrix Жыл бұрын

    Thank you so much, this tutorial is friendly and very much helpful. Thank you!

  • @rleinfellner
    @rleinfellner Жыл бұрын

    Super easy to follow, thank you very much!😀

  • @reazulk
    @reazulk Жыл бұрын

    Excellent Tutorial, I just love it brother. So, user friendly. I could not but click the like button.

  • @silmas908
    @silmas9089 ай бұрын

    Great video. It helped me to set up my MSI file fast. Advice set your: Property ProductName the way you want, (without the Setup part in it), so your install path would be setup correctly immediately.

  • @cortesdopavao
    @cortesdopavao Жыл бұрын

    Thanks!! Your video is clean and very much helpful.

  • @NoirMorter
    @NoirMorter5 ай бұрын

    When you include extras in the project you have to tell it to build those as well. At least I had too. But this is great help thank you! I will experiment with this.

  • @official_kex
    @official_kex Жыл бұрын

    Amazing and simple tutorial! Thank you very much! :)

  • @fooballers7883
    @fooballers7883 Жыл бұрын

    Best 12 mins spent this week.... thank you so much.

  • @KonradRadinger
    @KonradRadinger2 жыл бұрын

    Thank you very much! The shortcut tips solved my problem :-)

  • @miguel5918
    @miguel5918 Жыл бұрын

    What an Excelent tutorial !! very easy to undertand and very good English, thanks a lot

  • @plasticelephant1969
    @plasticelephant1969 Жыл бұрын

    Cheers man, you made it really simple

  • @Trampolinfilm
    @Trampolinfilm Жыл бұрын

    Great stuff! Many thanks!

  • @TheTommyg77
    @TheTommyg7711 ай бұрын

    The video was very helpful to me, and it was an overall perfect tutorial! Thank you very much! Greetings from Germany

  • @pedroskipr
    @pedroskipr Жыл бұрын

    Thank you so much! This was very helpful! Watched the whole thing and got my MSI!

  • @zdrag0ns
    @zdrag0ns Жыл бұрын

    Worked , thanks a lot!

  • @bezelyesevenordek
    @bezelyesevenordek6 ай бұрын

    simple, straight at the point, fax

  • @davidalexandergomezmaldona6953
    @davidalexandergomezmaldona69534 ай бұрын

    I LOVE YOU, THANK YOU SO MUCHH!

  • @maxamuud24
    @maxamuud249 күн бұрын

    Mahdsanid Amal

  • @anandt6970
    @anandt69704 ай бұрын

    Excellent guide and procedure , Thanks for your video.

  • @WolverineVIAF
    @WolverineVIAF Жыл бұрын

    Grazie, sempre ottimi video.

  • @russs.1489
    @russs.1489 Жыл бұрын

    Very clear instruction - Thank you. However, i find that the procedure described does not provide a large icon for the desktop, only small and medium. To further elucidate, Windows 11 allows selection of small, medium, or large icons on the desktop; medium is the default. To select, right click in any blank area of the desktop and choose View, then Large, Medium, or Small icons. Selecting Large still shows only the medium size icon in an outlined rectangle, while small or medium shows the appropriate-sized, transparency icon. Any fix? Is this a limitation of VS Community?

  • @overcadostudios
    @overcadostudios Жыл бұрын

    for anyone getting the error about x64 and x86 incompatibility, do the following: select the builder project and go to the properties window (push F4 I believe) and change the target platform from x86 to x64. You wont be able to do this in the build configuration apparently.

  • @kpanat

    @kpanat

    6 ай бұрын

    You must set arhitecture in yoy tuned for setup. Allowed x86 x54 and Itanium. That's all. You may use InnoSetup. But it's separate programm not integrated with VisualStudio. So I saw an extension for InnoSetup. But I can't tell anything about it. I don' used it. You may try if you want. I udpect It will be good.

  • @digitalfixuk
    @digitalfixuk Жыл бұрын

    Thank you, this was super helpful :)

  • @EfieldHfield_377
    @EfieldHfield_3774 ай бұрын

    Excellent job - very clear - thx you.

  • @chibuikennanedu905
    @chibuikennanedu9055 ай бұрын

    thank you very much for this detailed explanation

  • @TheYouTubeStoryTeller2024
    @TheYouTubeStoryTeller2024 Жыл бұрын

    Thank you so much for this video!

  • @newbielives
    @newbielivesАй бұрын

    Thanks, this was very helpful

  • @RoycePereira
    @RoycePereira Жыл бұрын

    Excellent! Very well described!

  • @usr5196
    @usr51963 ай бұрын

    thank you so much that was very helpful

  • @csharpmvc
    @csharpmvc11 ай бұрын

    Great video, very helpful information! Thank you!!!

  • @user-jn1gb9yb3h
    @user-jn1gb9yb3h Жыл бұрын

    Прикольное произношение! Зато все слова звучат отчётливо, легко понять на слух.😀

  • @kaischultka6461
    @kaischultka6461 Жыл бұрын

    perfect!!! Thanks a lot!

  • @perfecttime7124
    @perfecttime71242 жыл бұрын

    Thank you soo much.....this video help me a lot.

  • @SpringKerl
    @SpringKerl2 жыл бұрын

    wow.. Thank you very much!

  • @zachyyyAB
    @zachyyyAB9 ай бұрын

    big help! thanks a lot

  • @QC-Hub
    @QC-Hub Жыл бұрын

    Thank you very much for this video. I was able to create setups with ease. Now I'm looking for copying the MSI file to a central location (I have about 10 projects always in progress) as post Setup Build. Thanks in advance if you have something for me.

  • @leandrew2499
    @leandrew24997 ай бұрын

    iam very thankful to have this example

  • @LearningEnglishversed
    @LearningEnglishversed Жыл бұрын

    all of your viedio are execelent

  • @Gery-zg7ky
    @Gery-zg7ky17 күн бұрын

    thx bro

  • @pratikchorage3897
    @pratikchorage38972 жыл бұрын

    Thanks bro ,very helpfull vedio

  • @ramazanozturk8429
    @ramazanozturk84292 жыл бұрын

    Thanks a lot your effort. But 256 x 256 dimension may cause it not to appear. 48 x 48 or 64 x 64 is more convenient for this.

  • @khalids2034
    @khalids2034 Жыл бұрын

    Hello friend. you are great, God Bless you. thank you very much.

  • @greenduzt
    @greenduzt Жыл бұрын

    Very useful. Thanks

  • @wesleystuart1100
    @wesleystuart1100 Жыл бұрын

    This is super helpful thanks

  • @ObisterTechnicals
    @ObisterTechnicals5 ай бұрын

    Thanks for this video, please make a video about setup with license key.

  • @andrewtetekin6393
    @andrewtetekin6393 Жыл бұрын

    best tutor tnx!

  • @axmedcawil2970
    @axmedcawil297011 ай бұрын

    Thanks eng it's realy amazing.😍

  • @wanfadhliazmin
    @wanfadhliazmin Жыл бұрын

    I have a project with output based from another dependency class library in the same solution which will be required when running main application as Invoke from Non-dotNet file. How do I do that?

  • @worldVTour
    @worldVTour Жыл бұрын

    very clear👍

  • @sprocket5526
    @sprocket5526 Жыл бұрын

    Super helpful. thank you very much. I'm hardware engineer, so software makes my brain explode :) I have problem though I cant figure out. I can install my program that I use to controll some ardunio vi ethernet to control some led lights on some underwater equipment I'm developing. the installer works just fine on my worksation lap topwhere I have visual studio installed on, but as soon as I install it on my secondary test computer, it installs, but wont run. I have using the .NET Framework 4.8 since I need the serial tool any tips would be greatly appreciated.

  • @PulkitsoftLLP
    @PulkitsoftLLP2 ай бұрын

    Question: during visual setup creation add launch conditions if the specified file exists.

  • @ishrarg
    @ishrarg6 ай бұрын

    Thanks, It works perfectly. But there is a small issue that I am not set the icon for the application where it displays in "Add/Remove Programs" window. I noticed at 10:33 you also had the same problem.

  • @OkdakSempai
    @OkdakSempai8 ай бұрын

    Very, useful thank you

  • @spiritretro3571
    @spiritretro35713 ай бұрын

    question: how do i makre it so the programs install/uninstall name to be the programs name and not the setup files name? i.e "stock management" instead of "StockManagementSetup" its using the text name i assigned to the form for the shrotcuts and stuff but in my unisntlaler it uses the setup projects name

  • @igorgasparik1944
    @igorgasparik19445 ай бұрын

    Can you please advise? I don't have an option in the menu : Create Shortcut to Publish Items..

  • @delliscool4924
    @delliscool4924 Жыл бұрын

    thanks man.

  • @omardesigns15
    @omardesigns15 Жыл бұрын

    If I use a SQL database with my App then is it the same procedure or i have to do more other steps to make the setup work ?

  • @standman007
    @standman0076 ай бұрын

    Thaks very much

  • @vzone3219
    @vzone3219 Жыл бұрын

    this is a useful installer which I tried , it worked fine but is there any possibility to enter privacy text or terms of use text for the user to read during the installation?

  • @mohamedmahmoud2770
    @mohamedmahmoud27704 ай бұрын

    Peace be upon you, sir. Thank you for the wonderful and useful explanation, but I have a problem. Is it possible when I change the project then save it and run the setup again? Does it change for users who have a copy of the working executable and how can I do this?

  • @dereksnider7148
    @dereksnider71482 жыл бұрын

    I did this, but it seems this installer won't create an MSI that works in the Windows Store, I get failures for things like version checking, among other things.

  • @akbarmohammadi6308
    @akbarmohammadi6308 Жыл бұрын

    👌👌👌

  • @khachaturnikoghosyan4212
    @khachaturnikoghosyan4212 Жыл бұрын

    Thanks a lot

  • @spiritretro3571
    @spiritretro35713 ай бұрын

    it appears that current version has a new system for creatign shortcuts, and i cnanot choose the primary output

  • @nagraju6985
    @nagraju69856 ай бұрын

    Which folder should be transferred to the other computer if we intend to install the application on it?

  • @ThePsychoSong
    @ThePsychoSong9 ай бұрын

    Thank's

  • @NuwanThisara
    @NuwanThisara Жыл бұрын

    thank you

  • @sunnybansal9504
    @sunnybansal9504 Жыл бұрын

    Hi, I did not get the browse button to select the icon in visual studio 2022, Please try to tell me how i can resolve the same.. i follow the all step which you told in the video...

  • @yazanzaid386
    @yazanzaid386 Жыл бұрын

    Will the setup file work as a standalone setup/installation file after building? Can I install on any other machine without the source file?

  • @gmgoud
    @gmgoud Жыл бұрын

    with Application I needs to install AzureCLI in client machine, single setup can install application and Azure CLI ?

  • @motor_head
    @motor_head7 ай бұрын

    im trying to add the icon to the shortcut but i dont get the browse option, the drop down list changes from none to empty, no browse option is this a coumminity edition restriction?

  • @spiritretro3571
    @spiritretro35719 ай бұрын

    can you do a vid on how to include a .net sdk in the installer?

  • @TarunKumar-dg6uu
    @TarunKumar-dg6uu2 жыл бұрын

    Please create playlists like other KZreadrs

  • @highcontrast4488
    @highcontrast4488 Жыл бұрын

    Hello, what if my solution has multiple projects, like like 4 or 5, I can still do this? ty

  • @aureliuse3469
    @aureliuse3469 Жыл бұрын

    i have add an icon like in video , why in desktop shortcut still use default icon?

  • @Krejstrup
    @Krejstrup9 ай бұрын

    Hello, is there a version of that I can install the extension from a specific folder? The company just gives me permission to install from c:\install - anything else is run as user, not as admin. So that will not work for me, and maybe others?

  • @orejovicic1669
    @orejovicic16695 ай бұрын

    I cant install VSIX extension, when its supposed to start the installation the error "The type initializer for 'PerTypeValues'1' threw an exception." occurs

  • @mintheinwin4959
    @mintheinwin4959 Жыл бұрын

    I haven't seen setup file under release folder, I'm only got setup file under debug folder. What have the different? What was wrong ?

  • @SKhazan
    @SKhazan Жыл бұрын

    Hello dear, why the program does not work on another computer which have SQLserver database. How can we use it on another computer?

  • @krzychoo7373
    @krzychoo73738 ай бұрын

    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

  • @nguyenthanh1485
    @nguyenthanh14857 ай бұрын

    When installing my App, if I need to install some driver package, how can I do it inside Setup.exe file ?

  • @vaibhavsharma1981
    @vaibhavsharma1981 Жыл бұрын

    Dear friend, suppose we need to install supportive windows service also. How are we going to proceed?

  • @jljake
    @jljake Жыл бұрын

    Would this work for software with multiple cs projects?

  • @MaxDolotboy
    @MaxDolotboy7 ай бұрын

    I can install the app, I see it created a shortcut but when I open it, nothing opens. But when I open the .exe of my WPF project directly in the debug or the release folder it opens. What can cause that the installation once done doesn't open the form ?

  • @jobayerhasan8137
    @jobayerhasan8137 Жыл бұрын

    hello sir. I have watched many videos of your tutorials. sir i need a little help with fixing my sfml library . i did every thing to get work with sfml and i failed every time. i think only you can help me . i am hoping you will make a video on setup SFML in visual studio. thank you

  • @rajeshb6851
    @rajeshb685110 ай бұрын

    Can you show how to add ms access database in setup file ? Please do reply. Thanks.

  • @CHANDRAKANTGHOGATE
    @CHANDRAKANTGHOGATE Жыл бұрын

    How to give Read/Write permissions to a Application Directory in Custom Actions?

  • @minhnguyenquocnhat3796
    @minhnguyenquocnhat3796 Жыл бұрын

    if I connect to SQL server using entities framework, how do I include my database