Click here to Skip to main content
11,575,635 members (60,455 online)
Click here to Skip to main content

How to add prerequisites in visual studio .net 2005 setup

, 7 Apr 2007 CPOL 82.6K 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 
Hi
I am trying to build another package.
when i am adding .mpg file of 1.3gb in application folder. during compile time getting error
'Not enough storage is available to complete this operation..

one more thing
as you told me make folder and set default path for specific folder location on client machine.
thing is little change now.
in my 2nd package some folder created using custom folder and adding some file there.
I hv specified the defaultlocation for this folder content as you told
actually client machine folder path is depend on my first package installation
i hv puted hard code default location in 2nd package installer.

suppose during 1st package instaalation client installes it in d:\ using browse then
my 2nd installer can not copy the content of folder in d:folderspecified because hard code default location.
how i will set dynamic path location in 2nd package folder that match with 1st package installation location.
so what to do ??/

thanx
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 

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
Web04 | 2.8.150624.2 | Last Updated 7 Apr 2007
Article Copyright 2007 by Patel Vinay
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid