How to create Setup for windows application
How to create Setup for windows application
How to create Setup for windows application
Create Setup Project:-
Step1:
File->New->Project->Choose Setup and deloyment from other Project Types in Project Types.
Then go to templates click Setup wizard.Then give new name to Setup Wizard and choose your path.For Example Setup1
Then click Ok.(See Image:1)
Step2:-
Welcome to the Setup wizard(1-4) window will dispaly(See Image:2).Then click Next.
Step3:-
Setup wizard(2-4) window will dispaly.(See Image:3)
Do you want to create a setup program to insatll an application? message will appear.
Default is "Create a setup for a windows application".
No need to change anything.Just click next button.
Step 4:-
Setup wizard(3-4) window will dispaly.(See Image:4)
Choose Files to include message will appear with in window.
Which additional files do you want to include?
Click the add button.After click the add button "Add Files" window will appear(See Image:6) then go the project location(For Ex:-Windows application1)
Click The project(Windows application1)->click Windows application1->choose bin folder->Debug->Finally choose "WindowsApplication1.vshost.exe"
Then click the open button.
You will get the your exe path with in Setup wizard(3-4) window.Then Click The Next Button.
Step 5:-
Setup wizard(4-4) window will dispaly.(See Image:5)
The project summary will display based on your choose.
Project type: Create a setup for a Windows application
Project groups to include: (none)
Additional files:
C:\Documents and Settings\ramku.g\Desktop\WindowsApplication1\WindowsApplication1\bin\Debug\WindowsApplication1.vshost.exe
Project Directory: C:\Documents and Settings\ramku.g\Desktop\Setup1\Setup1\Setup1.vdproj
Project Directory: Your path will display
Then click finish button.
Step 6:-
File System(Setup) window will dispaly.(See Image:7)
Then go to the solution explorer window(See Image:8) and Right click the project name then build the windows application.
Build Success message will dispaly on status bar.After that right click the project name then click install.
Step 7:-
Welcome to the setup wizard window will dispaly(See Image:9).Then click next Button
"Choose the installation folder" window will dispaly(See Image:10).Selet the Insatllation folder path by clicking browse button.
choose justme or Every one from radiobutton.
Then click next button.
Step 8:-
Confirm installation window will dispaly(See Image:11).
If you want to install ,just click Next.
Setup will install(See Image:12).
Step 9:-
After install installaion complete window will display(See Image:13).
Then close.Just go that path and choose that exe and run it.
Setup projects are used to create Windows Installer (.msi) files, which are used to distribute your application for installation on another computer . There are following way to create setup
To create a new setup project
[1] File menu - > then click New Project.
[2] n the Add New Project dialog box, select Project Types and open the Other Project Types node,
[3] open Setup and Deployment Projects - > Visual Studio Installer.
Another ways to create Setup
[1] First of all create any sample windows/web application.
[2] Select Add > New project
[3] In the dialog box select - > setup and deployment from other project types