How to make .exe or setup file of window based application in .Net ?

 
 1)      Start the visual studio.
 2)      Open a project of which  you want to make an .exe  or setup file (Ctrl+shift+O) .
 
3)      After opening your project.
4)      Right click on solution in  “Solution Explorer Tab”.
   
5)      After right click, Select  Add>> then “New project”.
 
 6)      A new window will open as shown below.

 
7)      Now select “Other Project types “and expand it in above image.        (look at Left hand side).
8)      Now select “setup and Deployment” and expand it.
9)       Select “visual studio installer”.
10)      Select “setup project”.
   
11)      You can change the Name of setup and browse the folder  where you want to save the setup.
12)      After selecting desire folder, click ok. And a new window will open.
13)      Now select Application folder. 
 


14)   Right click on blank area.
15)  select add>>project  output.
  16)  New dialog box will open as show below. Now select “ primary output”  and click ok.
    * Now we have to add an icon to the setup file.

17) Again click on empty area.
18) Add>> file
  19) A new window will  open as  shown below.
   20) select the icon(extension “.ico”).  21) click open . *Now we have to create shortcuts of the software to Desktop.

22)  select user Desktop.23) Right click on blank area in R.H.S.24) select  “ create new shortcut” .   25) Select “Application folder” and click ok.26) Then select .ico file as below . Then ok. 

 27)Now you can change the name of set file .28) Right click on “Send Email”and .select “properties window”  
  29) select the icon and click on arrow button and select  browse.   30) select the icon(extension .ico) by clicking on browse button. 31)A new window will open . Double click on Application Folder and double click the file and select  the icon.    *Now we have to create shortcuts of the software to start menu.a) In this there are same step as performed in above step 1 to step 31.Only difference is now we select “User’s Program Menu” as shown below.   Last step for the completion

a)  Open solution explorer and click on build and you are done.  b)  This will be your setup location This was last step. Now you can install this software in any computer.
Thanks for reading it.
Enjoy.

Notice : Now Please click on the below or right hand side Adds (image or text). 

4 comments

Thank you for information i am a webmaster and i realiase your blog is very helpful to me...................
financial advisors in delhi

Reply

Thank you for information i am a webmaster and i realiase your blog is very helpful to me...................
seo training in delhi noida

Reply

This comment has been removed by the author.

Reply

Post a Comment