Posts Tagged ‘build’

How to create Setup in visual studio ?

January 5, 2009

How to create Setup in visual studio?

  1. Open the project for which you need to create a setup
  2. Right click the Project name(topmost) in Solution Explorer and select Add->New->Project
  3. Select Setup and Deployment as the project type and enter the setup name & click Ok.
  4. Right Click Application Folder in the Left Pane and Select Add->Project Output
  5. Select Primary Output and click Ok.
  6. Select User’s Desktop in Left Pane and in Right Pane Right click and select Create New shortcut
  7. In the dialog that opens double click Application folder and Select Primary Output and Click Ok.
  8. Now a shortcut appears in right name, Rename it as you wish and this name will appear in the desktop when you install.
  9. Right click the shortcut and select Properties window. Change the icon Property to a image that you wish to have for ur appln. Before that add that image to the application folder.
  10. Select User’s Programs menu in Left pane and repeat the process you did for User’s Desktop so that an entry for your application appears in the start menu.

Finally In Solution Explorer Right Click Setup1 and click Build. Setup will be created in the applications containing folder.