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

Поділитися
Вставка
  • Опубліковано 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!!!

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

  • @edinsonsanchez5591
    @edinsonsanchez5591 3 роки тому +19

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

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

  • @SimpleExcelVBA
    @SimpleExcelVBA 2 роки тому +1

    Awesome! Thanks for this piece of knowledge :)

  • @sohaibsipra3878
    @sohaibsipra3878 11 місяців тому

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

  • @SimplyJustAFan
    @SimplyJustAFan 2 роки тому

    You just gained a subscriber. Thanks for this!

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

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

  • @katerose6161
    @katerose6161 3 роки тому

    Thanks a lot

    • @foxlearn
      @foxlearn  3 роки тому

      Thank you so much !

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

  • @HCM_official
    @HCM_official 2 роки тому

    Thanks for the straightforward tutorial!

  • @etchgaming9726
    @etchgaming9726 2 роки тому

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

  • @iancarr3923
    @iancarr3923 5 років тому +3

    Excellent video - very helpful. Thanks.

  • @joseantonioserrano6103
    @joseantonioserrano6103 4 роки тому +2

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

  • @Surzom
    @Surzom 2 роки тому +1

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

  • @kiloemin
    @kiloemin 5 років тому +1

    Thank you, Welcome back.

    • @foxlearn
      @foxlearn  5 років тому

      Thank you so much !

  • @ezramammo3056
    @ezramammo3056 2 роки тому

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

  • @mongii2
    @mongii2 3 роки тому

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

  • @afkirmhd2071
    @afkirmhd2071 5 років тому

    Welcome back 😍🇲🇦

  • @EfieldHfield_377
    @EfieldHfield_377 2 роки тому

    Thank you - the same basic process worked for VS 2022

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

  • @skostasx
    @skostasx 2 роки тому

    Thank you. Best lesson i have ever seen

  • @hawkeye3324
    @hawkeye3324 4 роки тому

    thanks for everything
    definitely good job

  • @bojidarkamenski3432
    @bojidarkamenski3432 5 років тому +8

    Thank you for this tutorial!!! 🙂

    • @foxlearn
      @foxlearn  5 років тому

      Thank you my friend !

  • @AzizjanAyupov_leo
    @AzizjanAyupov_leo 4 роки тому

    Nice :)
    Thank you!

  • @abolfazlmandanipor6303
    @abolfazlmandanipor6303 Рік тому

    Nice job bro. You saved me ...

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

  • @MuhammadAdnan-ic4ml
    @MuhammadAdnan-ic4ml 3 роки тому

    Thank you so much such a great job bro

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

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

  • @lemorlenny
    @lemorlenny Рік тому

    That's is why I loved VB6!

  • @dsrec592
    @dsrec592 3 роки тому

    thank you so much for this tuto

  • @qrexxed
    @qrexxed 3 роки тому

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

    • @foxlearn
      @foxlearn  3 роки тому

      Glad I could help!

  • @samrec
    @samrec 3 роки тому

    This was of great help, thank you

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

  • @iyadhatem6955
    @iyadhatem6955 2 роки тому

    Best channel on youtube

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

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

  • @thanhatnguyenthe7146
    @thanhatnguyenthe7146 4 роки тому

    thank you for useful video.

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

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

  • @sonar_devices
    @sonar_devices 4 роки тому

    Thank you!!!

  • @mintyfriday
    @mintyfriday 5 місяців тому

    🇺🇲Thanks man
    🇧🇷 Obrigado cara

  • @mqst
    @mqst 4 роки тому

    Спасибо!

  • @shahiddani
    @shahiddani 2 місяці тому

    Thanks Fox Learn.

  • @kgptutorials2007
    @kgptutorials2007 3 роки тому

    Thanks for sharing this. Very useful

    • @foxlearn
      @foxlearn  3 роки тому

      You're welcome. 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.

  • @Magnezone962
    @Magnezone962 4 роки тому

    Thank you for help make my first app

  • @syntizenapts6498
    @syntizenapts6498 3 роки тому

    Thank you!

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

  • @praveenkumar.m7949
    @praveenkumar.m7949 3 роки тому

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

    • @foxlearn
      @foxlearn  3 роки тому

      Thanks for subbing!

  • @michaelmaina1
    @michaelmaina1 5 років тому

    you are great..
    great help

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

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

  • @lulumitchely7324
    @lulumitchely7324 4 роки тому

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

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

  • @narasimhaswamy5464
    @narasimhaswamy5464 4 роки тому +1

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

  • @edsonferraz1
    @edsonferraz1 3 роки тому

    Thanks you very much, help me a lot.

    • @foxlearn
      @foxlearn  3 роки тому

      You are most welcome

  • @douglasandrade2303
    @douglasandrade2303 3 роки тому

    Great! Help me a lot!

  • @edsoncrispim2147
    @edsoncrispim2147 3 роки тому

    thank you!!!

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

  • @kumaresha3348
    @kumaresha3348 3 роки тому

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

    • @foxlearn
      @foxlearn  3 роки тому

      OK. Thank you for your suggestion !

  • @simeenkhan964
    @simeenkhan964 2 роки тому

    good explanation

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

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

  • @worf8856
    @worf8856 4 роки тому

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

  • @CarlosGarcia-ct2mv
    @CarlosGarcia-ct2mv 5 років тому +5

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

    • @foxlearn
      @foxlearn  5 років тому +7

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

    • @diegobuenano5833
      @diegobuenano5833 5 років тому +2

      @@foxlearn I'll be waiting for that 😊

  • @PulkitsoftLLP
    @PulkitsoftLLP 3 місяці тому

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

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

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

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

  • @Kuntaponv
    @Kuntaponv 3 роки тому +1

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

  • @projetondd7873
    @projetondd7873 2 роки тому

    Thanks a lot.

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

  • @fatmcfat2353
    @fatmcfat2353 2 роки тому

    Tysm!

  • @figenasil
    @figenasil 3 роки тому

    thank you so much

  • @hoke7983
    @hoke7983 4 роки тому

    Very very thx!

  • @2PlayGaming
    @2PlayGaming 5 років тому +1

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

    • @foxlearn
      @foxlearn  5 років тому

      OK. Thank you for your suggestion !

  • @nicador100
    @nicador100 3 роки тому

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

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

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

  • @SukitSaingyong
    @SukitSaingyong 4 роки тому

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

  • @mourtalladiop8649
    @mourtalladiop8649 5 років тому

    Thank's a lot

    • @foxlearn
      @foxlearn  5 років тому

      You're welcome. Thank you !

  • @mucip_ilbuga
    @mucip_ilbuga 9 місяців тому

    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 4 роки тому

    You have cute voice :)

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

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

  • @LoganBigHat
    @LoganBigHat 2 роки тому

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

  • @charlesbaldo
    @charlesbaldo 4 роки тому

    Nice this is so similar to ISLE

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

  • @yeremiawijaya7456
    @yeremiawijaya7456 4 роки тому

    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 4 роки тому

    Good Tutorial

  • @Abdulaziz-Saeed
    @Abdulaziz-Saeed 5 років тому

    Thank you

    • @foxlearn
      @foxlearn  5 років тому

      Thank you so much !

  • @sent4dc
    @sent4dc 4 роки тому

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

  • @dudegamer4724
    @dudegamer4724 3 роки тому

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

  • @Christian-db2ld
    @Christian-db2ld 6 місяців тому

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