Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Talk to Webmaster
Tony John
Facebook
Google+
Twitter
LinkedIn
Online Members
Ranjith Kumar
Farzin Janta
More...
Join our online
Google+ community
for Bloggers, Content Writers and Webmasters
Resources
»
.NET programming
»
.NET Framework
Add Prerequisites in application deployment
Posted Date:
18-Jun-2012
Category:
.NET Framework
Author:
Prasad kulkarni
Member Level:
Diamond
Points
: 75
In this article i have explained, How to add Prerequisites application deployment. To successfully run our application, sometimes we need some dependent software to be installed first. This atricle explain you how to add prerequisite for your application deployment.
Add Prerequisites in deployment
History
When there a time of deployment, a developer needs a deployment exe which will install all prerequisite that required to run his software
we can do this by adding some prerequisite conditions before setup and deployments.
To install and run you application successfully, we must first ensure that all essential components upon which your application is dependent
are already installed on the target machine. Take an example if we have a develop our application using .NET then target computer should have a .NET framework installed
Introduction
After Project/product has developed completely, then deployment phase come. if we have a desktop application to be deployed then we can use Setup and Deployment wizard from visual studio.
But before deployment we need some software to be already present their which will support our project code. The required Prerequisites can be added by setup and Deployment.
Installing a required things automatically -
a process is known as bootstrapping.
How to add different Prerequisite in setup and Deployment
let's go step by step
first we need to open a new setup and deployment project from visual studio.
Open Microsoft visual studio click File --> New Project --> select Setup and deployment exist under Other project types
you can see following snap for detail
check following snap
---------------------------------------
After Creating project successfully, we need to
right click in project explorer on project name (in my case it is "setup1") --> click on properties
check following snap
---------------------------------------
it will open the property pages, now click on
Prerequisites
button, to select Prerequisite program list.
check following snap
---------------------------------------
it will open Prerequisite screen, This is important screen where,
- we select prerequisite software for our application
- Path of prerequisite software (A path from where softwares get's automatically installed)
There are three option for us to specify a location for prerequisite to install
1. Download prerequisite from Component vendor website (download from internet directly)
2. Download prerequisite from same location on my application
3. Download prerequisite from location to select.
if we choose first option then our installation machine should have a internet connection available
if we choose second option then we should have a setup.exe for softwares that we need to install.
if we choose third option then we can set a location from which program will collect installation setup
check following snap
---------------------------------------
Yes. we are done with it, the final step is to Rebuilt the project and work has finished
check following snap
---------------------------------------
we can Disable the prerequisite condition by unchecking checkbox "Create setup program to install prerequisite components"
check following snap
---------------------------------------
so now we have a simple way to define a list of prerequisite softwares.
Suggestion and Queries always welcome
Thanks
Koolprasad2003
Did you like this resource? Share it with your friends and show your love!
Tweet
Responses to "Add Prerequisites in application deployment"
Guest Author: kishor chaudhari 11 Feb 2013
this is Kishor Chaudhari thanks for providing detailed knowledge about the .NET framework.pleas tell me code about voice Recognization project in C# .net.thamks a lots sir...
Feedbacks
Post Comment:
Notify me by email when others post comments to this article.
Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
No HTML formatting and links to other web sites are allowed.
This is a strictly moderated site. Absolutely no spam allowed.
Name:
Sign In
to fill automatically.
Email:
(Will not be published, but
required
to validate comment)
Type the numbers and letters shown on the left.
Next Resource:
Configuring the IIS and url-rewrite
Previous Resource:
Understanding C# structures practically step by step.
Return to Resources
Post New Resource
Category:
.NET Framework
Post resources and
earn money
!
More Resources
Configuring the IIS and url-rewrite
Advanced dot net Coaching institutes and centers & courses
LLBGen Tool to Generate Data Layer for Project
Xml to xslt transformation using .net
ASP.Net MVC 3 - An Overview Part 3
Code Access Security
Popular Tags
Tag posting guidelines
Search Tags
Add Prerequisites in deployment
.
Follow us on Twitter:
https://twitter.com/dotnetspider
Active Members
Today
Jivani
(23)
naveensanagase...
(21)
Padma
(10)
Last 7 Days
baskar
(297)
Ultimaterengan
(267)
Rakesh Chaubey
(184)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
About Us
Contact Us
Copyright
Privacy Policy
Terms Of Use
Revenue Sharing sites
Advertise
Talk to
Tony John
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.