1-Build the current project in release mode.

2-Right click on solution explorer -->Add-->Add New Project-->Other Project Types-->Setup & Deployement .Set the path & folder where we need the setup file.
If need to add nay files(Icon,.icl etc) right click and add file option .

3:In the left pane 3 folders will be visible.Clicking on Application folder -->Add-->project output-->Select Primary out put .

4:-Clicking on Users Desktop and User's Program Menu and on right pane right click and select create new short cut and select primaryoutput.Give any userfriendly name respective to u r project and then right click on it select roperties & assign any icon to icon filed.
This Icon will be displayed for u r application.

5:-Build the setup file and go to that respective folder in release ,we will find the exe to be installed .
2-Right click on solution explorer -->Add-->Add New Project-->Other Project Types-->Setup & Deployement .Set the path & folder where we need the setup file.
If need to add nay files(Icon,.icl etc) right click and add file option .
3:In the left pane 3 folders will be visible.Clicking on Application folder -->Add-->project output-->Select Primary out put .
4:-Clicking on Users Desktop and User's Program Menu and on right pane right click and select create new short cut and select primaryoutput.Give any userfriendly name respective to u r project and then right click on it select roperties & assign any icon to icon filed.
This Icon will be displayed for u r application.
5:-Build the setup file and go to that respective folder in release ,we will find the exe to be installed .