Re: Package and deploy in .NET



Like William mentioned, Visual Studio 2005 allows this.

1. Click Project and then select the last option which is the project's
properties.
2. Click Publish.
3. Click the Prerequisites button under "Install Mode and Settings".

There you'll find a number of prerequisites to install and how they can
be installed.

-- Lance

William Stacey [C# MVP] wrote:
I don't have perfect info as has not did an install package in a while. But
one of the dependency loaders/install loaders will put up nice dialogs for
the user to download (FX, sql express, etc) required dependencies and not
proceed until those are loaded - so you can include on CD or it will
download. There was a C9 vid on it, but don't know how to do it with VS
installer.

--
William Stacey [C# MVP]

"Tee" <khmer_lovers@xxxxxxxxx> wrote in message
news:%23B68$AxHHHA.1240@xxxxxxxxxxxxxxxxxxxxxxx
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| "sloan" <sloan@xxxxxxxxx> wrote in message
| news:O8uRkQwHHHA.3952@xxxxxxxxxxxxxxxxxxxxxxx
| >
| > You don't necessarily have to include it, but they have to have it.
| >
| > There's no free lunch.
| >
| > If you want to run a .Net 2.0 application, the client machine has to
have
| > the framework (2.0).
| >
| > They can either:
| >
| > 1. Have it already.
| > 2. Install it from windows update or microsoft.com
| > 3. You provide it.
| >
| > Pick your poison.
| >
| >
| >
| >
| > "-xx-" <khmer_lovers@xxxxxxxxx> wrote in message
| > news:u9NoeKwHHHA.924@xxxxxxxxxxxxxxxxxxxxxxx
| >> Hi,
| >>
| >> I have an application written in C# .NET 2005 using .NET framework
v2.0,
| > the
| >> execute file is only 500KB and it used two third party DLLs, all added
| >> up
| >> to round about 1MB.
| >>
| >> My question is when i distribute my application to friends do i have to
| >> include .NET framework v2.0 as part to of the setup. I don't really
want
| > to
| >> include .NET framework v2.0 because it increases my final executable
| > install
| >> file dramatically. From 1.5MB to 25MB because the framework v2 is
22+MB.
| >>
| >> Is there anyway i can get my application running on my friends machine
| >> without installing the full version of .NET framework v2. I want the
| >> absolute mimimum because my application doesn't use much of the .net
| >> controls anyway, mostly console and back up processing.
| >>
| >> Looking forward hearing from you all.
| >>
| >> Regards
| >>
| >>
| >
| >
|
|

.