Code to create set up File in C# (VS)

Create set up the file using C# for any Program

How to create Set up file in VS, create set up file in c#
Create set up file VS.
Dear friends, I want to describe here very Important and useful coding of creating set up the file using C#. we can create set up file to any C# program (console application, Windows Application easily), We want to run a program to another system then we have to create a setup file to run without coding directly on another computer. We create just as you see the setup file to other software for the computer. so I think it is very useful and impressing for you because after creating a setup file you can copy in pan drive and you can carry it anywhere and after installing you can run your software as a real system, so see here nice coding of creating set up file. --- please share it on face-book and tell your friends also.



I tell you to step by step process to follow this step and create--

1. Open Visual Studio 2005/ 2008 here I describe 2005.

2. click here to create a project

3. Go to side, here project type--- select other project types

4. click + sign and select setup and deployment 

5. select here set up project give the project name and location

Note:-- you must remember Project name And Location where you saved the setup file so take care of it.

here, for example, I give here location (C:/Amit file)and Name Love

6. Now click on ok button

7. Now go to the file menu and  add an exciting project (which you want to create set up file)
here example I want to create setup file of exciting program-(C;/Amit file/ student/open until you see C# file)select C# file and then click the open button

8. come to the before page and  go to left corner side on System on target machine

9. Right click on Application folder--> Add --> Project output---> primary output--->ok

10. Again Right click on user desktop folder-->Add--> project output---> primary--->ok

11.Again right click on User program Menu folder-->Add--> Project output---->primary output---ok.

12. Now Go to Build Menu and click on Build Solution  (Wait some time until build succeed ).

13. Now go to the location where you save to set up file (here I gave you C:/Amit file/ love)

14. Double click on file name--> debug --->set up (click the icon with the box like other software appear here)

15. Double click on it-->welcome to the set up wizard ---> next-->(give the location as where you want to create setup program to install)--> next  --> next--> Next --> wait some time--close---

16. Now you can see the icon of your program on the desktop, All program menu.

17. Now you can copy the setup file and install it to other system and run it easily. best of luck for this nice coding. I wish it runs must on your system. 

Don't forget to review... comment, please

thanks a lot to visit my site