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.
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 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...
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:)
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!
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! >.
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 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
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?
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.
2:33 Hello, I was trying to run the setup.exe file that I created. And after I ran and installed the file, I went into the folder of the installed software, and saw that it installed a file for me in the name of my project, but with a .dll extension instead of .exe Can you tell me how I was wrong? Thanks
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
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
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 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
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.
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. )
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?
Do you have an idea? How to add additional executable and installable files with C# installer project, that install automatically with application setup.
Hi, Fox Learn. Do you know how to create Setup.exe in VS 2019 with SQLite as database. Im already tried your method and any method, but still resulting the same problems/errors, no such table existed and no SQLite.interop.dll. Anyone have any solution for this?
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)
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
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.
Hi I followed the tutorial step by step but when I try to run the app clicking in the shortcut on the desk it thown me the message "you are trying to open a file of type system file .dll" any idea what could it be?
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
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.
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
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.
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
unable to open project c:\program files(x86)microsoft visual studio 10.0\common7\tools\deployment\vsdprojects\vsi\setup.vdproj. in vb.net 2010 give solution
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.
Great. Finally smth worth watching and simple. Made my work so much easier.
عاش طريقتك جميله و مختصره. good job brother.
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!
Amazing video!
Congrats FoxLearn Team!!!
it worked tysm i was trying to make something like this for so long
i can't unsubscribe you! i have learned so much from you
You just gained a subscriber. Thanks for this!
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
Thank you, It didn't work until I changed target platform to 64 and then rebuild it. it was easy and fast
Thank you. Best lesson i have ever seen
Question: during visual setup creation add launch conditions if the specified file exists.
Best channel on youtube
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
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
Nice job bro. You saved me ...
I found how to make installer app!! Thank you!!
This tutorial is awesome. It is working properly.
Thank you very much @Fox Learn
You're welcome. Thank you so much !
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 ?
That's is why I loved VB6!
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?
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...
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?
Very useful of this video Thank you so much, I subscribed this video😇😇😅
Thanks for subbing!
Is it possible to add custom background, text, or UI button?
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:)
How i can set the Default installation folder ? Example: "C:\Programm" and remove the choose of installation folder ?
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 the straightforward tutorial!
Microsoft Visual Studio Installer Projects is installed on my vs2019, but it wont loaded when i click new project. what should i do?
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! >.
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 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 th-cam.com/video/SvZCFtaJcsk/w-d-xo.html or create an auto updater allows your application automatically update
What about c++ applications? Can i make it for c++? Or c# only?
yes you can
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?
This was of great help, thank you
You're welcome!
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.
is this available for bin files? I want an exe file to execute my bin files and install them...
2:33 Hello, I was trying to run the setup.exe file that I created.
And after I ran and installed the file, I went into the folder of the installed software, and saw that it installed a file for me in the name of my project, but with a .dll extension instead of .exe
Can you tell me how I was wrong?
Thanks
nevermind I fixed it. Thanks For The tutorial!
@@eitan_schwartz How did you fix the problem?
@@eitan_schwartz Can you tell me how?
when we created exe file setup of any database application after installing source is visible how to hide or encrypt our code.
Thanks a lot
Thank you so much !
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 !
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
hello, im using arm architecture and maybe because of this i cant build my setup, it shows "Unrecoverable build error - 0x800700C1" :c
Excellent video - very helpful. Thanks.
Thank you !
Why I don't have that in my Visual Studio 2019?
Go to Extensions> Manage Extensions> online > search for "installer project" and then install
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.
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👌
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
You should create a simple form allows you to change connection string. I'll upload soon !
Thanks! Now I Can Make An Installer Without Using Other Stuff!
Glad I could help!
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.
which folder we will give to others for installation?
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
Awesome! Thanks for this piece of knowledge :)
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?
Will it work when I send it to my friends or throw windows defender as it stopped an unrecognised executable?
Thank you - the same basic process worked for VS 2022
Hello, where did you get the app and appicon?
Genial que estés de vuelta
Thank you my friend ^_^
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 ??
Hi, Fox Learn. Do you know how to create Setup.exe in VS 2019 with SQLite as database. Im already tried your method and any method, but still resulting the same problems/errors, no such table existed and no SQLite.interop.dll. Anyone have any solution for this?
When program load check if database file exist if not create db file and tables manually
Like this paste.ofcode.org/MJFhkYj7hJXmhz65P3tA8w
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)
Hi, I have file xml config include. After setup installer can’t write modify to xml file.
Hey, I like your creative videos. Keep it up your great work, Sir.
Thank you so much !
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
Thank you, but I am facing problem - on right click -Install/Uninstall is disabled for me. Can u pls help me out.
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.
Excellent video! Just the information I was looking for to update my setup project on VS 2019.
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 !
Please make a complete video on visual studio 2019 tools, its features, tips & tricks etc.
Ok. Thank you for your suggestion
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
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
Hi I followed the tutorial step by step but when I try to run the app clicking in the shortcut on the desk it thown me the message "you are trying to open a file of type system file .dll" any idea what could it be?
Try to run as administrator
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
what extension should I download for the icon
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
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 made as the instruction in this video but it doesn't work on windows 7
How can i fix that
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.
How can I add another dialog on install step without using the template that prepare on dialog before start select the install path ?
Thank you for this tutorial!!! 🙂
Thank you my friend !
Very nice video. Please do video on setup using MySQL database.
OK. Thank you for your suggestion !
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 !
It is working for uwp application.
Any suggestion?
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
can you use the streamwriter in debug mode if you remove the text file?
Thank you so much such a great job bro
Thanks you very much, help me a lot.
You are most welcome
Hi when i run my application client desktop they told me that read only can you please help me ?
What if the OS that you're installing it on doesn't have the correct .NET framework installed? Then what.
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.
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
Thanks Fox Learn.
unable to open project c:\program files(x86)microsoft visual studio 10.0\common7\tools\deployment\vsdprojects\vsi\setup.vdproj. in vb.net 2010 give solution
would be nice if you describe what you are doing when draging stuff and explane!!!
Welcome back 😍🇲🇦
Thank you ^_^
Thanks for sharing this. Very useful
You're welcome. Thank you !
Amazing,your'e doing a good job Fox Learn.Make a tutorial create Setup.exe with SQL Server DBMS in VS 2019