Home > DeveloperSection > Articles > Creating setup in visual studio 2010

Creating setup in visual studio 2010


Setup Setup 
Ratings:
0 Comment(s)
 8116  View(s)
Rate this:

Creating setup in visual studio 2010

For creating setup in visual studio, first create a windows application in visual studio 2010. For demonstration I have used one windows application. If you want to create same demo, then you read this article.

http://www.mindstick.com/Articles/4d20f28e-c5ae-4245-affc-59a68c23c198/?Node%20Insertion%20in%20TreeView%20control%20in%20C

Steps are given below.

Step 1: Build your application.

Creating setup in visual studio 2010

Step 2: Rebuild your application. After rebuild, one folder created in your application’s bin folder with debug named. This folder contains some files (.exe, .pdb, manifest). 

Step 3: Now open new project and select “Other Project Type”. Select “Visual Studio Installer”.  Follow this step for open setup wizard.

File > Project > Other Project Type > Setup and Deployment > Visual Studio Installer > Setup Wizard.

Creating setup in visual studio 2010

Step 4: Now click on button “OK” and move next step.

Creating setup in visual studio 2010

Step 5: Click on next button for next steps.

Creating setup in visual studio 2010

 

Step 6: Click next button for next steps.

Creating setup in visual studio 2010

Step 7: Click on button “Add” for adding your file witch are created in your windows application bin>debug folder.

Creating setup in visual studio 2010

Step 8: Click on next button for next steps.

 

Creating setup in visual studio 2010

Step 9: Now setup are created. In next step I have described how to create shortcut of setup.

Creating setup in visual studio 2010

Step 10: For creating shortcut of setup, first click on “File System on Target Machine” then click on right hand side “User’s Desktop” folder. Now right click at right hand side block as below image.

Creating setup in visual studio 2010

 

Step 11: Select “Create New Shortcut” option. After that, new popup window open. Select “Application Folder” and after that select .exe file as below image.

Creating setup in visual studio 2010

Step 12: Rename Shortcut of selected exe file.

 

Creating setup in visual studio 2010

 

Step 13: Set icon image into your setup. For this step, first download any icon image into your application as below image.

Creating setup in visual studio 2010

Step 14: Then brows icon image from your local system and set icon in your project as below image.

Creating setup in visual studio 2010

Step 15: Now build your setup application and see bin folder of your setup application. Two file are created in bin’s debug folder.exe and msi.  Now copy these two files and keep where you want. And install as other application.


Don't want to miss updates? Please click the below button!

Follow MindStick