Click here to Skip to main content
12,301,965 members (55,325 online)
Click here to Skip to main content
Add your own
alternative version


14 bookmarked

How to add prerequisites in visual studio .net 2005 setup

, 7 Apr 2007 CPOL
Rate this:
Please Sign up or sign in to vote.
It is explanation about how to add prerequisite for .net setup like .net framework , crystal report component and many more


Before A few days I got a solution how to build customize setup in visual 2005 and 2003 that I am posting here for all my friends.

Adding Setup project to main project

Every one is knowing that when we create project or application in .net finally in deployment there are certain dependences that needs to be added in setup of that project or application

Now all knows how to add new setup project let me explain that also

Select File > Add > New Project

Then you will get one selection dialog box from that select

other project type > Setup and deployment > Setup Project or Web setup project

as per your application of project

now this newly added project will be added in your solution explorer tree select that

Setup project right click on it and add project out put and all necessary merge modules as

you have used in your project

now main thing adding perquisites to deployment

Right click on your setup project select properties

You will get following fig1

Screenshot - fig1.jpg

Select Prerequisites as shown in fig and you will ger second fig as shown below

Screenshot - fig2.jpg

Select prerequisite that you need to Select all then and one more thing

Select second option button that

"Download prerequisite from same location as my application "

This will add all prerequisites with your setup and notice that bydefault setting is

download from specified location so dont forget to change it


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Patel Vinay
Web Developer
India India
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralInstalling content of folder in specified location Pin
waquasalig5-Nov-08 2:47
memberwaquasalig5-Nov-08 2:47 
AnswerRe: Installing content of folder in specified location Pin
Patel Vinay5-Nov-08 3:53
memberPatel Vinay5-Nov-08 3:53 
GeneralRe: Installing content of folder in specified location Pin
waquasalig6-Nov-08 0:19
memberwaquasalig6-Nov-08 0:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160530.1 | Last Updated 7 Apr 2007
Article Copyright 2007 by Patel Vinay
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid