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

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 358

  • @djsekav
    @djsekav 3 роки тому +6

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

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

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

  • @simona6229
    @simona6229 5 років тому +15

    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.

  • @easyengineering9134
    @easyengineering9134 3 роки тому +7

    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"

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

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

      save it

  • @PulkitsoftLLP
    @PulkitsoftLLP 6 місяців тому

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

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

    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?

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

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

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

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

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

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

  • @Nicky355
    @Nicky355 7 місяців тому

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

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

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

    which folder we will give to others for installation?

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

    Thank you. Best lesson i have ever seen

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

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

  • @plexusdad825
    @plexusdad825 5 років тому +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  5 років тому +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?

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

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

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

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

    It is working for uwp application.
    Any suggestion?

  • @thehunter1579
    @thehunter1579 4 роки тому +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...

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

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

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

    What about c++ applications? Can i make it for c++? Or c# only?

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

    Amazing video!
    Congrats FoxLearn Team!!!

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

    That's is why I loved VB6!

  • @winleinandar2415
    @winleinandar2415 4 роки тому +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! >.

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

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

    How can you sign the assembly (.exe) project with a certificate before generating the package (.msi). Good job. thanks

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

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

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

    Hello, where did you get the app and appicon?

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

    Thank you - the same basic process worked for VS 2022

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

    Thanks for the straightforward tutorial!

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

    You just gained a subscriber. Thanks for this!

  • @AhmedSalah-ks5bq
    @AhmedSalah-ks5bq 11 місяців тому

    what extension should I download for the icon

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

    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.

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

    would be nice if you describe what you are doing when draging stuff and explane!!!

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

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

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

  • @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 ua-cam.com/video/SvZCFtaJcsk/v-deo.html or create an auto updater allows your application automatically update

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

    Nice job bro. You saved me ...

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

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

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

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

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

      You're welcome. Thank you so much !

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

    which format of the icon is used?

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

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

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

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

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

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

    do i need all of visual studio or specific things to compile a exe ?

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

      If you want to make a setup file, you should add your .exe file

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

    Hello fox learn.
    I wante to run application as administrator from shortcut. I cant find that option in right click at desktop. Can you help me please👌

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

    The shortcut had a problem, it is wrong Target Location and Target, so when user click right in shortcut => open file location ===> cannot open folder contains application setup. Please help me fix it. Thank you.

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

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

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

      Glad I could help!

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

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

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

    Thanks Dear,
    but how i can export the file as exe file to share it with friends

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

      Thank you for your suggestion. Let me try to research

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

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

    Thank you, but I am facing problem - on right click -Install/Uninstall is disabled for me. Can u pls help me out.

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

    Microsoft Visual Studio Installer Projects is installed on my vs2019, but it wont loaded when i click new project. what should i do?

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

    very nice video but I am facing an issue.
    when i install the setup. it shows me .lnk file on desktop and when I try to open it shows "You are attempting to open a file type 'system file' (.dll)
    please help me how to solve this issue.
    thanks in advance.

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

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

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

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

    Genial que estés de vuelta

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

      Thank you my friend ^_^

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

    Thank you for this tutorial!!! 🙂

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

      Thank you my friend !

  • @awsomecrossing
    @awsomecrossing 5 років тому +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  5 років тому

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

  • @minedyse2014
    @minedyse2014 4 роки тому +4

    Why I don't have that in my Visual Studio 2019?

    • @abdiqaniahmed1519
      @abdiqaniahmed1519 4 роки тому +4

      Go to Extensions> Manage Extensions> online > search for "installer project" and then install

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

    Excellent video - very helpful. Thanks.

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

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

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

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

    Hi! After following all your steps, when I try open my installer it asks me to install the 4.6.1 version of the .NET Framework. However, when I go to do so, apparently I already have it??? Help!

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

      Lol nvm I just installed the 4.6.1 framework for VS and that seemed to fix it.

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

      Same issue here, Fox there is a solution? Thanks

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

      I think you should select target .net version at requirement item

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

    Thanks for this tutorial. When I build the project setup I get some errors, the first one is "'MSVCP140.dll' targeting 'x64' is not compatible with the project's target platform 'x86'". Can you please help me to solve the issue? Thank you.

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

    good but you really have to watch closely and follow carefully... took me quite a while

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

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

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

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

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

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

    This was of great help, thank you

  • @shahiddani
    @shahiddani 6 місяців тому

    Thanks Fox Learn.

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

    This method works but i'm facing an error where my sqlite database is being set to read only after the user installs the application. I literally don't even know where to check where that can be dealt with.

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

    I made as the instruction in this video but it doesn't work on windows 7
    How can i fix that

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

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

    How to build again and update/repair same setup ?

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

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

    hello, im using arm architecture and maybe because of this i cant build my setup, it shows "Unrecoverable build error - 0x800700C1" :c

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

    I get the error that the instalation needs 4.6.1,i have installed the newest version of net framework on my pc,and i changed it in the program (Prerequisities) but it still asks for 4.6.1,pls help

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

      You should change .net Prerequisities in your setup file

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

    can you make a video tutorial to make a portable setup file

  • @SIMBA_SCRIPTS
    @SIMBA_SCRIPTS 8 місяців тому

    🇺🇲Thanks man
    🇧🇷 Obrigado cara

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

    Why the programs created by visual studio have different form dimensions in different secreen types of laptops ,this couse opjects in the forms loss there original dimintions and every think come be
    Bad look

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

    good explanation

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

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

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

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

    Thanks for sharing this. Very useful

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

      You're welcome. Thank you !

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

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

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

    You didn't show how to correct the Build warning of the .NET framework version of the Project did not match the .NET Framework version of the launch condition. You can double click on the Microsoft .NET Framework under the Detected Dependencies of your setup project to show the .NET Framework Launch Condition Properties, then change the version to match what the program is using. In your case it is .NET Framework version 4.71. ( pause your video at the 4:58 minute mark and look at the warning in the Output Window. )

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

      OK. Thank you for your suggestion

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

    Nice Tutorial but I have a Problem. My Program need 2 Textfiles in an specific folder. The folder won't install even if i said in the properties "AlwaysCreate" = "True" . What do I do wrong? Also the 2 Textfiles won't come with. I implemented them in the Setup with "Add file"
    Edit: Found the solution by myself.

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

      Would you care to share your solution ?

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

      @@brianmanden Hi, i created the Folder in "User's Programs Menu" and this was the mistake. The Solution was to create the Folder in "Application Folder" and include the Textfiles in there.
      Now i only have the Problem that my program doesn't have any rights to write on any drive on the PC. My program can rewrite a CONFIG file via a specific Password you type in.

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

      @@isosek6625 Thank you :)

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

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

    I cannot run the msi without administrator rights.
    Can you help me please? :)

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

    Thanks a lot

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

      Thank you so much !

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

    I can't find windows form app...

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

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

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

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

      OK. Thank you for your suggestion !

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

    Created the setup and everything worked great except the shortcuts, they appeared but did not point towards the .exe file that was installed with it.

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

      You should add shortcut to button

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

    Hi when i run my application client desktop they told me that read only can you please help me ?