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

Поделиться
HTML-код
  • Опубликовано: 23 ноя 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..!

  • @9999Michigan
    @9999Michigan 8 дней назад +1

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

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

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

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

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

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

  • @ManuelCarbajalLeon
    @ManuelCarbajalLeon 24 дня назад

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

  • @gabriella8722
    @gabriella8722 2 года назад +2

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

  • @fuqw0t499
    @fuqw0t499 7 месяцев назад +1

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

  • @anandt6970
    @anandt6970 8 месяцев назад

    Excellent guide and procedure , Thanks for your video.

  • @fooballers7883
    @fooballers7883 Год назад

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

  • @davidalexandergomezmaldona6953
    @davidalexandergomezmaldona6953 9 месяцев назад +1

    I LOVE YOU, THANK YOU SO MUCHH!

  • @carlosluna4092
    @carlosluna4092 15 дней назад

    Rock and roll! Nice. Thanking you.

  • @TheTommyg77
    @TheTommyg77 Год назад

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

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

  • @Shmevin
    @Shmevin 4 месяца назад

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

  • @axmedcawil2970
    @axmedcawil2970 Год назад +1

    Thanks eng it's realy amazing.😍

  • @miguel5918
    @miguel5918 Год назад

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

  • @beypazariofficial
    @beypazariofficial 11 месяцев назад

    simple, straight at the point, fax

  • @jean-mariebrodin3107
    @jean-mariebrodin3107 4 месяца назад

    Excellent tutorial ! Thank you very much !

  • @reazulk
    @reazulk 2 года назад +1

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

  • @hernansalgado7105
    @hernansalgado7105 Месяц назад

    Muchas gracias por su colaboracion

  • @CanBarut
    @CanBarut 3 дня назад

    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?

  • @chibuikennanedu905
    @chibuikennanedu905 10 месяцев назад

    thank you very much for this detailed explanation

  • @pedroskipr
    @pedroskipr Год назад

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

  • @ЕгорГоловин-н4ф
    @ЕгорГоловин-н4ф Год назад +2

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

  • @EfieldHfield_377
    @EfieldHfield_377 9 месяцев назад

    Excellent job - very clear - thx you.

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

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

  • @benturner4439
    @benturner4439 Месяц назад

    This was great help, Thank you

  • @plasticelephant1969
    @plasticelephant1969 Год назад

    Cheers man, you made it really simple

  • @PulkitsoftLLP
    @PulkitsoftLLP 7 месяцев назад

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

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

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

  • @csharpmvc
    @csharpmvc Год назад

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

  • @johnnythematrix
    @johnnythematrix 2 года назад

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

  • @WolverineVIAF
    @WolverineVIAF Год назад

    Grazie, sempre ottimi video.

  • @leandrew2499
    @leandrew2499 11 месяцев назад

    iam very thankful to have this example

  • @newbielives
    @newbielives 6 месяцев назад

    Thanks, this was very helpful

  • @igorgasparik1944
    @igorgasparik1944 10 месяцев назад

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

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

  • @nagraju6985
    @nagraju6985 11 месяцев назад

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

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

  • @official_kex
    @official_kex Год назад

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

  • @LearningEnglishversed
    @LearningEnglishversed 2 года назад

    all of your viedio are execelent

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

  • @usr5196
    @usr5196 7 месяцев назад

    thank you so much that was very helpful

  • @ObisterTechnicals
    @ObisterTechnicals 10 месяцев назад

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

  • @RoycePereira
    @RoycePereira Год назад

    Excellent! Very well described!

  • @digitalfixuk
    @digitalfixuk 2 года назад +1

    Thank you, this was super helpful :)

  • @tushardas6651
    @tushardas6651 7 дней назад

    Thanks man 👍

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

  • @KonradRadinger
    @KonradRadinger 2 года назад

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

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

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

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

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

  • @khalids2034
    @khalids2034 2 года назад

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

  • @rleinfellner
    @rleinfellner Год назад

    Super easy to follow, thank you very much!😀

  • @andrewtetekin6393
    @andrewtetekin6393 Год назад

    best tutor tnx!

  • @TarunKumar-dg6uu
    @TarunKumar-dg6uu 2 года назад +2

    Please create playlists like other RUclipsrs

  • @spiritretro3571
    @spiritretro3571 Год назад

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

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

  • @TheYouTubeStoryTeller2024
    @TheYouTubeStoryTeller2024 Год назад

    Thank you so much for this video!

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

  • @spiritretro3571
    @spiritretro3571 8 месяцев назад

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

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

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

  • @nguyenthanh1485
    @nguyenthanh1485 11 месяцев назад

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

  • @Ru1nedK1ng
    @Ru1nedK1ng 3 месяца назад

    Thank YOu very much sir!

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

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

  • @Krejstrup
    @Krejstrup Год назад

    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?

  • @ammarimran874
    @ammarimran874 Год назад

    Unable to load DLL "Microsoft.Data.SqlClient.SNI.x86.dll": the specified module could not be found. (Exception from HRESULT: 0x8007007e)
    any idea why i am getting this error ?

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

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

  • @ralfballis498
    @ralfballis498 4 месяца назад

    Thanks a lot!

  • @legionsman7476
    @legionsman7476 Год назад

    for my setup project, i have some dlls that are underlined red. it does not tell me what the error is. how can i fix this? it will not allow me to build the Setup project and fails each time.

  • @Trampolinfilm
    @Trampolinfilm Год назад

    Great stuff! Many thanks!

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

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

  • @rajeshb6851
    @rajeshb6851 Год назад

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

  • @Wez_wolf
    @Wez_wolf Год назад

    This is super helpful thanks

  • @toilahoang7466
    @toilahoang7466 8 месяцев назад

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

  • @mohamud24
    @mohamud24 5 месяцев назад

    Mahdsanid Amal

  • @gmgoud
    @gmgoud Год назад

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

  • @highcontrast4488
    @highcontrast4488 Год назад

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

  • @MahadeoPaighan
    @MahadeoPaighan 2 года назад

    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
    Plz help sir

  • @CHANDRAKANTGHOGATE
    @CHANDRAKANTGHOGATE Год назад

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

  • @zdrag0ns
    @zdrag0ns 2 года назад

    Worked , thanks a lot!

  • @OkdakSempai
    @OkdakSempai Год назад

    Very, useful thank you