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

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 178

  • @BoostMyTool
    @BoostMyTool  2 ปีที่แล้ว +63

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

  • @plasticelephant1969
    @plasticelephant1969 ปีที่แล้ว +24

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

  • @jafetsalo
    @jafetsalo ปีที่แล้ว +4

    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.

  • @Faisall.k.j
    @Faisall.k.j ปีที่แล้ว +2

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

  • @GeraldHoff
    @GeraldHoff ปีที่แล้ว +2

    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.

  • @9999Michigan
    @9999Michigan 11 วันที่ผ่านมา +1

    Thank you for this tutorial!!! I made my very first .exe with it thanks to your methodical and excellent explanation.

  • @Wanderlust073
    @Wanderlust073 9 หลายเดือนก่อน

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

  • @MarkSmith-zf1qk
    @MarkSmith-zf1qk ปีที่แล้ว +3

    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.

  • @overcadostudios
    @overcadostudios ปีที่แล้ว +7

    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 11 หลายเดือนก่อน

      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.

  • @stavroscho7798
    @stavroscho7798 2 ปีที่แล้ว +1

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

  • @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

  • @silmas908
    @silmas908 ปีที่แล้ว

    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.

  • @fooballers7883
    @fooballers7883 ปีที่แล้ว

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

  • @NoirMorter
    @NoirMorter 10 หลายเดือนก่อน

    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.

  • @gabriella8722
    @gabriella8722 2 ปีที่แล้ว +2

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

  • @reazulk
    @reazulk 2 ปีที่แล้ว +1

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

  • @ishrarg
    @ishrarg 11 หลายเดือนก่อน

    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.

  • @ManuelCarbajalLeon
    @ManuelCarbajalLeon 27 วันที่ผ่านมา

    Very nice tutorial my friend. Thank you very much. Well done!

  • @TheTommyg77
    @TheTommyg77 ปีที่แล้ว

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

  • @davidalexandergomezmaldona6953
    @davidalexandergomezmaldona6953 9 หลายเดือนก่อน +1

    I LOVE YOU, THANK YOU SO MUCHH!

  • @carlosluna4092
    @carlosluna4092 18 วันที่ผ่านมา

    Rock and roll! Nice. Thanking you.

  • @anandt6970
    @anandt6970 9 หลายเดือนก่อน

    Excellent guide and procedure , Thanks for your video.

  • @PulkitsoftLLP
    @PulkitsoftLLP 7 หลายเดือนก่อน

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

  • @axmedcawil2970
    @axmedcawil2970 ปีที่แล้ว +1

    Thanks eng it's realy amazing.😍

  • @ramazanozturk8429
    @ramazanozturk8429 2 ปีที่แล้ว +2

    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.

  • @Shmevin
    @Shmevin 4 หลายเดือนก่อน

    wow thank you so much for getting straight to the point.

  • @miguel5918
    @miguel5918 ปีที่แล้ว

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

  • @mohamedmahmoud2770
    @mohamedmahmoud2770 9 หลายเดือนก่อน

    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?

  • @beypazariofficial
    @beypazariofficial 11 หลายเดือนก่อน

    simple, straight at the point, fax

  • @pedroskipr
    @pedroskipr ปีที่แล้ว

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

  • @jean-mariebrodin3107
    @jean-mariebrodin3107 4 หลายเดือนก่อน

    Excellent tutorial ! Thank you very much !

  • @ЕгорГоловин-н4ф
    @ЕгорГоловин-н4ф ปีที่แล้ว +2

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

  • @plasticelephant1969
    @plasticelephant1969 ปีที่แล้ว

    Cheers man, you made it really simple

  • @EfieldHfield_377
    @EfieldHfield_377 9 หลายเดือนก่อน

    Excellent job - very clear - thx you.

  • @benturner4439
    @benturner4439 หลายเดือนก่อน

    This was great help, Thank you

  • @chibuikennanedu905
    @chibuikennanedu905 10 หลายเดือนก่อน

    thank you very much for this detailed explanation

  • @CanBarut
    @CanBarut 6 วันที่ผ่านมา

    Is there an online installation method like this? When the installer runs, it checks for the latest version and downloads it from the site and installs it?

  • @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?

  • @maniakm897
    @maniakm897 หลายเดือนก่อน

    Hello. Good video. But there is one more question: If I, for instance, created WinForms App (based of .Net 6.0 framework) and then install in on other PC and open it, I see similar message: App cannot launch because .Net framework 6.0 is not installed on PC. So, I should separately download and install this framework to lauch my app without issues. Is there a way for automatic install of above mentioned framework on PC after my app install is completed (of course in the case of .net 6.0 framework is not installed yet)?

  • @hernansalgado7105
    @hernansalgado7105 หลายเดือนก่อน

    Muchas gracias por su colaboracion

  • @RoycePereira
    @RoycePereira ปีที่แล้ว

    Excellent! Very well described!

  • @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.

  • @LearningEnglishversed
    @LearningEnglishversed 2 ปีที่แล้ว

    all of your viedio are execelent

  • @igorgasparik1944
    @igorgasparik1944 10 หลายเดือนก่อน

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

  • @leandrew2499
    @leandrew2499 11 หลายเดือนก่อน

    iam very thankful to have this example

  • @nagraju6985
    @nagraju6985 11 หลายเดือนก่อน

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

  • @csharpmvc
    @csharpmvc ปีที่แล้ว

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

  • @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?

  • @spiritretro3571
    @spiritretro3571 8 หลายเดือนก่อน

    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

  • @newbielives
    @newbielives 6 หลายเดือนก่อน

    Thanks, this was very helpful

  • @digitalfixuk
    @digitalfixuk 2 ปีที่แล้ว +1

    Thank you, this was super helpful :)

  • @spiritretro3571
    @spiritretro3571 8 หลายเดือนก่อน

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

  • @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 ?

  • @WolverineVIAF
    @WolverineVIAF ปีที่แล้ว

    Grazie, sempre ottimi video.

  • @johnnythematrix
    @johnnythematrix 2 ปีที่แล้ว

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

  • @usr5196
    @usr5196 8 หลายเดือนก่อน

    thank you so much that was very helpful

  • @tushardas6651
    @tushardas6651 10 วันที่ผ่านมา

    Thanks man 👍

  • @Ru1nedK1ng
    @Ru1nedK1ng 3 หลายเดือนก่อน

    Thank YOu very much sir!

  • @wanfadhliazmin
    @wanfadhliazmin 2 ปีที่แล้ว

    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?

  • @rajeshb6851
    @rajeshb6851 ปีที่แล้ว

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

  • @spiritretro3571
    @spiritretro3571 ปีที่แล้ว

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

  • @fuqw0t499
    @fuqw0t499 7 หลายเดือนก่อน +1

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

  • @Wez_wolf
    @Wez_wolf ปีที่แล้ว

    This is super helpful thanks

  • @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.

  • @official_kex
    @official_kex ปีที่แล้ว

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

  • @MaxDolotboy
    @MaxDolotboy 11 หลายเดือนก่อน

    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 ?

  • @GeethikaPenmetsa
    @GeethikaPenmetsa 4 หลายเดือนก่อน

    can anyone help with this?
    when there is a new version to release as a version update for the created installer an icon should come on the installer as update how to do this ?

  • @gmgoud
    @gmgoud ปีที่แล้ว

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

  • @khalids2034
    @khalids2034 2 ปีที่แล้ว

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

  • @sunnybansal9504
    @sunnybansal9504 2 ปีที่แล้ว

    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...

  • @KonradRadinger
    @KonradRadinger 2 ปีที่แล้ว

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

  • @ObisterTechnicals
    @ObisterTechnicals 10 หลายเดือนก่อน

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

  • @OkdakSempai
    @OkdakSempai ปีที่แล้ว

    Very, useful thank you

  • @perfecttime7124
    @perfecttime7124 2 ปีที่แล้ว

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

  • @motor_head
    @motor_head ปีที่แล้ว

    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?

  • @mohamud24
    @mohamud24 5 หลายเดือนก่อน

    Mahdsanid Amal

  • @pratikchorage3897
    @pratikchorage3897 2 ปีที่แล้ว

    Thanks bro ,very helpfull vedio

  • @vaibhavsharma1981
    @vaibhavsharma1981 ปีที่แล้ว

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

  • @dereksnider7148
    @dereksnider7148 2 ปีที่แล้ว

    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.

  • @rleinfellner
    @rleinfellner ปีที่แล้ว

    Super easy to follow, thank you very much!😀

  • @andrewtetekin6393
    @andrewtetekin6393 ปีที่แล้ว

    best tutor tnx!

  • @CHANDRAKANTGHOGATE
    @CHANDRAKANTGHOGATE ปีที่แล้ว

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

  • @buiquocanh3686
    @buiquocanh3686 3 หลายเดือนก่อน

    How can i custom message when i run setup.msi ?

  • @orejovicic1669
    @orejovicic1669 10 หลายเดือนก่อน

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

  • @RainbowLizard28
    @RainbowLizard28 8 หลายเดือนก่อน

    I already install it, but something wrong on my code. When I edit in microsoft visual studio, and reinstall, but there is no changing on the application. Can you help me? And is it called update?

  • @hcent82
    @hcent82 2 ปีที่แล้ว

    Hi, I don't see publish items, only see from Primary output to below, any idea how to make that option visible? Thanks

  • @ralfballis498
    @ralfballis498 4 หลายเดือนก่อน

    Thanks a lot!

  • @highcontrast4488
    @highcontrast4488 ปีที่แล้ว

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

  • @TheYouTubeStoryTeller2024
    @TheYouTubeStoryTeller2024 ปีที่แล้ว

    Thank you so much for this video!

  • @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 ?

  • @TarunKumar-dg6uu
    @TarunKumar-dg6uu 2 ปีที่แล้ว +2

    Please create playlists like other TH-camrs

  • @nguyenthanh1485
    @nguyenthanh1485 11 หลายเดือนก่อน

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

  • @CristianAlcantar-v9p
    @CristianAlcantar-v9p ปีที่แล้ว

    One question, how can i add audio resources to the Application?

  • @toilahoang7466
    @toilahoang7466 8 หลายเดือนก่อน

    why do my properties of setup project don't look like that
    my setup's properties is a new window

  • @Trampolinfilm
    @Trampolinfilm ปีที่แล้ว

    Great stuff! Many thanks!

  • @krzychoo7373
    @krzychoo7373 ปีที่แล้ว

    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

  • @jljake
    @jljake 2 ปีที่แล้ว

    Would this work for software with multiple cs projects?

  • @kpanat
    @kpanat 11 หลายเดือนก่อน

    I don't know but after this procedure there are no program in list of installed programs. I don't know why? All that told i've already know. But there are many questions left... For remove I used the second variant to uninstall. There are no uninstall.exe file in installed dir. Why?

  • @sabelosaburbs9053
    @sabelosaburbs9053 11 หลายเดือนก่อน

    all done , what do i need to install it on another pc

  • @greenduzt
    @greenduzt 2 ปีที่แล้ว

    Very useful. Thanks