How to Create Setup.exe in Visual Studio 2019 | FoxLearn

Поделиться
HTML-код
  • Опубликовано: 23 июн 2019
  • How to create setup file in visual studio 2019 for windows application step by step.
    Website: foxlearn.com
    Through this video tutorial you will learn:
    create simple c# application using visual studio
    how do i setup an exe file?
    how do i create a setup file in visual studio?
    How do you create an installer?
    how do i create a project in visual studio 2019
    create an installer from visual studio
    create setup/msi installer in Visual Studio 2019
    setup project deployment of a windows forms application
    microsoft visual studio 2019 installer projects tutorial

Комментарии • 357

  • @djsekav
    @djsekav 3 года назад +6

    Fox learn has to be one of the best tutorial channels I have seen in a long time

  • @simona6229
    @simona6229 4 года назад +14

    Just what I was looking for and helped a lot. If I could make one small suggestion and that's the target application should be called something like 'My Forms App' so it's much clearer when we're discussing the SetUp App and when the actual app being set up. But I'm being picky, I was still able to follow, just had to concentrate.

  •  4 года назад +1

    Amazing video!
    Congrats FoxLearn Team!!!

  • @SimpleExcelVBA
    @SimpleExcelVBA 3 года назад +1

    Awesome! Thanks for this piece of knowledge :)

  • @zabihbutt3451
    @zabihbutt3451 5 лет назад +20

    Thank you so much! Two requests,
    1. Make a tutorial create setup with sql server database and if possible use Ms VS 2015
    2. Your system specifications

    • @foxlearn
      @foxlearn  5 лет назад +1

      OK. Thank you for your suggestion !

    • @zabihbutt3451
      @zabihbutt3451 5 лет назад +3

      @@foxlearn Thank you in advance!
      And one more thing you are doing best...!

    • @atilla8773
      @atilla8773 3 года назад

      @@foxlearn Any updates on this ? Could you give the link if you got this on the channel? Thx in advance

  • @plexusdad825
    @plexusdad825 4 года назад +4

    Great video. I've been looking for something like this for a long time. Installshield is too expensive and WIX is a little trickey. This is perfect!

    • @foxlearn
      @foxlearn  4 года назад +2

      Thank you so much !

    • @Chiramisudo
      @Chiramisudo 4 года назад

      Just be warned if you're on source control. VDPROJ files constantly changes its GUIDs. 😖

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

      What about Advanced Installer?

  • @edinsonsanchez5591
    @edinsonsanchez5591 3 года назад +19

    Finally a tutorial channel that is simple, easy to follow, and without long unnecesary intos and bloat.

  • @nhanth
    @nhanth 5 лет назад +1

    Hey, I like your creative videos. Keep it up your great work, Sir.

    • @foxlearn
      @foxlearn  5 лет назад +1

      Thank you so much !

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

    Thanks for the straightforward tutorial!

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

    You just gained a subscriber. Thanks for this!

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

    عاش طريقتك جميله و مختصره. good job brother.

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

    Great. Finally smth worth watching and simple. Made my work so much easier.

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

    Thanks for the tutorial, I do have a question though, how can I include .dll files in the installer? My application is heavily dependent on them and I can't figure out a way to add them.

  • @vlad94
    @vlad94 4 года назад

    I wish I found this one month ago...
    I went with Inno Setup witch is great, but this seems much simpler
    Does this allows running PS scripts after install and before uninstall?

  • @gourabbera5237
    @gourabbera5237 3 года назад

    This tutorial is awesome. It is working properly.
    Thank you very much @Fox Learn

    • @foxlearn
      @foxlearn  3 года назад

      You're welcome. Thank you so much !

  • @katerose6161
    @katerose6161 3 года назад

    Thanks a lot

    • @foxlearn
      @foxlearn  3 года назад

      Thank you so much !

  • @joseantonioserrano6103
    @joseantonioserrano6103 4 года назад +2

    Excellent video! Just the information I was looking for to update my setup project on VS 2019.

  • @iancarr3923
    @iancarr3923 5 лет назад +3

    Excellent video - very helpful. Thanks.

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

    Thank you - the same basic process worked for VS 2022

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

    it worked tysm i was trying to make something like this for so long

  • @hawkeye3324
    @hawkeye3324 4 года назад

    thanks for everything
    definitely good job

  • @darrenhind9948
    @darrenhind9948 3 года назад +8

    I've learned so much from your tutorials as a beginner, so thank you.
    One question though, as I'm not fully understanding the difference between debug/release. How do I update my program after changing code in VS?

    • @darrenhind9948
      @darrenhind9948 3 года назад +1

      Is this the process after code change:
      Change from debug to release in config manager
      Rebuild
      Change back to debug
      Uninstall
      Reinstall ?

    • @schultemedia
      @schultemedia 3 года назад +3

      @@darrenhind9948 Debug is with Debug information if some ooperations fail, like if you develop in VS and get an error. Release also removes all comments and stuff like that, it is better and a bit faster if you deploy your application.

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

      save it

  • @narasimhaswamy5464
    @narasimhaswamy5464 4 года назад +1

    Will it work when I send it to my friends or throw windows defender as it stopped an unrecognised executable?

  • @mongii2
    @mongii2 3 года назад

    I found how to make installer app!! Thank you!!

  • @AzizjanAyupov_leo
    @AzizjanAyupov_leo 4 года назад

    Nice :)
    Thank you!

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

    Thank you. Best lesson i have ever seen

  • @dsrec592
    @dsrec592 3 года назад

    thank you so much for this tuto

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

    Thank you, It didn't work until I changed target platform to 64 and then rebuild it. it was easy and fast

  • @PhoenixNinjas
    @PhoenixNinjas 4 года назад

    Can you do this for publication on a website? However, the site runs on an ordinary Linux server. I have now tried everything possible, a publication on a web space (with automatic updates) does not work with MSIX Installer Project or ClickOnce.

  • @MuhammadAdnan-ic4ml
    @MuhammadAdnan-ic4ml 3 года назад

    Thank you so much such a great job bro

  • @MGArtDZN
    @MGArtDZN 4 года назад +1

    I get an error when trying to do this. My error says that my pc is missing the file vs_communitysomething.msi (i don't remember the entire name) and I watched tutorial for all visual studio versions, but they are all the same anyway. My vs is 2017...

  • @winleinandar2415
    @winleinandar2415 3 года назад +1

    I was in a trouble for the coming Tuesday project and I forgot how to make setup file and depressed a lot! Your video helps me so much! Thank youuuu! >.

  • @giosorianoterrazas1346
    @giosorianoterrazas1346 5 лет назад

    Genial que estés de vuelta

    • @foxlearn
      @foxlearn  5 лет назад +1

      Thank you my friend ^_^

  • @netsgomes0147
    @netsgomes0147 3 года назад

    Amazing,your'e doing a good job Fox Learn.Make a tutorial create Setup.exe with SQL Server DBMS in VS 2019

  • @sonar_devices
    @sonar_devices 4 года назад

    Thank you!!!

  • @monirkarimi1512
    @monirkarimi1512 4 года назад +1

    when we created exe file setup of any database application after installing source is visible how to hide or encrypt our code.

  • @afkirmhd2071
    @afkirmhd2071 5 лет назад

    Welcome back 😍🇲🇦

  • @bojidarkamenski3432
    @bojidarkamenski3432 5 лет назад +8

    Thank you for this tutorial!!! 🙂

    • @foxlearn
      @foxlearn  5 лет назад

      Thank you my friend !

  • @boborahimyuldashev9346
    @boborahimyuldashev9346 3 года назад

    Hello Fox Learn. I worked the table in c # and sql programs. The number of rows in the table exceeded 100,000. Does the table work poorly when running DataGridView in c #? Please help me with this.

  • @kiloemin
    @kiloemin 5 лет назад +1

    Thank you, Welcome back.

    • @foxlearn
      @foxlearn  5 лет назад

      Thank you so much !

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

    Nice job bro. You saved me ...

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

    i can't unsubscribe you! i have learned so much from you

  • @thehunter1579
    @thehunter1579 3 года назад +2

    Excellent video ... It's helped me a lot n saved my time. Can upload a video for setup file with crystal report and MySQL database...

  • @manoranjansahoo9721
    @manoranjansahoo9721 4 года назад +2

    Please make a complete video on visual studio 2019 tools, its features, tips & tricks etc.

    • @foxlearn
      @foxlearn  3 года назад

      Ok. Thank you for your suggestion

  • @shahiddani
    @shahiddani 2 месяца назад

    Thanks Fox Learn.

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

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

  • @pizzalover-69
    @pizzalover-69 2 года назад

    What about if i have resources i need to install with the application for it to function? for example wav files

  • @shahidzaman9522
    @shahidzaman9522 3 года назад

    Hi Fox Learn this toturial much more helpfull to me thank you so much,
    But there is a problem when i create the installer of my project then everything is working fine,
    But rdlc reports not working could you please help me out this problem.

  • @samrec
    @samrec 3 года назад

    This was of great help, thank you

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

    Great Tutorial.. Just one question .. I need my EXE to always be run as Administrator.. Is there anyway to add that to the Shortcut Icon created?

  • @thanhatnguyenthe7146
    @thanhatnguyenthe7146 4 года назад

    thank you for useful video.

  • @syntizenapts6498
    @syntizenapts6498 3 года назад

    Thank you!

  • @lulumitchely7324
    @lulumitchely7324 4 года назад

    Thank you so much! Can u take tutorial for self unistaller?

  • @peerapongjaipakdee3012
    @peerapongjaipakdee3012 3 года назад

    How can I add another dialog on install step without using the template that prepare on dialog before start select the install path ?

  • @qrexxed
    @qrexxed 3 года назад

    Thanks! Now I Can Make An Installer Without Using Other Stuff!

    • @foxlearn
      @foxlearn  3 года назад

      Glad I could help!

  • @easyengineering9134
    @easyengineering9134 2 года назад +6

    For the people having issues with the "you are trying to open a file of type system file .dll" I solved by using "Publish Items" instead of "Primary Output " in the "Project Output"

  • @simrandeepsinghbagga4705
    @simrandeepsinghbagga4705 4 года назад +2

    I have some exe/msi files in my local drive which I need to install with SetUp Project. How can I add the same in SetUp Project?

    • @debill2043
      @debill2043 4 года назад

      you need to put them in the same folder

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

    That's is why I loved VB6!

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

    i have an question that is ; in my project have sound file so when sound are played , created exe giving to me fail. what can i do while create setup for sound folder ?

  • @bagasaditya3670
    @bagasaditya3670 3 года назад

    hello sir, I have a question, after I get setup.exe and launch on other users we get errors like a not showing WinForm. My setup has a database MySql. Can you solve the problem?

  • @Kuntaponv
    @Kuntaponv 3 года назад +1

    Is it possible to add custom background, text, or UI button?

  • @HariKRISHNANVSharik666
    @HariKRISHNANVSharik666 3 года назад

    thanks.. still my shortcut points to dll file not to exe . By opening with shortcut shows - you are attempting to open a file of type System file (.dll)

  • @edsoncrispim2147
    @edsoncrispim2147 3 года назад

    thank you!!!

  • @mqst
    @mqst 4 года назад

    Спасибо!

  • @Freska-fl9mv
    @Freska-fl9mv 4 года назад

    hello,,,, icouldnt install it from extention menu , i get this massege ( one or more extention couldnt be install : the remote name couldnt be solved 'visualstudioclient.gallery.vassets.io' iam using visual 2019 with actived windows 10 , and microsoft link not open too in website . can u help me

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

    🇺🇲Thanks man
    🇧🇷 Obrigado cara

  • @SukitSaingyong
    @SukitSaingyong 4 года назад

    Hi, I have file xml config include. After setup installer can’t write modify to xml file.

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

    Tysm!

  • @kgptutorials2007
    @kgptutorials2007 3 года назад

    Thanks for sharing this. Very useful

    • @foxlearn
      @foxlearn  3 года назад

      You're welcome. Thank you !

  • @edgar882
    @edgar882 4 года назад +5

    So if I want to give this program to my friend, what do I have to give them? The setup installer or the whole folder or what?

    • @seeranimate4363
      @seeranimate4363 4 года назад +5

      You need to give your friend the setup installer.

    • @foxlearn
      @foxlearn  4 года назад +2

      Sent to your friend setup file in the debug directory

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

    Best channel on youtube

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

    which folder we will give to others for installation?

  • @michaelmaina1
    @michaelmaina1 5 лет назад

    you are great..
    great help

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

    Hi,
    I use AppData folder to use some files like db or ini files. But they are always in readonly mode in AppData folder. How can I fix it? I checked properties of files but no solution.
    regatds,
    Mucip:)

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

    Thanks a lot.

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

    How i can set the Default installation folder ? Example: "C:\Programm" and remove the choose of installation folder ?

  • @Magnezone962
    @Magnezone962 4 года назад

    Thank you for help make my first app

  • @danieltruthm2802
    @danieltruthm2802 4 года назад

    I have one problem if i try to install the exe aplication in difrend windows the database cant read by aplication cause the location not the same how fix it

  • @figenasil
    @figenasil 3 года назад

    thank you so much

  • @douglasandrade2303
    @douglasandrade2303 3 года назад

    Great! Help me a lot!

  • @aravintht471
    @aravintht471 3 года назад

    I already create setup file and install in another machine it's working fine. If I made changes in project and get another setup and install the machine it's not updating existing files,it create another setup in program files, existing exe setup is not removed in control panel programs. Please tell me how to create update setup file.
    Thanks

    • @foxlearn
      @foxlearn  3 года назад

      You can use Clickonce ruclips.net/video/SvZCFtaJcsk/видео.html or create an auto updater allows your application automatically update

  • @edsonferraz1
    @edsonferraz1 3 года назад

    Thanks you very much, help me a lot.

    • @foxlearn
      @foxlearn  3 года назад

      You are most welcome

  • @dart3dstore46
    @dart3dstore46 4 года назад

    OMG I love your Tutorials

    • @foxlearn
      @foxlearn  4 года назад +1

      Thank you !

    • @dart3dstore46
      @dart3dstore46 4 года назад

      Fox Learn your welcome

    • @dart3dstore46
      @dart3dstore46 4 года назад

      Fox Learn can you do a tutorial of how to sell our software

  • @PulkitsoftLLP
    @PulkitsoftLLP 3 года назад +1

    Do you have an idea? How to add additional executable and installable files with C# installer project, that install automatically with application setup.

  • @Christian-db2ld
    @Christian-db2ld 7 месяцев назад

    is this available for bin files? I want an exe file to execute my bin files and install them...

  • @sent4dc
    @sent4dc 4 года назад

    What if the OS that you're installing it on doesn't have the correct .NET framework installed? Then what.

  • @praveenkumar.m7949
    @praveenkumar.m7949 3 года назад

    Very useful of this video Thank you so much, I subscribed this video😇😇😅

    • @foxlearn
      @foxlearn  3 года назад

      Thanks for subbing!

  • @nielsvansteen9087
    @nielsvansteen9087 4 года назад

    When I used streamwriter, and reader ,with a txt document, to store a directory path previously chosen by the user, I can't make an installer because i get an error that it can't find the .txt file I included

    • @emiel_nl
      @emiel_nl 4 года назад

      can you use the streamwriter in debug mode if you remove the text file?

  • @nicador100
    @nicador100 3 года назад

    Thanks very much !!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    good explanation

  • @seupyrassic3144
    @seupyrassic3144 3 года назад

    maybe I am doing something wrong but I followed ur steps even did a fresh Csharp application and setup I just get a .dll file on my desktop

    • @foxlearn
      @foxlearn  3 года назад

      I think you should select your app, instead of library

  • @hoke7983
    @hoke7983 4 года назад

    Very very thx!

  • @awsomecrossing
    @awsomecrossing 4 года назад +1

    Hello, how do you create a setup.exe that has external files? I am trying to create an external exe that will also install those files without altering them. Thank you

    • @foxlearn
      @foxlearn  4 года назад

      OK. Thank you for your suggestion. I'll upload soon !

  • @anandkumar56
    @anandkumar56 3 года назад

    It is working for uwp application.
    Any suggestion?

  • @inswins
    @inswins 5 лет назад

    Can this be use with local database like MySql and how can we let user to get fresh database when install the software for the first time?

    • @foxlearn
      @foxlearn  5 лет назад

      OK. Thank you for your suggestion. I'll upload soon !

  • @mourtalladiop8649
    @mourtalladiop8649 5 лет назад

    Thank's a lot

    • @foxlearn
      @foxlearn  5 лет назад

      You're welcome. Thank you !

  • @kelfosindia2716
    @kelfosindia2716 3 года назад

    which format of the icon is used?

  • @schorsch-is6kv
    @schorsch-is6kv 4 года назад

    Really - you are a hero.
    Searched a long time for a way to include "Access Database Engine" at a setup.
    You showed it.
    Only one question: is it possible to include a uninstall shortcut (at the startmenu for example)

  • @domingoslourenco6542
    @domingoslourenco6542 4 года назад

    i have a program built in visual studio, it colects data and sends to a sql , when i run the from visual studio it works propaly, but when i create a setup.exe and install on a diferent computer it does not sent data to the remote sql your help please

    • @foxlearn
      @foxlearn  4 года назад

      You should create a simple form allows you to change connection string. I'll upload soon !

  • @eimdev
    @eimdev 5 лет назад +1

    wow Thanks. look easier than wix installer :), can we install in another folder than 'program files' ?

    • @foxlearn
      @foxlearn  5 лет назад +1

      Yes, You can select the folder you want to setup

    • @Chiramisudo
      @Chiramisudo 4 года назад

      Haha, yeah, easier unless you're on source control. VDPROJ files are constantly rehashing their GUIDs. 😫