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.
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"
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 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.
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.
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! >.
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.
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 ?
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
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:)
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.
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?
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.
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?
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.
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...
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
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!
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.
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.
Do you have an idea? How to add additional executable and installable files with C# installer project, that install automatically with application setup.
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.
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)
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
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
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. )
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 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.
Fox learn has to be one of the best tutorial channels I have seen in a long time
Finally a tutorial channel that is simple, easy to follow, and without long unnecesary intos and bloat.
Thank you !
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.
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"
Please tell how
THANK YOU
THANKS YOU!!!!
THANK YOUUUU!
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?
Is this the process after code change:
Change from debug to release in config manager
Rebuild
Change back to debug
Uninstall
Reinstall ?
@@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.
save it
Question: during visual setup creation add launch conditions if the specified file exists.
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?
Great. Finally smth worth watching and simple. Made my work so much easier.
it worked tysm i was trying to make something like this for so long
عاش طريقتك جميله و مختصره. good job brother.
Thank you, It didn't work until I changed target platform to 64 and then rebuild it. it was easy and fast
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?
You need to give your friend the setup installer.
Sent to your friend setup file in the debug directory
which folder we will give to others for installation?
Thank you. Best lesson i have ever seen
Is it possible to add custom background, text, or UI button?
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!
Thank you so much !
Just be warned if you're on source control. VDPROJ files constantly changes its GUIDs. 😖
What about Advanced Installer?
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.
I found how to make installer app!! Thank you!!
It is working for uwp application.
Any suggestion?
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...
Did you find a solution to do this
i can't unsubscribe you! i have learned so much from you
What about c++ applications? Can i make it for c++? Or c# only?
yes you can
Amazing video!
Congrats FoxLearn Team!!!
That's is why I loved VB6!
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! >.
Please make a complete video on visual studio 2019 tools, its features, tips & tricks etc.
Ok. Thank you for your suggestion
Best channel on youtube
How can you sign the assembly (.exe) project with a certificate before generating the package (.msi). Good job. thanks
OK. Thank you for your suggestion. I'll upload soon !
Hello, where did you get the app and appicon?
Thank you - the same basic process worked for VS 2022
Thanks for the straightforward tutorial!
You just gained a subscriber. Thanks for this!
what extension should I download for the icon
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.
would be nice if you describe what you are doing when draging stuff and explane!!!
is this available for bin files? I want an exe file to execute my bin files and install them...
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 ?
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
You can use Clickonce ua-cam.com/video/SvZCFtaJcsk/v-deo.html or create an auto updater allows your application automatically update
Nice job bro. You saved me ...
How i can set the Default installation folder ? Example: "C:\Programm" and remove the choose of installation folder ?
This tutorial is awesome. It is working properly.
Thank you very much @Fox Learn
You're welcome. Thank you so much !
which format of the icon is used?
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
I think you should select your app, instead of library
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:)
Will it work when I send it to my friends or throw windows defender as it stopped an unrecognised executable?
do i need all of visual studio or specific things to compile a exe ?
If you want to make a setup file, you should add your .exe file
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👌
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.
Thanks! Now I Can Make An Installer Without Using Other Stuff!
Glad I could help!
Wocommerce rest API use winform c# . Kindly make a video on this topic.
Thanks Dear,
but how i can export the file as exe file to share it with friends
Thank you for your suggestion. Let me try to research
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?
Thank you, but I am facing problem - on right click -Install/Uninstall is disabled for me. Can u pls help me out.
Microsoft Visual Studio Installer Projects is installed on my vs2019, but it wont loaded when i click new project. what should i do?
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.
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?
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.
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...
Genial que estés de vuelta
Thank you my friend ^_^
Thank you for this tutorial!!! 🙂
Thank you my friend !
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
OK. Thank you for your suggestion. I'll upload soon !
Why I don't have that in my Visual Studio 2019?
Go to Extensions> Manage Extensions> online > search for "installer project" and then install
Excellent video - very helpful. Thanks.
Thank you !
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?
OK. Thank you for your suggestion. I'll upload soon !
Excellent video! Just the information I was looking for to update my setup project on VS 2019.
Thank you !
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!
Lol nvm I just installed the 4.6.1 framework for VS and that seemed to fix it.
Same issue here, Fox there is a solution? Thanks
I think you should select target .net version at requirement item
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.
your machine is 32 bit?
@@rexcode9366 I have solved the issue, thanks.
good but you really have to watch closely and follow carefully... took me quite a while
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.
Do you have an idea? How to add additional executable and installable files with C# installer project, that install automatically with application setup.
Did you find the solution for this ??
wow Thanks. look easier than wix installer :), can we install in another folder than 'program files' ?
Yes, You can select the folder you want to setup
Haha, yeah, easier unless you're on source control. VDPROJ files are constantly rehashing their GUIDs. 😫
Thank you so much! Can u take tutorial for self unistaller?
This was of great help, thank you
You're welcome!
Thanks Fox Learn.
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.
I made as the instruction in this video but it doesn't work on windows 7
How can i fix that
when we created exe file setup of any database application after installing source is visible how to hide or encrypt our code.
How to build again and update/repair same setup ?
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)
hello, im using arm architecture and maybe because of this i cant build my setup, it shows "Unrecoverable build error - 0x800700C1" :c
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
You should change .net Prerequisities in your setup file
can you make a video tutorial to make a portable setup file
🇺🇲Thanks man
🇧🇷 Obrigado cara
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
good explanation
How can I add another dialog on install step without using the template that prepare on dialog before start select the install path ?
Hi, I have file xml config include. After setup installer can’t write modify to xml file.
Thanks for sharing this. Very useful
You're welcome. Thank you !
Hey, I like your creative videos. Keep it up your great work, Sir.
Thank you so much !
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?
you need to put them in the same folder
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. )
OK. Thank you for your suggestion
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.
Would you care to share your solution ?
@@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.
@@isosek6625 Thank you :)
OMG I love your Tutorials
Thank you !
Fox Learn your welcome
Fox Learn can you do a tutorial of how to sell our software
I cannot run the msi without administrator rights.
Can you help me please? :)
Thanks a lot
Thank you so much !
I can't find windows form app...
thank you , please, installer with local database in proyect.
OK. I'll upload in this week. thank you so much !
@@foxlearn I'll be waiting for that 😊
Very nice video. Please do video on setup using MySQL database.
OK. Thank you for your suggestion !
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.
You should add shortcut to button
Hi when i run my application client desktop they told me that read only can you please help me ?