Its very easy to create setup for the windows application. let me give you the below steps so you can follow and create the setup for your windows application.
Now there are two ways by which you can have your setup: one is you can create your setup in the project itself..and other create a separate independent setup.
But its always good to have the setup project with your C# project. So lest create a setup project for your C# application:
Step 1: In your existing C# Application. Go to solution explorer adn right click --> Add new project
Step 2: Add a new Setup and Deployment Project.
Step 3: You will get 3 folders:Application Folder,
User's desktop, User's Programs Menu
Step 4:Right Click on application folder select add New Folder, a folder will create and give a name to that and right click on that folder and go to
Add Files, here browse your project libraries, resources, images, documents like readme, license.
Step 5: If you want you can create separate, separate folders to this.
And right click on Application Folder and select Add Project Output, it will display add
Project Output Window from there Select Your Main Project and select
Primary Output And Localized Resources from below list and
Press Ok.
Step 6: All the dependencies will add here.
From this list select and right click on
Primary Output of Your Project and Select Create Shortcut
To Primary Output and give a name, and do the same again select these two and go to properties set the properties like icon,…
Step 7; From these two drag one and drop into the User's desktop and drag second one into User' Program menu.
Step 8: These two will create shortcut to your application on client desktop and program menu list. You can give different icons also inside properties.
Step 9: Now search the same folder where the setup is created and double click to install it.
Now there are two ways by which you can have your setup: one is you can create your setup in the project itself..and other create a separate independent setup.
But its always good to have the setup project with your C# project. So lest create a setup project for your C# application:
Step 1: In your existing C# Application. Go to solution explorer adn right click --> Add new project
Step 2: Add a new Setup and Deployment Project.
Step 3: You will get 3 folders:Application Folder,
User's desktop, User's Programs Menu
Step 4:Right Click on application folder select add New Folder, a folder will create and give a name to that and right click on that folder and go to
Add Files, here browse your project libraries, resources, images, documents like readme, license.
Step 5: If you want you can create separate, separate folders to this.
And right click on Application Folder and select Add Project Output, it will display add
Project Output Window from there Select Your Main Project and select
Primary Output And Localized Resources from below list and
Press Ok.
Step 6: All the dependencies will add here.
From this list select and right click on
Primary Output of Your Project and Select Create Shortcut
To Primary Output and give a name, and do the same again select these two and go to properties set the properties like icon,…
Step 7; From these two drag one and drop into the User's desktop and drag second one into User' Program menu.
Step 8: These two will create shortcut to your application on client desktop and program menu list. You can give different icons also inside properties.
Step 9: Now search the same folder where the setup is created and double click to install it.
Happy Dot Net..!
No comments:
Post a Comment