By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,854 Members | 869 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,854 IT Pros & Developers. It's quick & easy.

Package and deploy in .NET

P: n/a
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
Dec 14 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a

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-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
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


Dec 14 '06 #2

P: n/a
Tee
Thanks for the reply

Anyway i have to take one of the suggested as there is no other way around
this.

"sloan" <sl***@ipass.netwrote in message
news:O8**************@TK2MSFTNGP02.phx.gbl...
>
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-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
>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



Dec 14 '06 #3

P: n/a
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" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| 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-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >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
| >>
| >>
| >
| >
|
|
Dec 14 '06 #4

P: n/a
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" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| 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-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >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
| >>
| >>
| >
| >
|
|
Dec 14 '06 #5

P: n/a
Tee
Thanks for all the help guy, very much appreciated.

"Lance" <ls********@gmail.comwrote in message
news:11**********************@73g2000cwn.googlegro ups.com...
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" <kh**********@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
| Thanks for the reply
|
| Anyway i have to take one of the suggested as there is no other way
around
| this.
|
|
|
| "sloan" <sl***@ipass.netwrote in message
| news:O8**************@TK2MSFTNGP02.phx.gbl...
| >
| 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-" <kh**********@yahoo.comwrote in message
| news:u9*************@TK2MSFTNGP02.phx.gbl...
| >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
| >>
| >>
| >
| >
|
|

Dec 14 '06 #6

P: n/a
You can use the tools from RemoteSoft to do this: http://www.remotesoft.com/

They work just fine. We use them for a few different applications, and have
no trouble.

There's also:
https://thinstall.com/solutions/net_virtual.php
http://www.xenocode.com/

.... but in terms of "final install size", you're pretty much screwed. This
approach will give you a singe (big!) exe file. No "installation" required.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
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

Dec 14 '06 #7

P: n/a
Tee
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).

"Chris Mullins" <cm******@yahoo.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
You can use the tools from RemoteSoft to do this:
http://www.remotesoft.com/

They work just fine. We use them for a few different applications, and
have no trouble.

There's also:
https://thinstall.com/solutions/net_virtual.php
http://www.xenocode.com/

... but in terms of "final install size", you're pretty much screwed. This
approach will give you a singe (big!) exe file. No "installation"
required.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise
http://www.coversant.net/blogs/cmullins

"-xx-" <kh**********@yahoo.comwrote in message
news:u9*************@TK2MSFTNGP02.phx.gbl...
>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


Dec 18 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.