Package and deploy in .NET

  • Thread starter Thread starter -xx-
  • Start date Start date
X

-xx-

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
 
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.
 
Thanks for the reply

Anyway i have to take one of the suggested as there is no other way around
this.
 
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]

| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| | >
| > 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.
| >
| >
| >
| >
| > | >> 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
| >>
| >>
| >
| >
|
|
 
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
 
Thanks for all the help guy, very much appreciated.

Lance said:
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
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]

| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way
around
| this.
|
|
|
| | >
| > 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.
| >
| >
| >
| >
| > | >> 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
| >>
| >>
| >
| >
|
|
 
Hi Chris,

Just wondering which software is use for deployment. been to their website
and got confuse which one to download.
After i have try .net mini explorer i think i will need to protect my codes
now since i can pretty much see all my code in their decompile form :(

can you please provide me a link where i can download the deployment tool
(demo).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top