HomeОбразованиеRelated VideosMore From: ProgrammingKnowledge

C# Tutorial 89: How to Publish an Application in C# and Make the Installation Setup

688 ratings | 161234 views
How to Create Installation Setup for Your C# Application Project Howto make setup file from project in VS2012 C# How to Create an Installer For a WinForm Application How to make an installer for my C# application? How can I deploy a C# application Deploying a C# application Visual Studio Create Setup project How to make setup file using VS 2010 in C# window forms How do I create setup in c# Create a simple installer from Visual Studio How make Setup installation file of my Completed C# project Make an Installation program for C# applications C# publish application properties
Html code for embedding videos on your blog
Text Comments (102)
Paul Sihasutthi (4 days ago)
Is there a way to have a custom logo for your shortcut or app? also it would look nice to have a splash screen before setup dialogue box appear. is it possible with this visual studio setup project template?
Mathias Mboya (6 days ago)
thanks
AIR BRAKE (2 months ago)
Thank you soooo much!
Arslan Arif (2 months ago)
Awesome Sir, Thank you very much for your lectures, It helps us a lot. I made first ever Software today. Hurrah!
Hans Almon (2 months ago)
thank you
Angrej Kumar (2 months ago)
Thank you so much for this video. Its very descriptive. Thanks a lot!
ranimations (2 months ago)
AAAnd the dekstop. rofl
nurafiqahmahizan (2 months ago)
So, we can just run the setup file on other machine or pc, and the project run well?
Qaisar Nisar (2 months ago)
what can i do i have multiple projects for which i wand single installer .. anyone help me ?
Bogdan Anton (3 months ago)
How i can create 1 single setup? Or why are 2 of them?
yNSPIRON (3 months ago)
Hello, may I seek anyone's quick advice before I start debugging a EXISTING Project for C#. I already have the source files. I just need to debug it to be more stable as some testing/commands is giving false reject in TESTING the product. How to update the entire project (as tones of .cs files inside the source files) to reflect my changes and create an application, a debug and release apps? Which main cs file to change or just the sln file? Thank you in advance.
safa7 zr8 (4 months ago)
Fuck It doesn't work Shit for my life
rahul gupta (4 months ago)
if this setup is installed on another computer which does not have visual studio, then will it run or not..? if not, then what extra files are needed along with the setup file.
Pawan Kumar Tiwari (4 months ago)
How to check that installer project to dotnet version installed or not
Dexter TN (4 months ago)
it's called Setup and DEPLOYMENT, not DEVELOPMENT.
MD Rob (4 months ago)
Fellas, If you do not see the "Visual Studio Installer" probably you do not have the package for that, so download the package from here, https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.MicrosoftVisualStudio2015InstallerProjects Hope this fixes it, I had the same problem.
Buskila Maor (5 months ago)
doesn't work on a different machine
MYaqoobEmbedded (5 months ago)
Thanks Sir
YouTube User (7 months ago)
If you cant find Setup Project, go to Tools -> Extensions and Updates and install "Microsoft Visual studio 2017 Installer Projects"
Hafiz Siddique (9 months ago)
i am using vs2012 express and there is no vs installer tab in other project type. there is only two tabs 'Extensbility' and 'setup and deployment' . than how can i create setup of my project please help me????????????????????
manan alam (10 months ago)
very nice video sir good job
gamie123456 (10 months ago)
very very nice , thank you for this geat effort. gm
Megha Misra (11 months ago)
I have a small windows desktop application and I am trying to package and deploy it the application uses a special third-party font to create barcode and print the barcodes you have already added the DLL from third party to the application library but once setup is created that the font is not working and my project font is also back to ms office font not the barcode font The required font is also installed on the system. Can you please help me to fix this issue
Salman ahammed (11 months ago)
i can't find setup and development options
Bryan Gonzalez (1 year ago)
Does this work with express version
Farooq Ajaz (1 year ago)
nice sir its very helpul for me ..........thank you!
PDL (1 year ago)
thanx nigga
Djellal Aniss (1 year ago)
mais nta bghal
anas shah (1 year ago)
Thanks man...
Satyam Kumar (1 year ago)
sir please suggest a solution for me
Raviprakash Sharma (1 year ago)
hi sir in my project I have a service based database but i can not get it in my setup ....please help me
Khaled Mostafa (1 year ago)
thanks
CMjeafar sadikh (1 year ago)
Actually this video is not useful
CMjeafar sadikh (1 year ago)
plz sir help me how to create sql database project setupe file to run another computer
Darshak Varsani (1 year ago)
it's useful Thank's
georgeisepic (1 year ago)
he has some English error. develop is Dee-Vell-Lup. but I am most gratefull for u making these videos
Amol Impal (1 year ago)
I have one issue. I have created one application in vb.net & used crystal report in it. but my crystal report use fix path. I want dynamic path for it. i am not able to install it on another pc. Crystal report don't show data on another pc. Plz help me. Thank You in advance.
Amol Impal (1 year ago)
Very Helpful Thank You.
Werner Ullrich (1 year ago)
very good and helpful for me. Thanks.
chetan j (1 year ago)
hello, nice tut.. very helpful. i need your help sir, how to create setup file to install our setup file to both client and server machin in which sql server and setup should be installed in server machin and in client only setup should install so that we can operate from both machin. in that case server machin should be on when we access from client machin(pc). so pls sir will you pls make video on this topic... thank you.
The Pholosopher (1 year ago)
very helpful - thank you!
Price Stewart (1 year ago)
I'm So happy to be a subscriber to your channel. Great Video.I created a C# application With SQL Database. I published it. It Runs perfectly on my computer, but when I install it on another computer, It doesn't work. It's my first time deploying a database application. How should I create the setup for it. What Should be included in it and what are the requirements for the other computer. Please help me... I thank you in advance.
Jevon Davis (1 year ago)
If the client has access to the database through windows authentication then you can just set a default connection string which will automatically connect to the database using the user's windows credentials. In this way no matter which system you put it on then it will connect. If it is a case where they don't then in your code you would change the connection string to that of the SQL login credentials so the user can login. SQL login in this case would be that of using username "sa" and the password you gave to it upon installing your Server.
Muhammad Junaid (1 year ago)
Jevon Davis how do i change connection string so that it also work on client computer???
Jevon Davis (1 year ago)
You need to change your connection string so it matches the client computer's database that you are installing it on. Remember originally you were building the application on your system. The clients system will be different
Edoardo Mastrandrea (2 years ago)
thanks man, you are always so helpful to me
Kim Ricka (2 years ago)
c#
Kim Ricka (2 years ago)
C#
aicha benabid (2 years ago)
i can't find setup and deployment in visual studio 2010
shubhangi thange (2 years ago)
how to deploye applications along with the database?? Please help me
Asura (2 months ago)
https://www.youtube.com/watch?v=4LvJLqlngQo
Richard Smoker (1 year ago)
SQLite prolly
muhammad huzaifah (2 years ago)
hello sir:- i am facing the problem that this setup cannot install in my laptop
Justin (2 years ago)
Thank you.
Muhammad Raza (2 years ago)
THANXXX A LOT.. ...
Mohsin Khan (2 years ago)
One thing! i cant use the icon i want for my app using this. Can you help me set my icon? please
Navaneet SPatil (2 years ago)
Enjoyed n got knowledge of setup and deployment too. Thank you sir...
Jeff Beck (2 years ago)
Inno looks so much easier.
Márcio Cota (2 years ago)
Amigo, beleza? Usando um banco de dados access, é possível instalar o aplicativo na máquina de um cliente que não tenha Access instalado? Tipo, a aplicação consegue abrir o banco de dados do Access sem ter Office instalado? Se sim, como imbutir o arquivo do banco de dados no programa e criar um setup pra inatalar tudo no cliente? Obrigado!
Simple Tech (2 years ago)
4:47
Sirisha Rani (2 years ago)
thank you so much!!
Shafiq Rehman (2 years ago)
thank u so much its really great :) very helpfull for every new student and c# lover :p
Kirankumar Bastawadi (2 years ago)
thank you so much. It was a wonderful convincing explanation.. I have a query.. How can I change the Icon of executable file ? example I have designed a browser control on windows form and want executable file icon to look like chrome or IE icon ..
Elijah Ayeeta (2 years ago)
followed all those steps but can't install on a client machine.....connection string probelm
Shubham Asthana (2 years ago)
Thanks elija ate :)
Elijah Ayeeta (2 years ago)
hey +Shubham Asthana  sorry for the late response, i wasn't using sql, i used MS ACCESS, so i didn't have to install  the database on the client machine.  so in your case you might have to install sql on the client machine as well. then for a connection string i created a virtual path on the client machine such that when you install your application it appears as though you are running it on your machine.....hope it helps :)
Shubham Asthana (2 years ago)
+elija ate hey,are you using sql database with your application,and have you got the solution for your connection string problem.I have almost same problem,plz help if you can
Rahul Kumar (3 years ago)
thnx for this video!!!! Really Worked alot for Me!
Bharat Garande (3 years ago)
How to create exe in .net and attachment with database
Guillaume Zinniger (3 years ago)
Thank for this video. I have visual studio 2015. I can not clic on new project setup. I must have visual studio 2010 for this ?
CreatingAlong (3 years ago)
THanks!
yan kumar (3 years ago)
thanks for sharing ProgrammingKnowledge
joe Youcef (3 years ago)
how to include the database in setup file because i have problem when i installed y application in other computer ??
Shubham Asthana (2 years ago)
thanks joe bearzilla, Is there any way for the deployment of app,where we can wrap this .mdf file in it? So that when we run the .exe for the installation on client machine the database file can be placed at the right folder.I tried Installshield but it is not working for me.Can you please suggest me what i should do in this situation
joe Youcef (2 years ago)
+Shubham Asthana unfortunately yes !! you have to install sql server on the client machine and build the database as you built it while you were making your code !!
Shubham Asthana (2 years ago)
+joe bearzilla thanks for ur help i am using sql server,and i have created .exe of my application.And created a folder on client machine according to my connection string.And added .mdf and .ldf files into that folder.Now my application is running but i am confused that the client machine should have sql server installed or not.? because when i am clicking the button on my app,a sqlserver.exe process is getting started. Plz tell me the client machine needs sql server or not? and also is this the right process which i am following
joe Youcef (2 years ago)
+Shubham Asthana i was using sql server !! if u r using sql server u have to connect the sql server with the computer that u r going to install your deployed program !! or if u r using a local database such as Access u have to include it on ur setup project in a certain client folder and alter ur connection string according to where u chose to put the database file on the client computer
Shubham Asthana (2 years ago)
+joe bearzilla hey,i have the same problem,have you solved it? please help if you have solution
ballouki noureddine (3 years ago)
Hello and thank you for this tutorial, I have a problem to create a a setup in visual studio 2012 i can't view the setup and deployement , how can i resolve this problem ? 
Alyssa Siegel (3 years ago)
I didn't have this option either - it is completely different with Visual Studio 2013.  See this link:  http://blogs.msdn.com/b/visualstudio/archive/2013/08/15/what-s-new-in-visual-studio-2013-and-installshield-limited-edition.aspx
Dinesh Narayanan (3 years ago)
Thanks!!
Kartikey Sankhdher (4 years ago)
Thanks! Very Good Video!
i Aravindth (4 years ago)
awesome. thanks a lot
Neeraj kumar gandhi (4 years ago)
How can I deploy a C# application with access database
Usman Ali Maan (4 years ago)
HOW I can Make desktop ICON of my App :P
BlackRa1n (4 years ago)
Import your .ico file (for example myicon.ico) to your project (Project > Import element) And then: Project > -YourProjectName- Settings Icon > myicon.ico Press F5 to debug your application. Finished!
Ahmet Kürşat Akgün (4 years ago)
I don't have this option
Joseph Petek (4 years ago)
We use the .net connector for MySQL. How do you include that in your install, because a lot of people do not have that installed on their machines? Like your videos a lot. Thanks for all the great work!
Zap Tek (4 months ago)
How about now? I really need to know for a project
Joseph Petek (3 years ago)
I did not. I am going to look into it some more. I am starting a service program that I will need this as part of the installer for sure. If i come up with something I'll do a follow up.
Juan Carlos Farias (3 years ago)
Hi Joshep, I'm using MySql too, and I have the same problem. Did you solve it?  Can you help me? Thanks.
Amar Kapadia (4 years ago)
Thanks...just want I needed to know!
Eshetu Mechi (4 years ago)
this Video is Awesome!!!  
O fata simpla (4 years ago)
Thank you. Very useful.
Ahmed Tha King (4 years ago)
It's not dixtop.... It's desktop! And it is not "publish and development" it is "publish and deployment"
Could you publishing your application C# in Facebook?. Did you have any video relate to this topic. please advice
Ali BELKHIRI (4 years ago)
thank you so so much i need that now , thank you 
Elmer Oquendo (4 years ago)
Thanks for the video. How do you add Key on the setup so you can only install the application once, like a Norton anti-virus once you installed it you can not install it to another computer. Thanks again
Vikas Bansal (4 years ago)
how to add a short cut on desktop and start menu
mandy .netguy (5 years ago)
u don't give me the answer of my below question plz reply me
mandy .netguy (5 years ago)
thank you sir but i have another issue i need complete deployment that include this point 1)adding sql server database file 2) installing there that not have .net framework 3)how can we customize setup wizard during installation 4) how can we add product keys that use license to end user 5)how can add icon. plz make video that include all this points () plz send me reply either -ve or +ve because i don't get proper solution on the internet plz help me thank you
ProgrammingKnowledge (5 years ago)

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.