Click here to Skip to main content
11,635,053 members (67,792 online)
Click here to Skip to main content

How to add prerequisites in visual studio .net 2005 setup

, 7 Apr 2007 CPOL 83.2K 14
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

Introduction

Before A few days I got a solution how to build customize setup in visual studio.net 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


License

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

Share

About the Author

Patel Vinay
Web Developer
India India
No Biography provided

You may also be interested in...

Comments and Discussions

 
GeneralMy vote of 1 Pin
afaz28-Jun-11 18:19
memberafaz28-Jun-11 18:19 
Generali didn't get the prerequesits Pin
07aneesh9-May-10 23:38
member07aneesh9-May-10 23:38 
GeneralMy vote of 1 Pin
UKCodeMonkey15-Jul-09 0:25
memberUKCodeMonkey15-Jul-09 0:25 
QuestionHi! Can you help me with prerequisites from my website? Pin
cre8810-Jul-09 4:04
membercre8810-Jul-09 4:04 
AnswerRe: Hi! Can you help me with prerequisites from my website? Pin
Patel Vinay10-Jul-09 4:37
memberPatel Vinay10-Jul-09 4:37 
Questioncan u explain for framework 3.5 please? Pin
Narendra Reddy Vajrala29-Apr-09 8:59
memberNarendra Reddy Vajrala29-Apr-09 8:59 
AnswerRe: can u explain for framework 3.5 please? Pin
Patel Vinay24-May-09 5:03
memberPatel Vinay24-May-09 5:03 
GeneralRe: can u explain for framework 3.5 please? Pin
Narendra Reddy Vajrala26-May-09 17:30
memberNarendra Reddy Vajrala26-May-09 17:30 
Generaluninstallation problem Pin
waquasalig13-Nov-08 5:05
memberwaquasalig13-Nov-08 5:05 
AnswerRe: uninstallation problem Pin
Patel Vinay14-Nov-08 7:56
memberPatel Vinay14-Nov-08 7:56 
General'Not enough storage is available to complete this operation. Pin
waquasalig7-Nov-08 2:39
memberwaquasalig7-Nov-08 2:39 
AnswerRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay7-Nov-08 8:04
memberPatel Vinay7-Nov-08 8:04 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig8-Nov-08 0:13
memberwaquasalig8-Nov-08 0:13 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay8-Nov-08 11:38
memberPatel Vinay8-Nov-08 11:38 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig9-Nov-08 18:08
memberwaquasalig9-Nov-08 18:08 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig10-Nov-08 3:24
memberwaquasalig10-Nov-08 3:24 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig11-Nov-08 1:49
memberwaquasalig11-Nov-08 1:49 
AnswerRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay14-Nov-08 8:03
memberPatel Vinay14-Nov-08 8:03 
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 
GeneralWritting installation setup on multiple DVD Pin
waquasalig23-Oct-08 20:39
memberwaquasalig23-Oct-08 20:39 
AnswerRe: Writting installation setup on multiple DVD Pin
Patel Vinay24-Oct-08 9:52
memberPatel Vinay24-Oct-08 9:52 
GeneralRe: Writting installation setup on multiple DVD Pin
waquasalig26-Oct-08 23:06
memberwaquasalig26-Oct-08 23:06 
GeneralRe: Writting installation setup on multiple DVD Pin
Patel Vinay27-Oct-08 7:08
memberPatel Vinay27-Oct-08 7:08 
GeneralRe: Writting installation setup on multiple DVD Pin
waquasalig26-Oct-08 23:19
memberwaquasalig26-Oct-08 23:19 
GeneralRe: Writting installation setup on multiple DVD Pin
Patel Vinay27-Oct-08 7:09
memberPatel Vinay27-Oct-08 7:09 
GeneralRe: Writting installation setup on multiple DVD Pin
waquasalig28-Oct-08 19:05
memberwaquasalig28-Oct-08 19:05 
AnswerRe: Writting installation setup on multiple DVD Pin
Patel Vinay28-Oct-08 19:10
memberPatel Vinay28-Oct-08 19:10 
Questionhow to set registry Pin
waquasalig22-Oct-08 18:37
memberwaquasalig22-Oct-08 18:37 
AnswerRe: how to set registry Pin
Patel Vinay24-Oct-08 7:43
memberPatel Vinay24-Oct-08 7:43 
GeneralNot showing folder after installation Pin
waquasalig21-Oct-08 19:15
memberwaquasalig21-Oct-08 19:15 
AnswerRe: Not showing folder after installation Pin
Vinay_visnagar22-Oct-08 13:34
memberVinay_visnagar22-Oct-08 13:34 
GeneralRe: Not showing folder after installation Pin
waquasalig22-Oct-08 18:19
memberwaquasalig22-Oct-08 18:19 
QuestionHow to install third party prerequisites along with setup and deployment of vb.net application Pin
ramakoteswarrao.p17-Apr-08 3:27
memberramakoteswarrao.p17-Apr-08 3:27 
AnswerRe: How to install third party prerequisites along with setup and deployment of vb.net application Pin
Vinay_visnagar17-Apr-08 4:46
memberVinay_visnagar17-Apr-08 4:46 
AnswerRe: How to install third party prerequisites along with setup and deployment of vb.net application Pin
Vinay_visnagar17-Apr-08 4:52
memberVinay_visnagar17-Apr-08 4:52 
Generalchoose install prerequisite or not Pin
zawmn8319-Mar-08 2:15
memberzawmn8319-Mar-08 2:15 
GeneralRe: choose install prerequisite or not Pin
Vinay_visnagar17-Apr-08 4:44
memberVinay_visnagar17-Apr-08 4:44 
GeneralRe: choose install prerequisite or not Pin
Vinay_visnagar17-Apr-08 4:47
memberVinay_visnagar17-Apr-08 4:47 
http://www.codeproject.com/KB/install/dotNetInstaller.aspx[^]

go for this its good one
Questionvb.net setup project in 2003 Pin
Kirtibangalore11-Apr-07 19:40
memberKirtibangalore11-Apr-07 19:40 
AnswerRe: vb.net setup project in 2003 Pin
Vinay_visnagar28-May-07 16:59
memberVinay_visnagar28-May-07 16:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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.150728.1 | Last Updated 7 Apr 2007
Article Copyright 2007 by Patel Vinay
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid