Here is the procedure for creating a setup in Visual Studio 2008.
Now, select Setup and Deployment.
From that, select Setup Project from the Visual Studio installed templates.
Next, add the name and path of the setup and click on the OK button.
Right-click on the Application Folder and Add Project Output from the options.
Now, a dialog box will open. Select Primary output and click on the OK button.
Select User's Desktop and click on the right window to create a new shortcut.
Next, add a file from your computer, the file extension should be .ico, as in the following:
Set Icon for Desktop from the peorpselect property icon browse icon.
Now, add file and click the OK button.
Add the file in the setup, then click on Solution Explorer. Now, select your setup file and browse to your file from the computer.
Build a setup by right-clicking on setup as in the following:
Your setup is now ready for work.
Good Luck.
Thank You.

Manish PipaliyaPosted May 14, 2015, 2:14 AM
Thanks. :-)
Santhakumar MunuswamyPosted May 14, 2015, 1:10 AM
Good work