Click here to Skip to main content
15,867,453 members
Articles / Programming Languages / Visual Basic
Article

How to add prerequisites in visual studio .net 2005 setup

Rate me:
Please Sign up or sign in to vote.
1.06/5 (19 votes)
7 Apr 2007CPOL1 min read 130.2K   14   42
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.

<o:p>

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

<o:p>other project type > Setup and deployment > Setup Project or Web setup project

<o:p>as per your application of project

<o:p>now this newly added project will be added in your solution explorer tree select that

<o:p>Setup project right click on it and add project out put and all necessary merge modules as

<o:p>you have used in your project

<o:p>now main thing adding perquisites to deployment

<o:p>Right click on your setup project select properties

<o:p>You will get following fig1

<o:p> 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

<o:p>

Select second option button that

"Download prerequisite from same location as my application "<o:p>

<o:p>This will add all prerequisites with your setup and notice that bydefault setting is

<o:p>download from specified location so dont forget to change it

<o:p>


License

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


Written By
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralMy vote of 1 Pin
Abolfazl Khusniddinov28-Jun-11 18:19
Abolfazl Khusniddinov28-Jun-11 18:19 
Generali didn't get the prerequesits Pin
07aneesh9-May-10 23:38
07aneesh9-May-10 23:38 
GeneralMy vote of 1 Pin
jlwarlow15-Jul-09 0:25
jlwarlow15-Jul-09 0:25 
QuestionHi! Can you help me with prerequisites from my website? Pin
cre8810-Jul-09 4:04
cre8810-Jul-09 4:04 
I want my application setup to download prerequisites from my website.
I use this URL http://www.mywebsite.com/support/ where I put that folders DotNetFX and WindowsInstaller3_1.
The problem is that when I try to install my application it goes for prerequisites on Microsoft site not on my website.
Can you help me please?
Thanks! Smile | :)
AnswerRe: Hi! Can you help me with prerequisites from my website? Pin
Patel Vinay10-Jul-09 4:37
Patel Vinay10-Jul-09 4:37 
Questioncan u explain for framework 3.5 please? Pin
Narendra Reddy Vajrala29-Apr-09 8:59
Narendra Reddy Vajrala29-Apr-09 8:59 
AnswerRe: can u explain for framework 3.5 please? Pin
Patel Vinay24-May-09 5:03
Patel Vinay24-May-09 5:03 
GeneralRe: can u explain for framework 3.5 please? Pin
Narendra Reddy Vajrala26-May-09 17:30
Narendra Reddy Vajrala26-May-09 17:30 
Generaluninstallation problem Pin
waquasalig13-Nov-08 5:05
waquasalig13-Nov-08 5:05 
AnswerRe: uninstallation problem Pin
Patel Vinay14-Nov-08 7:56
Patel Vinay14-Nov-08 7:56 
General'Not enough storage is available to complete this operation. Pin
waquasalig7-Nov-08 2:39
waquasalig7-Nov-08 2:39 
AnswerRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay7-Nov-08 8:04
Patel Vinay7-Nov-08 8:04 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig8-Nov-08 0:13
waquasalig8-Nov-08 0:13 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay8-Nov-08 11:38
Patel Vinay8-Nov-08 11:38 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig9-Nov-08 18:08
waquasalig9-Nov-08 18:08 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig10-Nov-08 3:24
waquasalig10-Nov-08 3:24 
GeneralRe: 'Not enough storage is available to complete this operation. Pin
waquasalig11-Nov-08 1:49
waquasalig11-Nov-08 1:49 
AnswerRe: 'Not enough storage is available to complete this operation. Pin
Patel Vinay14-Nov-08 8:03
Patel Vinay14-Nov-08 8:03 
GeneralInstalling content of folder in specified location Pin
waquasalig5-Nov-08 2:47
waquasalig5-Nov-08 2:47 
AnswerRe: Installing content of folder in specified location Pin
Patel Vinay5-Nov-08 3:53
Patel Vinay5-Nov-08 3:53 
GeneralRe: Installing content of folder in specified location Pin
waquasalig6-Nov-08 0:19
waquasalig6-Nov-08 0:19 
GeneralWritting installation setup on multiple DVD Pin
waquasalig23-Oct-08 20:39
waquasalig23-Oct-08 20:39 
AnswerRe: Writting installation setup on multiple DVD Pin
Patel Vinay24-Oct-08 9:52
Patel Vinay24-Oct-08 9:52 
GeneralRe: Writting installation setup on multiple DVD Pin
waquasalig26-Oct-08 23:06
waquasalig26-Oct-08 23:06 
GeneralRe: Writting installation setup on multiple DVD Pin
Patel Vinay27-Oct-08 7:08
Patel Vinay27-Oct-08 7:08 

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.