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

Sdílet
Vložit
  • čas přidán 23. 06. 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

Komentáře • 357

  • @djsekav
    @djsekav Před 3 lety +6

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

  • @simona6229
    @simona6229 Před 4 lety +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.

  •  Před 4 lety +1

    Amazing video!
    Congrats FoxLearn Team!!!

  • @zabihbutt3451
    @zabihbutt3451 Před 5 lety +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  Před 5 lety +1

      OK. Thank you for your suggestion !

    • @zabihbutt3451
      @zabihbutt3451 Před 5 lety +3

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

    • @atilla8773
      @atilla8773 Před 3 lety

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

  • @edinsonsanchez5591
    @edinsonsanchez5591 Před 3 lety +19

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

  • @plexusdad825
    @plexusdad825 Před 4 lety +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  Před 4 lety +2

      Thank you so much !

    • @Chiramisudo
      @Chiramisudo Před 4 lety

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

    • @orhoushmand85
      @orhoushmand85 Před 2 lety

      What about Advanced Installer?

  • @SimpleExcelVBA
    @SimpleExcelVBA Před 2 lety +1

    Awesome! Thanks for this piece of knowledge :)

  • @sohaibsipra3878
    @sohaibsipra3878 Před 11 měsíci

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

  • @SimplyJustAFan
    @SimplyJustAFan Před 2 lety

    You just gained a subscriber. Thanks for this!

  • @winleinandar2415
    @winleinandar2415 Před 3 lety +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

    Genial que estés de vuelta

    • @foxlearn
      @foxlearn  Před 5 lety +1

      Thank you my friend ^_^

  • @nhanth
    @nhanth Před 5 lety +1

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

  • @katerose6161
    @katerose6161 Před 3 lety

    Thanks a lot

  • @gourabbera5237
    @gourabbera5237 Před 3 lety

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

    • @foxlearn
      @foxlearn  Před 3 lety

      You're welcome. Thank you so much !

  • @HCM_official
    @HCM_official Před 2 lety

    Thanks for the straightforward tutorial!

  • @etchgaming9726
    @etchgaming9726 Před 2 lety

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

  • @iancarr3923
    @iancarr3923 Před 5 lety +3

    Excellent video - very helpful. Thanks.

  • @joseantonioserrano6103
    @joseantonioserrano6103 Před 4 lety +2

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

  • @Surzom
    @Surzom Před 2 lety +1

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

  • @kiloemin
    @kiloemin Před 5 lety +1

    Thank you, Welcome back.

  • @ezramammo3056
    @ezramammo3056 Před 2 lety

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

  • @mongii2
    @mongii2 Před 3 lety

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

  • @afkirmhd2071
    @afkirmhd2071 Před 5 lety

    Welcome back 😍🇲🇦

  • @EfieldHfield_377
    @EfieldHfield_377 Před 2 lety

    Thank you - the same basic process worked for VS 2022

  • @netsgomes0147
    @netsgomes0147 Před 3 lety

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

  • @skostasx
    @skostasx Před 2 lety

    Thank you. Best lesson i have ever seen

  • @hawkeye3324
    @hawkeye3324 Před 4 lety

    thanks for everything
    definitely good job

  • @bojidarkamenski3432
    @bojidarkamenski3432 Před 5 lety +8

    Thank you for this tutorial!!! 🙂

  • @AzizjanAyupov_leo
    @AzizjanAyupov_leo Před 4 lety

    Nice :)
    Thank you!

  • @abolfazlmandanipor6303

    Nice job bro. You saved me ...

  • @Nicky355
    @Nicky355 Před 4 měsíci

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

  • @MuhammadAdnan-ic4ml
    @MuhammadAdnan-ic4ml Před 3 lety

    Thank you so much such a great job bro

  • @thehunter1579
    @thehunter1579 Před 3 lety +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...

  • @darrenhind9948
    @darrenhind9948 Před 3 lety +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 Před 3 lety +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 Před 3 lety +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 Před rokem

      save it

  • @lemorlenny
    @lemorlenny Před rokem

    That's is why I loved VB6!

  • @dsrec592
    @dsrec592 Před 3 lety

    thank you so much for this tuto

  • @qrexxed
    @qrexxed Před 3 lety

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

  • @samrec
    @samrec Před 3 lety

    This was of great help, thank you

  • @manoranjansahoo9721
    @manoranjansahoo9721 Před 4 lety +2

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

    • @foxlearn
      @foxlearn  Před 3 lety

      Ok. Thank you for your suggestion

  • @iyadhatem6955
    @iyadhatem6955 Před 2 lety

    Best channel on youtube

  • @MGArtDZN
    @MGArtDZN Před 4 lety +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...

  • @vlad94
    @vlad94 Před 4 lety

    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?

  • @thanhatnguyenthe7146
    @thanhatnguyenthe7146 Před 4 lety

    thank you for useful video.

  • @SSoup64
    @SSoup64 Před 2 lety

    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.

  • @dart3dstore46
    @dart3dstore46 Před 4 lety

    OMG I love your Tutorials

  • @sonar_devices
    @sonar_devices Před 4 lety

    Thank you!!!

  • @mintyfriday
    @mintyfriday Před 5 měsíci

    🇺🇲Thanks man
    🇧🇷 Obrigado cara

  • @mqst
    @mqst Před 4 lety

    Спасибо!

  • @shahiddani
    @shahiddani Před 2 měsíci

    Thanks Fox Learn.

  • @kgptutorials2007
    @kgptutorials2007 Před 3 lety

    Thanks for sharing this. Very useful

    • @foxlearn
      @foxlearn  Před 3 lety

      You're welcome. Thank you !

  • @monirkarimi1512
    @monirkarimi1512 Před 4 lety +1

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

  • @Magnezone962
    @Magnezone962 Před 4 lety

    Thank you for help make my first app

  • @syntizenapts6498
    @syntizenapts6498 Před 3 lety

    Thank you!

  • @PhoenixNinjas
    @PhoenixNinjas Před 4 lety

    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.

  • @praveenkumar.m7949
    @praveenkumar.m7949 Před 3 lety

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

  • @michaelmaina1
    @michaelmaina1 Před 5 lety

    you are great..
    great help

  • @schorsch-is6kv
    @schorsch-is6kv Před 4 lety

    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)

  • @easyengineering9134
    @easyengineering9134 Před 2 lety +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"

  • @lulumitchely7324
    @lulumitchely7324 Před 4 lety

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

  • @boborahimyuldashev9346

    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.

  • @narasimhaswamy5464
    @narasimhaswamy5464 Před 4 lety +1

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

  • @edsonferraz1
    @edsonferraz1 Před 3 lety

    Thanks you very much, help me a lot.

  • @douglasandrade2303
    @douglasandrade2303 Před 3 lety

    Great! Help me a lot!

  • @edsoncrispim2147
    @edsoncrispim2147 Před 3 lety

    thank you!!!

  • @simrandeepsinghbagga4705
    @simrandeepsinghbagga4705 Před 4 lety +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 Před 4 lety

      you need to put them in the same folder

  • @kumaresha3348
    @kumaresha3348 Před 3 lety

    Very nice video. Please do video on setup using MySQL database.

    • @foxlearn
      @foxlearn  Před 3 lety

      OK. Thank you for your suggestion !

  • @simeenkhan964
    @simeenkhan964 Před 2 lety

    good explanation

  • @edgar882
    @edgar882 Před 4 lety +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 Před 4 lety +5

      You need to give your friend the setup installer.

    • @foxlearn
      @foxlearn  Před 4 lety +2

      Sent to your friend setup file in the debug directory

  • @pizzalover-69
    @pizzalover-69 Před 2 lety

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

  • @worf8856
    @worf8856 Před 4 lety

    Thanks! This is what I was looking for, but kill the music.

  • @CarlosGarcia-ct2mv
    @CarlosGarcia-ct2mv Před 5 lety +5

    thank you , please, installer with local database in proyect.

    • @foxlearn
      @foxlearn  Před 5 lety +7

      OK. I'll upload in this week. thank you so much !

    • @diegobuenano5833
      @diegobuenano5833 Před 5 lety +2

      @@foxlearn I'll be waiting for that 😊

  • @PulkitsoftLLP
    @PulkitsoftLLP Před 3 měsíci

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

  • @okantel6523
    @okantel6523 Před 2 lety

    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 ?

  • @Freska-fl9mv
    @Freska-fl9mv Před 4 lety

    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

  • @mrrcomp
    @mrrcomp Před 11 měsíci

    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?

  • @Kuntaponv
    @Kuntaponv Před 3 lety +1

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

  • @projetondd7873
    @projetondd7873 Před 2 lety

    Thanks a lot.

  • @bagasaditya3670
    @bagasaditya3670 Před 3 lety

    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?

  • @fatmcfat2353
    @fatmcfat2353 Před 2 lety

    Tysm!

  • @figenasil
    @figenasil Před 3 lety

    thank you so much

  • @hoke7983
    @hoke7983 Před 4 lety

    Very very thx!

  • @2PlayGaming
    @2PlayGaming Před 5 lety +1

    Nice, please make a video tutorial to protect code source for prevent crack or similar, is posible ? Thanks!

    • @foxlearn
      @foxlearn  Před 5 lety

      OK. Thank you for your suggestion !

  • @nicador100
    @nicador100 Před 3 lety

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

  • @peerapongjaipakdee3012

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

  • @HariKRISHNANVSharik666

    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)

  • @SukitSaingyong
    @SukitSaingyong Před 4 lety

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

  • @mourtalladiop8649
    @mourtalladiop8649 Před 5 lety

    Thank's a lot

    • @foxlearn
      @foxlearn  Před 5 lety

      You're welcome. Thank you !

  • @mucip_ilbuga
    @mucip_ilbuga Před 9 měsíci

    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:)

  • @i12die
    @i12die Před 4 lety

    You have cute voice :)

  • @eimdev
    @eimdev Před 5 lety +1

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

    • @foxlearn
      @foxlearn  Před 5 lety +1

      Yes, You can select the folder you want to setup

    • @Chiramisudo
      @Chiramisudo Před 4 lety

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

  • @danieltruthm2802
    @danieltruthm2802 Před 4 lety

    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

  • @LoganBigHat
    @LoganBigHat Před 2 lety

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

  • @charlesbaldo
    @charlesbaldo Před 4 lety

    Nice this is so similar to ISLE

  • @shahidzaman9522
    @shahidzaman9522 Před 3 lety

    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.

  • @yeremiawijaya7456
    @yeremiawijaya7456 Před 4 lety

    hey, so i have this path that lead to the folder and file that i use in the application.
    string dataPath = @"C:\Users\vegay\source
    epos\GisDestop\GisDestop\Resource\DataMaps\";
    How i change the path so it wont give me error when i compile it to installer?

  • @Milion11
    @Milion11 Před 4 lety

    Good Tutorial

  • @Abdulaziz-Saeed
    @Abdulaziz-Saeed Před 5 lety

    Thank you

  • @sent4dc
    @sent4dc Před 4 lety

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

  • @dudegamer4724
    @dudegamer4724 Před 3 lety

    Wocommerce rest API use winform c# . Kindly make a video on this topic.

  • @Christian-db2ld
    @Christian-db2ld Před 6 měsíci

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