articles

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

Creating setup in visual studio 2010

AVADHESH PATEL25577 08-Jan-2013

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.


Updated 02-Aug-2020
Avadhesh Kumar Patel District Project Manager - Aligarh 14 months work experience in Panchayati Raj Department Sector as District Project Manager & 12 months work experience in IT Sector as Software Engineer. :-)

Leave Comment

Comments

Liked By